|
|||||||||
| 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(String[] args)
Reads, stems, and prints the trees in the file. |
TreeReader |
newTreeReader(Reader in)
Create a new TreeReader using the provided
Reader. |
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 TreeReader newTreeReader(Reader in)
TreeReaderFactoryTreeReader using the provided
Reader.
newTreeReader in interface TreeReaderFactoryin - The Reader to build on
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||