Inflection (conjugation and declension) of the English Language.
Project description
Inflex
Natural Language Inflection in English
This README is a stub, and is yet to be written.
Install
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.4.tar.gz
(110.9 kB
view hashes)
Built Distribution
inflex-1.0.4-py2.py3-none-any.whl
(111.7 kB
view hashes)
Close
Hashes for inflex-1.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92db7b43f26c660af665aaa7f363804cadc910f4f011e4d5add0530a815be972 |
|
MD5 | 26fc60522985d7b9a8abeae9ae08c307 |
|
BLAKE2b-256 | 18cda48fba854a4b86038e7d6188462e649ef0815dd84fc9723698cf4a0e336d |