lucaswerkmeister / tool-lexeme-forms

Wikidata tool to create lexemes with pre-populated forms (e. g. declensions or conjugations)
https://lexeme-forms.toolforge.org/
Other
11 stars 7 forks source link

Implementation of word forms generators #1

Closed Adrijaned closed 4 years ago

Adrijaned commented 5 years ago

Adds functionality to implement new lexeme generators, and implements basic czech adjective generator. Useful especially for languages with loads of lexeme forms, that however follow some general patterns that can be exploited for automatical generation. Works by asking for one or more word roots, and then combining them with prefixes/suffixes based on simple syntax. Passes generated forms to standard template for the language afterwards for manual verification by user and filling in any occasional irregularities (e.g. ~4 words in the example implementation that would require modifying standard word root because czech is an awesome language)

Adrijaned commented 5 years ago

Also, as of now, has to be accessed by url, there is no link from within the application. Url with demo impl is /generator/czech-adjective/

Adrijaned commented 5 years ago

Also, damn, uses fstrings, which are only up from python 3.6, while Travis is configured for 3.5. Won't fix until I get confirmation that this change is wanted though.