comtravo / ctparse

Parse natural language time expressions in python
https://www.comtravo.com
MIT License
131 stars 23 forks source link

Fix/refine rules #39

Closed sebastianmika closed 6 years ago

sebastianmika commented 6 years ago

Merge separate rules for named months and and days into one rule. Else the model needs to learn each rule individually, which makes the corpus unnecessary complex.

Also added some samples in the corpus to improve the scoring for expressions like "MONTH DAY [EARLY/LATE] POD" and "MONTH DAY at HH"