comtravo / ctparse

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

Implemented misc training utilities #71

Closed gabrielelanaro closed 4 years ago

gabrielelanaro commented 4 years ago

In this PR:

1) fix for run_corpus bug 2) corpus.py format has been changed to please mypy type inference 3) implemented loading of "old" and "new" model files 4) Implemented function to create datasets based on triplets text, reference_time, gold parse 5) Implemented scripts/train_default_model.py for training default model