Beispiel #1
0
 public word(string s_word, double p_count, double xcnt, trie tr)
 {
     m_word            = s_word;
     count             = p_count;
     xCount            = xcnt;
     Trie              = tr;
     TravelProbability = double.NegativeInfinity;
 }
Beispiel #2
0
 static public word NewLoad(BinaryReader br, trie tr)
 {
     return((new word(tr)).Load(br));
 }
Beispiel #3
0
 public word(trie tr)
 {
     Trie = tr;
 }
Beispiel #4
0
 public word(int index, trie tr)
 {
     m_index = index;
     Trie    = tr;
 }
Beispiel #5
0
 static trie()
 {
     //him = new int[10];
     TRIE = new trie();
 }