Yasir Laghari
Yasir Laghari

Reputation: 10744

Inflectional forms of verbs using DBsight lucene?

I know dbsight allows synonyms and stop words for searching but does this take care of inflectional forms of a verb too e.g. for 'swim' it should find swim, swims, swimming, swam, and swum

Link on DBSight Wiki : http://wiki.dbsight.com/index.php?title=User_dictionary

Upvotes: 1

Views: 668

Answers (2)

Yasir Laghari
Yasir Laghari

Reputation: 10744

Lucene comes with a stemmer called "Lucene SnowBall stemmer' (http://lucene.apache.org/java/2_4_0/api/contrib-snowball/index.html). Turns out that DBsight is exposing it as analyzers named SnowBall - [Language] e.g SnowBall - English, SnowBall - French etc..

Upvotes: 0

Yuval F
Yuval F

Reputation: 20621

The behavior you are looking for can be implemented using lemmatization. I am unaware of an existing Lucene analyzer that does this. Basis Tech's Lucene package does lemmatization, but is not free, and I do not know whether it works with dbsight.

Upvotes: 1

Related Questions