private RuleApplication generateApplications(LanguageInfo antecedent, int i, int j, List<WordInfo> rhsMatch, SubstitutableSyntacticRule rule) {
LanguageInfo consequent = new LanguageInfo();
consequent.addSpan(antecedent, 0, i);
consequent.addWordInfos(rhsMatch);
consequent.addSpan(antecedent, j, antecedent.numTokens());
RuleApplication application = new RuleApplication(antecedent, consequent, new ApplicationInfo(SYNT_SUBST, rule.toString()));
FeatureVector fv = new FeatureVector();
fv.add(SYNT_SUBST, rule.toString());
fv.add(SYNT_SUBST, "score" ,rule.count);
application.addFeatures(fv);
if(opts.verbose>0)