Ejemplo n.º 1
0
 public LongLexTo(String input)
 {
     dict      = new Trie();
     indexList = new ArrayList();
     lineList  = new ArrayList();
     typeList  = new ArrayList();
     ptree     = new LongParseTree(dict, indexList, typeList);
 }
Ejemplo n.º 2
0
        /*******************************************************************/
        /********************** Constructor (default) **********************/
        /*******************************************************************/

        public LongLexTo()
        {
            dict      = new Tire();
            indexList = new ArrayList();
            lineList  = new ArrayList();
            typeList  = new ArrayList();
            ptree     = new LongParseTree(dict, indexList, typeList);
        }
Ejemplo n.º 3
0
 public LongLexTo(StreamReader input)
 {
     dict = new Trie();
     if (input != null)
     {
         AddDict(input);
     }
     indexList = new ArrayList();
     lineList  = new ArrayList();
     typeList  = new ArrayList();
     ptree     = new LongParseTree(dict, indexList, typeList);
 }