49505152535455
super(); this.dic = dic; } protected Seg newSeg() { return new MaxWordSeg(dic); }
353637383940414243
} else if("complex".equals(mode)) { log.info("use complex mode"); seg = new ComplexSeg(dic); } else { log.info("use max-word mode"); seg = new MaxWordSeg(dic); } return seg; }
11121314151617
super(path); } protected Seg getSeg() { return new MaxWordSeg(dic); }
29303132333435
public MaxWordAnalyzer(File path) { super(path); } protected Seg newSeg() { return new MaxWordSeg(dic); }
47484950515253
404142434445464748
363738394041424344
78910111213
public class MaxWord extends Complex { protected Seg getSeg() { return new MaxWordSeg(dic); }