public class LovinsStemmer extends java.lang.Object implements Stemmer, TechnicalInformationHandler
@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}
}
| Constructor and Description |
|---|
LovinsStemmer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing
detailed information about the technical background of this class,
e.g., paper reference or book this class is based on.
|
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 word)
Returns the stemmed version of the given word.
|
java.lang.String |
stemString(java.lang.String str)
Stems everything in the given string.
|
java.lang.String |
toString()
returns a string representation of the stemmer
|
public java.lang.String globalInfo()
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation in interface TechnicalInformationHandlerpublic java.lang.String stem(java.lang.String word)
public java.lang.String stemString(java.lang.String str)
str - the string to stempublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getRevision()
getRevision in interface RevisionHandlerpublic static void main(java.lang.String[] args)
args - the options