Package org.fnlp.nlp.pipe.seq.templet

Examples of org.fnlp.nlp.pipe.seq.templet.CharClassTemplet


    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}));

    if (cl != null)
      factory = cl.getAlphabetFactory();
    else
      factory = AlphabetFactory.buildFactory();
View Full Code Here

TOP

Related Classes of org.fnlp.nlp.pipe.seq.templet.CharClassTemplet

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.