|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface Stemmer
Interface for stemmer. Two methods are defined:
stem(), which takes a single token in as a String and returns the
stemmed token as a String. initialize (), which takes a dictionary
path as a String loads it.
| Method Summary | |
|---|---|
void |
initialize(String dictionary)
Initialize the stemmer with a dictionary |
String |
stem(String token)
Take a single token in as a String, stem the token, and return the stemmed
token as a String. |
| Method Detail |
|---|
String stem(String token)
String, stem the token, and return the stemmed
token as a String.
token - the input token to stem
void initialize(String dictionary)
throws FileNotFoundException,
ParseException
FileNotFoundException
ParseException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||