public class LovinsStemmer extends 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 |
---|---|
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.
|
String |
globalInfo()
Returns a string describing the stemmer
|
static void |
main(String[] args)
Runs the stemmer with the given options
|
String |
stem(String word)
Returns the stemmed version of the given word.
|
String |
stemString(String str)
Stems everything in the given string.
|
String |
toString()
returns a string representation of the stemmer
|
public String globalInfo()
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
public String stem(String word)
public String stemString(String str)
str
- the string to stempublic String toString()
public String getRevision()
getRevision
in interface RevisionHandler
public static void main(String[] args)
args
- the optionsCopyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.