Package joshua.discriminative.feature_related.feature_function

Examples of joshua.discriminative.feature_related.feature_function.BLEUOracleModel


          for(int i=0; i< referenceFiles.length; i++)
            referenceFiles[i] =  fds[i+1].trim();     
          double weight = Double.parseDouble(fds[fds.length-1].trim());
         
          this.featureFunctions.add(
            new BLEUOracleModel(JoshuaConfiguration.ngramStateID, JoshuaConfiguration.lmOrder,
                this.featureFunctions.size(), this.symbolTable, weight, referenceFiles, JoshuaConfiguration.linearCorpusGainThetas));
          if (logger.isLoggable(Level.FINEST))
            logger.finest(String.format(
              "Line: %s\nAdd BLEUOracleModel, order: %d; weight: %.3f;",
              line, JoshuaConfiguration.lmOrder, weight));
View Full Code Here

TOP

Related Classes of joshua.discriminative.feature_related.feature_function.BLEUOracleModel

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.