Package joshua.decoder.ff.lm

Examples of joshua.decoder.ff.lm.LanguageModelFF


          if (null == this.languageModel) {
            throw new IllegalArgumentException("LM model has not been properly initialized before setting order and weight");
          }
          double weight = Double.parseDouble(fds[1].trim());
          this.featureFunctions.add(
            new LanguageModelFF(
              JoshuaConfiguration.ngramStateID, 
              this.featureFunctions.size(),
              JoshuaConfiguration.lmOrder,
              this.symbolTable, this.languageModel, weight));
          if (logger.isLoggable(Level.FINEST))
View Full Code Here

TOP

Related Classes of joshua.decoder.ff.lm.LanguageModelFF

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.