|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.mit.nlp.segmenter.wrappers.LCSegWrapper
public class LCSegWrapper
wraps the LCSeg segmenter
Constructor Summary | |
---|---|
LCSegWrapper()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LCSegWrapper()
Method Detail |
---|
public void initialize(String config_filename)
Segmenter
initialize
in interface Segmenter
config_filename
- the path to the config filepublic List[] segmentTexts(MyTextWrapper[] texts, int[] num_segs)
Segmenter
segmentTexts
in interface Segmenter
texts
- the array of textsnum_segs
- the number of segments per text
public void setDebug(boolean debug)
Segmenter
setDebug
in interface Segmenter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |