public interface POSTagger
| Modifier and Type | Method and Description |
|---|---|
List<String> |
tag(List<String> sentence)
Deprecated.
call
tag(String[]) instead |
String |
tag(String sentence)
Deprecated.
call
tag(String[]) instead use WhiteSpaceTokenizer.INSTANCE.tokenize
to obtain the String array. |
String[] |
tag(String[] sentence)
Assigns the sentence of tokens pos tags.
|
String[] |
tag(String[] sentence,
Object[] additionaContext) |
Sequence[] |
topKSequences(List<String> sentence)
Deprecated.
call
topKSequences(String[]) instead |
Sequence[] |
topKSequences(String[] sentence) |
Sequence[] |
topKSequences(String[] sentence,
Object[] additionaContext) |
@Deprecated List<String> tag(List<String> sentence)
tag(String[]) insteadsentence - The sentence of tokens to be tagged.String[] tag(String[] sentence)
sentence - The sentece of tokens to be tagged.@Deprecated String tag(String sentence)
tag(String[]) instead use WhiteSpaceTokenizer.INSTANCE.tokenize
to obtain the String array.sentence - The sentece of space-delimited tokens to be tagged.@Deprecated Sequence[] topKSequences(List<String> sentence)
topKSequences(String[]) insteadCopyright © 2015 The Apache Software Foundation. All rights reserved.