This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Lingua Nostra
Lingua_Nostra is chatterbox's natural language parser, it converts natural language into data structures, and data structures into natural language!
The main use case of lingua_nostra is handling dates and numbers
Latest version: 0.4.3
Supported Languages
TODO here will be a nice table comparing the state of language support
Usage
see the extensive unittests!
from lingua_nostra.format import nice_duration, nice_date, nice_date_time, \
nice_number, nice_time, pronounce_number
from lingua_nostra.parse import extract_datetime, extract_number, \
extract_numbers, extract_duration, normalize
pronounce_number(100034000000299792458, short_scale=False)
#"one hundred trillion, thirty four thousand billion, "
#"two hundred and ninety nine million, seven hundred and ninety "
#"two thousand, four hundred and fifty eight"
extract_numbers("1 dog, seven pigs, macdonald had a farm, "
"3 times 5 macarena")
# [1, 7, 3, 5]
Metadata
Release files for lingua-nostra 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lingua_nostra-0.4.5.tar.gz | 289.5 kB | Without provenance | Details for lingua_nostra-0.4.5.tar.gz |
Release files / lingua_nostra-0.4.5.tar.gz
| Download URL | lingua_nostra-0.4.5.tar.gz |
|---|---|
| Size | 289.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4732d923e87e0df0727064dcacc4515526abe7e4960fe9e77d65a8685dd5159
|
|
BLAKE2b-256 checksum How to use checksums |
d0bdea3048caabf5b663acc6b7c39918ef65bc20358e4c232a17102959d6ccca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Security for lingua-nostra 0.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.