A parser for fuzzy dates
Project description
fuzzy_dates
A minimal parser for Fuzzy Dates
Usage
From the Command Line type:
python3 -m fuzzy_dates '21 juin - 9 juil'
Or using PrologScript:
./parser/main.pl '21 juin - 9 juil'
[date(2021,6,21),date(2021,7,9)]
[dm(explicit(french)),dm(explicit(french))]
Installation
Install with:
pip3 install fuzzy_dates
Uninstall with:
pip3 uninstall -y fuzzy_dates
Requirements ^^^^^^^^^^^^
Setup Requirements with:
./operations/setup-requirements.sh
Test
Test with:
pytest
Compatibility
Tested with SWI-Prolog version 8.2.4 on Ubuntu 20.04
Licence
MIT
Authors
fuzzy_dates was written by Open Engines<openengines@protonmail.com>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fuzzy_dates-0.2.19.tar.gz.
File metadata
- Download URL: fuzzy_dates-0.2.19.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee7e96e9d4c7192c45119eaf3066a290562e8b32e56d88161d2c8807861c79d6
|
|
| MD5 |
26d6d4962d9f22ca7ba51c45a6cc5de8
|
|
| BLAKE2b-256 |
20f729e5af7da3cf1242b2b34a96ba157bdff8d50e8b79f075e17e4ab0920c38
|
File details
Details for the file fuzzy_dates-0.2.19-py3-none-any.whl.
File metadata
- Download URL: fuzzy_dates-0.2.19-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a355ed87cd7cafa06fab27a8fd7a32e08defe1fb1fc2e2705b626ebf0cd5f743
|
|
| MD5 |
5ac2a379a8cb206831c2af34649034cb
|
|
| BLAKE2b-256 |
0a2dc6d82b7bae63ef57032edf6371079ba30a1eec415a2e7d3e2e6ee6818223
|