Skip to main content

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.3.tar.gz (110.2 kB view details)

Uploaded Source

Built Distribution

inflex-1.0.3-py2.py3-none-any.whl (110.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file inflex-1.0.3.tar.gz.

File metadata

  • Download URL: inflex-1.0.3.tar.gz
  • Upload date:
  • Size: 110.2 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

Hashes for inflex-1.0.3.tar.gz
Algorithm Hash digest
SHA256 6f21170281b8ce520349dac62873cf4612f6d7ce135bffa61a24269a62ba5868
MD5 dcaf68584e17bccca5ae36e2a17f0b5b
BLAKE2b-256 ce8ef1523775ed6faf48e4814e2e12d12d333d62ac9bf482393affc6547662a2

See more details on using hashes here.

File details

Details for the file inflex-1.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: inflex-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 110.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

Hashes for inflex-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dca95077d108b6742a63ddce03e7f26ba5566ce22e748211db6deeb814b8dd9a
MD5 0e1390f55a64b3dbf78f756c180f105b
BLAKE2b-256 ee3ab054af9e98aafd8c1a1801d5570c12cc4e327319113ada9a30ef0fc83351

See more details on using hashes here.

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