Package org.fnlp.train.pos

Examples of org.fnlp.train.pos.POSTrain


  public static void main(String[] args) throws Exception {   
    bw = new PrintWriter(new OutputStreamWriter(new FileOutputStream(outputPath,true), "utf8"));   
   

    POSTrain pos;
   
   
    pos = new POSTrain();
    pos.model = model;
    pos.train = trainfile;
    pos.templateFile = templates;
    pos.iterNum = 50;
    pos.c = 0.01f;
    pos.train();   
   

    eval(pos);   
   
    /////////////////////////////////////////
View Full Code Here

TOP

Related Classes of org.fnlp.train.pos.POSTrain

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.