private ThreadLocal<MMSegTokenizer> tokenizerLocal = new ThreadLocal<MMSegTokenizer>();
// protected dic for test
protected Dictionary dic = null;
private Seg newSeg(Map<String, String> args) {
Seg seg = null;
log.info("create new Seg ...");
//default max-word
String mode = args.get("mode");
if("simple".equals(mode)) {
log.info("use simple mode");