如何在 ElasticSearch 中匹配同一个英语动词的不同时态

How to match different tenses of the same english verb in ElasticSearch

有没有办法使用像 WordNet 这样的东西,而不只是同义词(wn_s.pl 文件)能够匹配动词的所有时态:"be"、"was" ,"is","will be" 等使用 ElasticSearch?词干分析器不适用于像 be 这样的不规则动词,但它可能适用于常规动词。

谢谢

找到答案并测试了!我必须安装基于英语 Lucene 形态学的弹性形态学插件:https://github.com/imotov/elasticsearch-analysis-morphology