ZedZip
ZedZip

Reputation: 6462

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?

Upvotes: 2

Views: 199

Answers (1)

Wake2Sleep
Wake2Sleep

Reputation: 216

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.

Upvotes: 1

Related Questions