{"id":15519823,"url":"https://github.com/tomaarsen/inflex","last_synced_at":"2025-04-23T04:29:12.912Z","repository":{"id":53041057,"uuid":"294235451","full_name":"tomaarsen/Inflex","owner":"tomaarsen","description":"Natural Language Inflection in English","archived":false,"fork":false,"pushed_at":"2022-01-10T15:12:57.000Z","size":5497,"stargazers_count":11,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T13:40:26.875Z","etag":null,"topics":["conjugation","convert","converter","declension","inflect","inflection","inflections","inflex","morphological-analysis","morphological-generation","nlp","python"],"latest_commit_sha":null,"homepage":"https://www.tomaarsen.com/projects/inflex/try","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomaarsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-09T21:38:06.000Z","updated_at":"2023-10-05T14:27:35.000Z","dependencies_parsed_at":"2022-09-08T02:37:25.543Z","dependency_job_id":null,"html_url":"https://github.com/tomaarsen/Inflex","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaarsen%2FInflex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaarsen%2FInflex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaarsen%2FInflex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaarsen%2FInflex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomaarsen","download_url":"https://codeload.github.com/tomaarsen/Inflex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250370724,"owners_count":21419457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conjugation","convert","converter","declension","inflect","inflection","inflections","inflex","morphological-analysis","morphological-generation","nlp","python"],"created_at":"2024-10-02T10:22:58.943Z","updated_at":"2025-04-23T04:29:12.686Z","avatar_url":"https://github.com/tomaarsen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inflex\nNatural Language Inflection in English\u003cbr\u003e\n(Formerly called Inflexion)\n\n## Overview\n\nThe Inflex module is a rule-based morphological analyser and generator. It allows for conversions of any noun, verb or adjective to a specific wordform such as singular, plural, past, past participle or present participle.\n\nInflex can be tried out and compared against competitors including ``nltk``, ``textblob``, ``pattern``, ``inflect``, ``inflection``, ``inflector``, ``lemminflect``, and ``pyinflect`` on https://www.tomaarsen.com/projects/inflex/try. Furthermore, the comparison of performance of all of these modules is visualised on https://www.tomaarsen.com/projects/inflex/performance, using several different datasets. These results show that Inflex outperforms all existing modules for noun conversions, and performs competitively for verbs. This website also contains the thesis out of which Inflex (formerly called Inflexion) was born.\n\nThe Inflex documentation can be found [here](https://tomaarsen.github.io/Inflex/), alongside a [Quick Reference](https://tomaarsen.github.io/Inflex/reference.html).\n\n## Sample Usage\nTo give a quick idea of this project, this is an example usage of Inflex:\n```python\nfrom inflex import Noun, Verb, Adjective\n\n# Converting Nouns\nNoun(\"book\").plural()   # Produces \"books\"\nNoun(\"book\").singular() # Produces \"book\"\n\n# Converting Verbs\nVerb(\"fly\").plural()    # Produces \"fly\"\nVerb(\"fly\").singular()  # Produces \"flies\"\nVerb(\"fly\").past()      # Produces \"flew\"\nVerb(\"fly\").pres_part() # Produces \"flying\"\nVerb(\"fly\").past_part() # Produces \"flown\"\n\n# Converting Adjectives\nAdjective(\"my\").singular()       # Produces \"my\"\nAdjective(\"our\").plural()        # Produces \"our\"\nAdjective(\"small\").comparative() # Produces \"smallest\"\nAdjective(\"small\").superlative() # Produces \"smaller\"\n```\n\n## Install\nInflex has no requirements, and has support for Python version 3.6 onwards.\u003cbr\u003e\nInstall it via:\n```\npip install inflex\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomaarsen%2Finflex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomaarsen%2Finflex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomaarsen%2Finflex/lists"}