comtravo / ctparse

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

Refactor StackElement #59

Closed gabrielelanaro closed 5 years ago

gabrielelanaro commented 5 years ago

The StackElement has been moved out of ctparse.ctparse module and has been renamed as PartialParse

Redundant methods have been removed. Supporting typing annotation have been added as a form of documentation.

Unit tests and docstrings have been revised

Work to separate the scorer will be included in one of the following PRs.

gabrielelanaro commented 5 years ago

Yes typing is still subject to change, I will setup mypy as part of the pipeline after the scoring has been refactored (in 2-3 PR)