Inflection (conjugation and declension) of the English Language.
Project description
Inflex
Natural Language Inflection in English
(Formerly called Inflexion)
This README is a stub, and is yet to be written.
Install
Inflex has no requirements, and has support for Python version 3.6 onwards.
Install it via:
pip install inflex
Sample Usage
from inflex import Noun, Verb, Adjective
# Converting Nouns
Noun("book").plural() # Produces "books"
Noun("book").singular() # Produces "book"
# Converting Verbs
Verb("fly").plural() # Produces "fly"
Verb("fly").singular() # Produces "flies"
Verb("fly").past() # Produces "flew"
Verb("fly").pres_part() # Produces "flying"
Verb("fly").past_part() # Produces "flown"
# Converting Adjectives
Adjective("my").singular() # Produces "my"
Adjective("our").plural() # Produces "our"
Adjective("small").comparative() # Produces "smallest"
Adjective("small").superlative() # Produces "smaller"
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
inflex-1.0.6.tar.gz
(569.9 kB
view details)
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
inflex-1.0.6-py2.py3-none-any.whl
(591.8 kB
view details)
File details
Details for the file inflex-1.0.6.tar.gz.
File metadata
- Download URL: inflex-1.0.6.tar.gz
- Upload date:
- Size: 569.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f4a4786c53dd9a06ae9851c689d7d9e5bfcf037c284a035d03c7428980e6a0c
|
|
| MD5 |
a77b31a00586b4bc2f893e2f5817a29d
|
|
| BLAKE2b-256 |
d9177c39cb63b1e443c974b905777a66938e426be6ed038138d04e86c993009a
|
File details
Details for the file inflex-1.0.6-py2.py3-none-any.whl.
File metadata
- Download URL: inflex-1.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 591.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3fe30ba6c68bff6edd0ddfe08a9bc48e70f74f0748157cc4ba1979a68681e22
|
|
| MD5 |
7af6181ac4253265bca19735720d046f
|
|
| BLAKE2b-256 |
cee0a5e963d3f339ce60c5bac27e75963200859f6105edf688e531238b6936b5
|