|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.whatswrong.io.CoNLL2002
public class CoNLL2002
Loads CoNLL 2002 NER data.
Field Summary | |
---|---|
static java.lang.String |
name
The name of this processor. |
Constructor Summary | |
---|---|
CoNLL2002()
|
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"). |
java.lang.String |
toString()
Returns the name of this processor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String name
Constructor Detail |
---|
public CoNLL2002()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public NLPInstance create(java.util.List<? extends java.util.List<java.lang.String>> rows)
TabProcessor
create
in interface TabProcessor
rows
- the rows that represent the column separated values in Tab format files.
TabProcessor.create(List extends List>)
public NLPInstance createOpen(java.util.List<? extends java.util.List<java.lang.String>> rows)
TabProcessor
createOpen
in interface TabProcessor
rows
- the rows that represent the column separated values in Tab format files.
TabProcessor.createOpen(List extends List>)
public boolean supportsOpen()
TabProcessor
supportsOpen
in interface TabProcessor
TabProcessor.supportsOpen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |