Package joshua.decoder.ff.tm.hiero

Examples of joshua.decoder.ff.tm.hiero.MemoryBasedRuleBin


  }
 
  protected void insertRule(MemoryBasedTrie pos, MonolingualRule rule) {
    // add the rule into the trie node
    if (! pos.hasRules()) {
      pos.setRuleBin( new MemoryBasedRuleBin(rule.getArity(), rule.getFrench()) );
      this.qtyRuleBins++;
    }
   
    ((MemoryBasedRuleBin)pos.getRules()).addRule(rule);
  }
View Full Code Here

TOP

Related Classes of joshua.decoder.ff.tm.hiero.MemoryBasedRuleBin

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.