Lang libs 用于处理所需语法案例的单词?

Lang libs for words proccessing to required grammatical cases?

是否有任何库可以将输入的单词转换为所需的语法格(属格、主格等)和 plural/singular 形式?

基本上我对英语、德语、俄语感兴趣。

我知道有像 apache lucenelanguage-tool 这样的库,但它们似乎可以进行词干提取和词形还原,可以用于搜索和拼写检查,但不能用于文本转换。

我是 LanguageTool: it contains a lemmatizer and also the opposite, which we call a synthesizer: you can get from e.g. "walks" to its base form "walk" and then to all its form, e.g. the gerund "walking". Which form is needed is up to you to find out, though. The relevant code for English is at https://github.com/languagetool-org/languagetool/blob/master/languagetool-language-modules/en/src/main/java/org/languagetool/synthesis/en/EnglishSynthesizer.java 的作者,也支持俄语和德语。