: Can you please share the Java code for Plural Only Porter Stemmer for English 
if you don't mind?

The Porter stemmer algorithm, by definition, does more then just stip 
plurals.

If you are interested in a lighter weight stemmer for english, this is 
exactly what the EnglishMinimalStemFilterFactory is for...

https://lucene.apache.org/core/4_8_0/analyzers-common/org/apache/lucene/analysis/en/EnglishMinimalStemFilterFactory.html

Although you may also be interested in combining it with the 
EnglishPossessiveFilterFactory...

https://lucene.apache.org/core/4_8_0/analyzers-common/org/apache/lucene/analysis/en/EnglishPossessiveFilterFactory.html



-Hoss
http://www.lucidworks.com/

Reply via email to