Class BitextPatternRule

java.lang.Object
org.languagetool.rules.Rule
org.languagetool.rules.bitext.BitextRule
org.languagetool.rules.patterns.bitext.BitextPatternRule

public class BitextPatternRule extends BitextRule
A bitext pattern rule class. A BitextPatternRule describes a language error and can test whether a given pre-analyzed pair of source and target text contains that error using the Rule.match(org.languagetool.AnalyzedSentence) method. It uses the syntax of XML files similar to normal PatternRules.