|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabProcessor
A TabProcessor takes a table of string values and returns an NLPInstance. This table of string value corresponds to the standard way of representing sentences in the CoNLL shared tasks as well as the MALT-Tab format for dependencies.
Method Summary | |
---|---|
NLPInstance |
create(java.util.List<? extends java.util.List<java.lang.String>> rows)
Create an NLPInstance from the given table (list of rows) of strings. |
NLPInstance |
createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
Create an NLPInstance from the given table (list of rows) of strings, assuming that the passed rows are from the open dataset. |
boolean |
supportsOpen()
Does this processor support loading of open datasets (as in "CoNLL Open Track"). |
Method Detail |
---|
NLPInstance create(java.util.List<? extends java.util.List<java.lang.String>> rows)
rows
- the rows that represent the column separated values in Tab format files.
NLPInstance createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
rows
- the rows that represent the column separated values in Tab format files.
boolean supportsOpen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |