Code Monkey home page Code Monkey logo

timeperiod-nlp's Introduction

TimePeriod-NLP

#中文语句中的时间段语义识别

本工具是由复旦NLP中的时间分析功能和Time-NLP修改而来

###update log 2019/6/13

修复年份变为明年的bug,更新结束时间的规则为:

  1. 如果结束时间的精度为年或者月,并且精度比开始时间粗(19年3月到19年, 6月3日到6月, )就认为两者时间顺序没有错误
  2. 结束时间精度为年,月的话,默认设置为年末,月末
  3. 如果结束时间精度为年,月,并且是当前年份甚至本月,则设置结束时间为今天。 例如:
  • 3月到6月,设置为2019.3.1-2019.6.13
  • 2018到2019年, 设置为2018.1.1-2019.6.13
  • 3月到7月这种不受影响,仍为2019.3.1-2019.7.31

timeperiod-nlp's People

Contributors

alberttiny avatar blackcatxj avatar challenging6 avatar xiongyifan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.