示例#1
0
 private Semantic()
 {
     _dictionary         = new Hashtable();
     _semanticAttributes = new Hashtable();
     //LoadDictionary("Init\\Chinese Dictionary.txt");
     //LoadSemanticRank("Init\\SemanticAttribute.txt");
     segment = HMMSegment.GetInstance();
 }
示例#2
0
 /// <summary>
 /// 构造方法
 /// </summary>
 protected Invert()
 {
     Table      = new DimensionTable <TKey, TKey, TValue>();
     Participle = HMMSegment.GetInstance();
 }
示例#3
0
 private Semantic()
 {
     _dictionary = new Hashtable();
     _semanticAttributes = new Hashtable();
     //LoadDictionary("Init\\Chinese Dictionary.txt");
     //LoadSemanticRank("Init\\SemanticAttribute.txt");
     segment = HMMSegment.GetInstance();
 }