com.chenlb.mmseg4j.analysis.SimpleAnalyzer Maven / Gradle / Ivy
package com.chenlb.mmseg4j.analysis;
import java.io.File;
import com.chenlb.mmseg4j.Dictionary;
import com.chenlb.mmseg4j.Seg;
import com.chenlb.mmseg4j.SimpleSeg;
/**
* mmseg 的 simple anlayzer.
*
* @author chenlb 2009-3-16 下午10:08:13
*/
public class SimpleAnalyzer extends MMSegAnalyzer {
public SimpleAnalyzer() {
super();
}
public SimpleAnalyzer(String path) {
super(path);
}
public SimpleAnalyzer(Dictionary dic) {
super(dic);
}
public SimpleAnalyzer(File path) {
super(path);
}
protected Seg newSeg() {
return new SimpleSeg(dic);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy