public interface Chunker
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
chunk(java.util.List<java.lang.String> toks,
java.util.List<java.lang.String> tags)
Deprecated.
please use
chunk(String[], String[]) instead. |
java.lang.String[] |
chunk(java.lang.String[] toks,
java.lang.String[] tags)
Generates chunk tags for the given sequence returning the result in an array.
|
Span[] |
chunkAsSpans(java.lang.String[] toks,
java.lang.String[] tags)
Generates tagged chunk spans for the given sequence returning the result in a span array.
|
Sequence[] |
topKSequences(java.util.List<java.lang.String> sentence,
java.util.List<java.lang.String> tags)
Deprecated.
please use
topKSequences(String[], String[]) instead. |
Sequence[] |
topKSequences(java.lang.String[] sentence,
java.lang.String[] tags)
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
|
Sequence[] |
topKSequences(java.lang.String[] sentence,
java.lang.String[] tags,
double minSequenceScore)
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
|
@Deprecated
java.util.List<java.lang.String> chunk(java.util.List<java.lang.String> toks,
java.util.List<java.lang.String> tags)
chunk(String[], String[]) instead.toks - a list of the tokens or words of the sequence.tags - a list of the pos tags of the sequence.java.lang.String[] chunk(java.lang.String[] toks,
java.lang.String[] tags)
toks - an array of the tokens or words of the sequence.tags - an array of the pos tags of the sequence.Span[] chunkAsSpans(java.lang.String[] toks, java.lang.String[] tags)
toks - an array of the tokens or words of the sequence.tags - an array of the pos tags of the sequence.@Deprecated Sequence[] topKSequences(java.util.List<java.lang.String> sentence, java.util.List<java.lang.String> tags)
topKSequences(String[], String[]) instead.sentence - The tokens of the sentence.tags - The pos-tags for the specified sentence.Sequence[] topKSequences(java.lang.String[] sentence, java.lang.String[] tags)
sentence - The tokens of the sentence.tags - The pos-tags for the specified sentence.Sequence[] topKSequences(java.lang.String[] sentence, java.lang.String[] tags, double minSequenceScore)
sentence - The tokens of the sentence.tags - The pos-tags for the specified sentence.minSequenceScore - A lower bound on the score of a returned sequence.Copyright © 2010 - 2020 Adobe. All Rights Reserved