com.xpn.xwiki.plugin.autotag
Class FrenchStemmer
java.lang.Object
com.xpn.xwiki.plugin.autotag.FrenchStemmer
public class FrenchStemmer
- extends Object
A stemmer for French words. The algorithm is based on the work of Dr Martin Porter on his snowball project
refer to http://snowball.sourceforge.net/french/stemmer.html
(French stemming algorithm) for details
- Version:
- $Id: 43711ae634469c5964aa9f24b5a78cd944bf078b $
- Author:
- Patrick Talbot
Method Summary |
String |
stem(String term)
Stemms the given term to a unique discriminator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FrenchStemmer
public FrenchStemmer()
stem
public String stem(String term)
- Stemms the given term to a unique discriminator.
- Parameters:
term
- java.langString The term that should be stemmed
- Returns:
- java.lang.String Discriminator for term
Copyright © 2004-2013 XWiki. All Rights Reserved.