comtravo / ctparse

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

Feature/filter rules #37

Closed sebastianmika closed 6 years ago

sebastianmika commented 6 years ago

Before starting to apply rules, reduce rule set to those rules that can at all be applicable. For all rules that contain regular expressions, each regular expressions must appear in the right order in the initial parse (i.e. StackElement) and there must be at least one element in the stack for each intermediate property based element in the rule.