|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.trees.WordStemmer
public class WordStemmer
Stems the Words in a Tree using Morphology.
| Constructor Summary | |
|---|---|
WordStemmer()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Reads, stems, and prints the trees in the file. |
void |
visitTree(Tree t)
Does whatever one needs to do to a particular parse tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WordStemmer()
| Method Detail |
|---|
public void visitTree(Tree t)
TreeVisitor
visitTree in interface TreeVisitort - A tree. Classes implementing this interface can assume
that the tree passed in is not null.public static void main(java.lang.String[] args)
args - Usage: WordStemmer file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||