* @since 1.0.1
*/
public static List<RuleMatch> checkBitext(final String src, final String trg,
final JLanguageTool srcLt, final JLanguageTool trgLt,
final List<BitextRule> bRules) throws IOException {
final AnalyzedSentence srcText = srcLt.getAnalyzedSentence(src);
final AnalyzedSentence trgText = trgLt.getAnalyzedSentence(trg);
final List<RuleMatch> ruleMatches = trgLt.checkAnalyzedSentence(JLanguageTool.ParagraphHandling.NORMAL,
trgLt.getAllRules(), 0, 0, 1, trg, trgText);
for (BitextRule bRule : bRules) {
final RuleMatch[] curMatch = bRule.match(srcText, trgText);
if (curMatch != null) {