public class APartsOfSpeechFactory
extends java.lang.Object
Constructor and Description |
---|
APartsOfSpeechFactory() |
Modifier and Type | Method and Description |
---|---|
APartsOfSpeech |
make(java.util.List<Token> tokens)
Make part-of-speech from Stanford parse tree
|
APartsOfSpeech |
make(edu.stanford.nlp.trees.Tree tree)
Deprecated.
|
@Deprecated public APartsOfSpeech make(edu.stanford.nlp.trees.Tree tree)
tree
- Stanford parse treepublic APartsOfSpeech make(java.util.List<Token> tokens)
tokens
- Stanford list of tokens