lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject RE: Problem with porter stemming
Date Mon, 14 Mar 2016 14:46:06 GMT
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 <dwaipayan.roy@gmail.com>
> Sent: Monday 14th March 2016 15:31
> To: java-user@lucene.apache.org
> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message