iitb.CRF
Interface DataSequence
- public interface DataSequence
A basic training/test instance needs to support the DataSequence interface.
- Author:
- Sunita Sarawagi
Method Summary |
int |
length()
|
void |
set_y(int i,
int label)
|
java.lang.Object |
x(int i)
The type of x is never interpreted by the CRF package. |
int |
y(int i)
|
length
public int length()
y
public int y(int i)
x
public java.lang.Object x(int i)
- The type of x is never interpreted by the CRF package. This could be useful for your FeatureGenerator class
set_y
public void set_y(int i,
int label)
Submit a bug or feature.