Package joshua.discriminative.feature_related.feature_template

Examples of joshua.discriminative.feature_related.feature_template.MicroRuleFT


    }
     
    if(useMicroTMFeat){     
      int startOrder =2;//TODO
      int endOrder =2;//TODO     
      MicroRuleFT microRuleFeatureTemplate = new MicroRuleFT(useRuleIDName, startOrder, endOrder, wordMapFile);
      microRuleFeatureTemplate.setupTbl(rulesStringToIDTable, restrictedFeatureSet);     
          featTemplates.add(microRuleFeatureTemplate);
   
     
    if(useLMFeat==true){ 
      FeatureTemplate ft = new NgramFT(symbolTbl, useIntegerString, ngramStateID, baselineLMOrder, startNgramOrder, endNgramOrder);
View Full Code Here


   
    if(MRConfig.useSparseFeature){
     
      if(MRConfig.useMicroTMFeat){ 
        //FeatureTemplate ft = new TMFT(symbolTbl, useIntegerString, MRConfig.useRuleIDName);
        this.microRuleFeatureTemplate = new MicroRuleFT(MRConfig.useRuleIDName, MRConfig.startTargetNgramOrder, MRConfig.endTargetNgramOrder, MRConfig.wordMapFile);
        featTemplates.add(microRuleFeatureTemplate);
      }
     
      if(MRConfig.useTMFeat){
        FeatureTemplate ft = new TMFT(symbolTbl, useIntegerString, MRConfig.useRuleIDName);       
View Full Code Here

TOP

Related Classes of joshua.discriminative.feature_related.feature_template.MicroRuleFT

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.