618619620621622623624625
if (rule.isParagraphBackTrack()) { rule.addRuleMatch(thisMatch); } } } final RuleMatchFilter filter = new SameRuleGroupFilter(); return filter.filter(sentenceMatches); }
138139140141142143144145146
ruleMatches.add(ruleMatch); } } i++; } RuleMatchFilter maxFilter = new RuleWithMaxFilter(); List<RuleMatch> filteredMatches = maxFilter.filter(ruleMatches); return filteredMatches.toArray(new RuleMatch[filteredMatches.size()]); }