Search code examples
lucenelucene.netsynonymlemmatization

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


Solution

  • 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..