|
|||||||||
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)
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)
|
Method Detail |
---|
@Deprecated List<String> tag(List<String> sentence)
tag(String[])
instead
sentence
- The sentence of tokens to be tagged.
String[] tag(String[] sentence)
sentence
- The sentece of tokens to be tagged.
String[] tag(String[] sentence, Object[] additionaContext)
@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[])
instead
Sequence[] topKSequences(String[] sentence)
Sequence[] topKSequences(String[] sentence, Object[] additionaContext)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |