开发者

How to search a string for different tenses?

I can use Stemmers, Filters etc. No problem.

But what about this case, for 开发者_如何学编程example the source text contains the phrase:

The fox made a jump.

User has entered: fox AND make Results = 0;

The question is how to process irregular forms of words?


There aren't that many irregular verbs. Get a list of the most common ones like here and use it to do a find/replace in your query string to replace "make" with ("make" OR "made") before submitting.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜