Example #1
0
        public TrieDR(UniGramFile unigrams, List <NgramFile> othersNgrams)
        {
            TrieCreator tc = new TrieCreator();

            tc.GetOptimizedTrie(unigrams, othersNgrams);
            trie = tc.Get();
        }
Example #2
0
        public TrieDR(List <NgramFile> files)
        {
            var creator = new TrieCreator();

            creator.Load(files);

            trie = creator.Get();
        }
Example #3
0
 public TrieDR(string binaryFilePath, string positionTriePath)
 {
     trie = TrieCreator.Load(binaryFilePath, positionTriePath);
 }