|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.stemmers.LovinsStemmer
weka.core.stemmers.IteratedLovinsStemmer
public class IteratedLovinsStemmer
An iterated version of the Lovins stemmer. It stems the word (in case it's longer than 2 characters) until it no further changes.
For more information about the Lovins stemmer see:
Julie Beth Lovins (1968). Development of a stemming algorithm. Mechanical Translation and Computational Linguistics. 11:22-31.
@article{Lovins1968,
author = {Julie Beth Lovins},
journal = {Mechanical Translation and Computational Linguistics},
pages = {22-31},
title = {Development of a stemming algorithm},
volume = {11},
year = {1968}
}
LovinsStemmer,
Serialized Form| Constructor Summary | |
|---|---|
IteratedLovinsStemmer()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getRevision()
Returns the revision string. |
java.lang.String |
globalInfo()
Returns a string describing the stemmer |
static void |
main(java.lang.String[] args)
Runs the stemmer with the given options |
java.lang.String |
stem(java.lang.String str)
Iterated stemming of the given word. |
| Methods inherited from class weka.core.stemmers.LovinsStemmer |
|---|
getTechnicalInformation, stemString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IteratedLovinsStemmer()
| Method Detail |
|---|
public java.lang.String globalInfo()
globalInfo in class LovinsStemmerpublic java.lang.String stem(java.lang.String str)
stem in interface Stemmerstem in class LovinsStemmerstr - the word to stem
public java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class LovinsStemmerpublic static void main(java.lang.String[] args)
args - the options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||