Python-HeidelTime
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.
Demo
- Clone the current github repo:
git clone https://github.com/amineabdaoui/python-heideltime - Install its requirements:
pip install -r requirements.txt - Create a python file in the same directory with the following code:
import HeidelTime
hw = HeidelTime.HeidelTimeWrapper('english')
hw.parse('Neil Armstrong was born in 1930')
Future Work
- Encapsulate the returned tagged string in a python object
- Find a way to install the appropriate POS tagger files according to the user OS.
- Package all the necessary parts in the same python package and release it on PyPi.
Pull requests are welcome to improve this wrapper (which is in an early stage).
Metadata
Release files for python-heideltime-krypton 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-heideltime-krypton-0.0.2.tar.gz | 17.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_heideltime_krypton-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.1 MB
Release files / python-heideltime-krypton-0.0.2.tar.gz
| Download URL | python-heideltime-krypton-0.0.2.tar.gz |
|---|---|
| Size | 17.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a296fba42889c0a993f8e3ecc5ae7e327bc1f6196008510716c37c44d970738b
|
|
BLAKE2b-256 checksum How to use checksums |
b5a489eaa0d7aa905ea9337352f8440dd3dd3ace90ffc328fea8a1f9799603ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.7
|
Release files / python_heideltime_krypton-0.0.2-py3-none-any.whl
| Download URL | python_heideltime_krypton-0.0.2-py3-none-any.whl |
|---|---|
| Size | 17.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b21d26526b3bee98ee8b66b3a874fa6b009c8e11c3c2fd8cbfd595a8ba69e9fa
|
|
BLAKE2b-256 checksum How to use checksums |
8bdedce94a4da075b7604a3f60ac425e59bca9b3675830908dc8ea259f03d57d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.6.7
|