aboutsummaryrefslogtreecommitdiff
path: root/crates/cli/src/inflection.rs
Commit message (Collapse)AuthorAgeFilesLines
* words: add the -īs form for the accusative pluralMiquel Sabaté Solà2026-01-221-1/+5
| | | | | | | | | | For masculine/feminine 3rd declension words, it's usually taught that the accusative plural is done with -ēs. This is usually right, but in classical times i-stem 3rd declension words usually went for -īs for masculine/feminine in the accusative plural. Thus, consider it as well when inflecting these kinds of words by default. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* words: add the --tag flag to the ls commandMiquel Sabaté Solà2026-01-211-1/+1
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Ask for the inflection of nouns when practicingMiquel Sabaté Solà2026-01-151-49/+2
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Add the ability to sort cases via configurationMiquel Sabaté Solà2026-01-141-58/+75
| | | | | | | | | | | This means that it's no longer a matter of configuring it via the database, but much simpler. This should be more than enough. That being said, this is to be configured by hand so to not further complicate things. This is left to be done for the future, even if the default is basically what I use. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Fix style issues coming from recent mergeMiquel Sabaté Solà2026-01-131-35/+35
| | | | | | | | | I apparently merged the 'inflection' branch without checking the code style. This means that a lot of warnings are being raised by clippy and I'm unsure which commit did what. Since I'm lazy about this right now, let's bring all fixes in a single commit. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Various fixes on adjective inflectionMiquel Sabaté Solà2026-01-131-6/+58
| | | | | | | This includes providing tests and fixes for feminine adjectives with contracted roots, and feminine versions of "unus nauta" adjectives. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Add basic validation for verbs and pronounsMiquel Sabaté Solà2026-01-131-2/+2
| | | | Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Provide initial implementation for word inflectionMiquel Sabaté Solà2025-10-271-0/+284
Word inflection for nouns, adjectives has been added so it can be initially be used in commands like 'words show'. Word categories which have no inflections (e.g. adverbs, conjunctions, et al) are skipped. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>