Hi - if you don't want specific words passed through a stemmer, you need to 
supply a CharArraySet with exclusions as the second argument to its constructor.
Markus

-----Original message-----
> From:Dwaipayan Roy <[email protected]>
> Sent: Monday 14th March 2016 15:31
> To: [email protected]
> Subject: Problem with porter stemming
> 
> ​I am using EnglishAnalyzer with my own stopword list. EnglishAnalyzer uses
> the porter stemmer (snowball) to stem the words. But using the
> EnglishAnalyzer, I am getting erroneous result for 'news'. 'news' is
> getting stemmed into 'new'.
> 
> Any help would be appreciated.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to