|
|||||||||
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 | |
---|---|
java.util.List<java.lang.String> |
tag(java.util.List<java.lang.String> sentence)
Deprecated. call tag(String[]) instead |
java.lang.String |
tag(java.lang.String sentence)
Deprecated. call tag(String[]) instead use WhiteSpaceTokenizer.INSTANCE.tokenize
to obtain the String array. |
java.lang.String[] |
tag(java.lang.String[] sentence)
Assigns the sentence of tokens pos tags. |
Sequence[] |
topKSequences(java.util.List<java.lang.String> sentence)
Deprecated. call topKSequences(String[]) instead |
Sequence[] |
topKSequences(java.lang.String[] sentence)
|
Method Detail |
---|
@Deprecated java.util.List<java.lang.String> tag(java.util.List<java.lang.String> sentence)
tag(String[])
instead
sentence
- The sentence of tokens to be tagged.
java.lang.String[] tag(java.lang.String[] sentence)
sentence
- The sentece of tokens to be tagged.
@Deprecated java.lang.String tag(java.lang.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(java.util.List<java.lang.String> sentence)
topKSequences(String[])
instead
Sequence[] topKSequences(java.lang.String[] sentence)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |