|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Segmenter
If you want to have a segmenter be evaluated in SegTester
, you must
write a wrapper that implements this interface. It's easy.
Method Summary | |
---|---|
void |
initialize(String config_filename)
Do whatever initialize you need from this config file |
List[] |
segmentTexts(MyTextWrapper[] texts,
int[] num_segs)
segment a bunch of texts. |
void |
setDebug(boolean debug)
tells your d00d to set its debug flag |
Method Detail |
---|
void initialize(String config_filename)
config_filename
- the path to the config fileList[] segmentTexts(MyTextWrapper[] texts, int[] num_segs)
texts
- the array of textsnum_segs
- the number of segments per text
void setDebug(boolean debug)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |