Skip to content

Okroshiashvili/inflectere

Repository files navigation

Work In Progress!!!

Inflectere

Inflectere - From Latin to English - "to bend, to shape, to form"

Inflectere is a small Python library to inflect words in English. Specifically, to convert a word from singular to plural, and vice versa.

Installation

pip install inflectere

Usage

from inflectere import Inflectere

inflect = Inflectere()

inflect.pluralize("cat")  # cats
inflect.singularize("cats")  # cat

Why Yet Another Inflector?

There are many inflectors out there, but I couldn't find one that was simple, easy to use, and had a small footprint.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

MIT

Changelog

See the CHANGELOG file.

Documentation

Inflectere documentation is built using Sphinx and is hosted on Read the Docs.

To build the documentation make sure you have the dependencies installed: from the root directory: pip install -r docs/requirements.txt.

Now you can build the docs using: sphinx-build -b html docs build

Credits

This library is inspired by the following libraries:

About

Pluralize or singularize any word

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages