This is a python wrapper for the multilingual temporal tagger HeidelTime.
For more information about this temporal tagger, please visit : https://github.com/HeidelTime/heideltime
Heideltime needs a Part Of Speech Tagger, by default it uses TreeTagger : http://www.cis.uni-muenchen.de/~schmid/tools/TreeTagger/. This repo includes TreeTagger scripts for Mac and Linux. Windows users will have to download the appropriate scripts from the TreeTagger home page.
:exclamation: Disclaimer: this repository is not maintained, you are free to use it and adapt it to your needs but you may not get support if needed.
git clone https://github.com/amineabdaoui/python-heideltime
pip install -r requirements.txt
import HeidelTime
hw = HeidelTime.HeidelTimeWrapper('english')
hw.parse('Neil Armstrong was born in 1930')
Pull requests
are welcome to improve this wrapper (which is in an early stage).