public interface PartOfSpeechTagger
Modifier and Type | Method and Description |
---|---|
java.util.List<PartOfSpeechTag> |
parseSentence(java.lang.String sentence)
Parse the sentence, extracting the parts of speech for each term
|
void |
setModel(java.lang.String model)
Set the model for this tagger.
|
java.util.List<PartOfSpeechTag> parseSentence(java.lang.String sentence)
sentence
- the sentence. The terms are returned in their original
order. Punctuation may or may not be returned as separate
tags, depending on the implementation.void setModel(java.lang.String model)
model
- the model for this tagger