Package edu.umd.hooka.alignment.model1

Examples of edu.umd.hooka.alignment.model1.Model1_InitUniform


                        OutputCollector<IntWritable,Text> output,
                        Reporter reporter) throws IOException {
      if (m1 == null) {
        Path pathTTable = new Path(ttable);
        TTable tt = loadTTable(pathTTable);
        m1 = new Model1(tt, true);
      }
      cr.reset();
      Alignment a = m1.viterbiAlign(value, cr);
      out.set(a.toString());
      output.collect(key, out);
View Full Code Here


          ttable = new PServerClient(pserveHost, pservePort);
        else
          ttable = new TTable_monolithic_IFAs(
              ttfs, ltp, true);

        trainer = new Model1(ttable, useNullWord);
      } else if (trainerType.equals(HMM_TRAINER)) {
        if (usePServer)
          ttable = new PServerClient(pserveHost, pservePort);
        else
          ttable = new TTable_monolithic_IFAs(
View Full Code Here

      int pservePort =5444;
      if (sp != null)
        pservePort = Integer.parseInt(sp);
      useNullWord = job.includeNullWord();
      if (trainerType.equals(MODEL1_UNIFORM_INIT)) {
        trainer = new Model1_InitUniform(useNullWord);
      } else if (trainerType.equals(MODEL1_TRAINER)) {
        if (usePServer)
          ttable = new PServerClient(pserveHost, pservePort);
        else
          ttable = new TTable_monolithic_IFAs(
View Full Code Here

TOP

Related Classes of edu.umd.hooka.alignment.model1.Model1_InitUniform

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.