|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Chunker
The interface for chunkers which provide chunk tags for a sequence of tokens.
| Method Summary | |
|---|---|
java.util.List |
chunk(java.util.List toks,
java.util.List tags)
Generates chunk tags for the given sequence returning the result in a list. |
java.lang.String[] |
chunk(java.lang.Object[] toks,
java.lang.String[] tags)
Generates chunk tags for the given sequence returning the result in an array. |
| Method Detail |
|---|
java.util.List chunk(java.util.List toks,
java.util.List tags)
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.Object[] 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||