// templets.add(new DictionaryTemplet(d, gid++, -1, 0));
// templets.add(new DictionaryTemplet(d, gid++, 0, 1));
// templets.add(new DictionaryTemplet(d, gid++, -1,0, 1));
// templets.add(new DictionaryTemplet(d, gid++, -2,-1,0, 1));
templets.add(new CharInStringTemplet(templets.gid++,-1,1));
templets.add(new CharInStringTemplet(templets.gid++,0,1));
templets.add(new CharInStringTemplet(templets.gid++,-2,2));
templets.add(new StringTypeTemplet(templets.gid++));
CharClassDictionary dsurname = new CharClassDictionary();
dsurname.load("../data/knowledge/百家姓.txt", "姓");
templets.add(new CharClassTemplet(templets.gid++, new CharClassDictionary[]{dsurname}));