> If i analyse this field type in analysis.jsp, the follwoing > are the results > if i give "running" its stems word to run which is fine > If i give "machine" why is that it stems to "machin", now > from where does > this word come from > If i give "revolutionary" it stems to "revolutionari", i > thought it should > stem to revolution.
Stemmers used in Information Retrieval are not for human consumption. Reducing revolutionary to revolutionari do not change the fact that query revolutionary will return documents containing revolutionary. > How does stemming work? > Does it reduces adverb to verb etc..., or we have to > customize it. Stemmers aim to remove inflectional suffixes from words. Snowball stemmers are rule based stemmers. Rules and endings are defined. e.g. if ending s remove it. apples -> apple It will be difficult to customize existing snowball stemmers, i guess. If you are looking for a less aggressive stemmer then you can use KStem.