: > can I get the similar wordlist as output. so that I can show the end
: > user in the column --- do you mean "foam"?
: > How can I get similar word list in the given content?
This is a non trivial problem, because the definition of "similar" is
subject to interpretation.
Lucene does support stemming, but that is not what your example requires
(stemming equates "roaming", "roam", "roamed", etc.). For stemming,
look at PorterStemFilter or better, the Snowball stemmers in the
sandbox. For your similar word list, I think you are looking for the
class FuzzyTermEnum.