Package joshua.decoder.ff.lm.bloomfilter_lm

Examples of joshua.decoder.ff.lm.bloomfilter_lm.BloomFilterLanguageModel


    } else if (JoshuaConfiguration.use_bloomfilter_lm) {
      if (JoshuaConfiguration.use_left_equivalent_state
      || JoshuaConfiguration.use_right_equivalent_state) {
        throw new IllegalArgumentException("using Bloomfilter LM, we cannot use suffix/prefix stuff");
      }
      this.languageModel = new BloomFilterLanguageModel(
          this.symbolTable,
          JoshuaConfiguration.lmOrder,
          JoshuaConfiguration.lm_file);
    } else if (JoshuaConfiguration.use_trie_lm) {
      if (JoshuaConfiguration.use_left_equivalent_state
View Full Code Here

TOP

Related Classes of joshua.decoder.ff.lm.bloomfilter_lm.BloomFilterLanguageModel

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.