|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface POSTagger
The interface for part of speech taggers.
Method Summary | |
---|---|
List<String> |
tag(List<String> sentence)
Assigns the sentence of tokens pos tags. |
String |
tag(String sentence)
Assigns the sentence of space-delimied tokens pos tags. |
String[] |
tag(String[] sentence)
Assigns the sentence of tokens pos tags. |
Sequence[] |
topKSequences(List<String> sentence)
|
Sequence[] |
topKSequences(String[] sentence)
|
Method Detail |
---|
List<String> tag(List<String> sentence)
sentence
- The sentece of tokens to be tagged.
String[] tag(String[] sentence)
sentence
- The sentece of tokens to be tagged.
String tag(String sentence)
sentence
- The sentece of space-delimited tokens to be tagged.
Sequence[] topKSequences(List<String> sentence)
Sequence[] topKSequences(String[] sentence)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |