Skip to content

Implementation of the PorterStemmer algorithm uploaded to Maven

Notifications You must be signed in to change notification settings

hamzamemon/PorterStemmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PorterStemmer

Implementation of the Porter Stemmer algorithm in Java, which is outlined here.

The algorithm retrieves the stem of the word and provides a cleaner system as similar words (i.e. generous and generosity) are very similar so queries results will be handled accordingly.

To use the implementation of the Porter Stemmer algorithm

  1. Add the dependency to your pom.xml:
<dependency>
  <groupId>io.github.hamzamemon</groupId>
  <artifactId>porterstemmer</artifactId>
  <version>1.0.4</version>
</dependency>
  1. Stem your word: String stemmed = PorterStemmer.stem(word);

About

Implementation of the PorterStemmer algorithm uploaded to Maven

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages