Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fuzzy_dates-0.2.19.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

fuzzy_dates-0.2.19-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page