Package joshua.decoder.ff

Examples of joshua.decoder.ff.SourcePathFF


              line, JoshuaConfiguration.lmOrder, weight));
         
        } else if ("latticecost".equals(fds[0]) && fds.length == 2) {
          double weight = Double.parseDouble(fds[1].trim());
          this.featureFunctions.add(
            new SourcePathFF(
              this.featureFunctions.size(), weight));
          if (logger.isLoggable(Level.FINEST))
            logger.finest(String.format(
              "Line: %s\nAdd Source lattice cost, weight: %.3f",
              line, weight));
View Full Code Here

TOP

Related Classes of joshua.decoder.ff.SourcePathFF

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.