edu.mit.nlp.segmenter.dp
Class I2JInterface
java.lang.Object
edu.mit.nlp.segmenter.dp.I2JInterface
public class I2JInterface
- extends Object
class for converting between my segmenter's data structures, and those from Igor's MinCutSeg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
I2JInterface
public I2JInterface()
makeDPDoc
public static DPDocument makeDPDoc(TextWrapper textwrapper)
getTrueSegs
public static int[] getTrueSegs(TextWrapper textwrapper)
makeIgorList
public static List makeIgorList(int[] boundaries,
TextWrapper text,
boolean windows)
makeListFormattedResponse
public static List makeListFormattedResponse(int[] segids)
Copyright © 2008 MIT. All Rights Reserved.