Uses of Class
org.languagetool.rules.bitext.BitextRule
-
Packages that use BitextRule Package Description org.languagetool.rules.bitext org.languagetool.rules.patterns.bitext org.languagetool.tools -
-
Uses of BitextRule in org.languagetool.rules.bitext
Subclasses of BitextRule in org.languagetool.rules.bitext Modifier and Type Class Description class
DifferentLengthRule
Checks if the translation has a really different length than the source (smaller than 30% or longer by 250%).class
DifferentPunctuationRule
Checks if the translation has the same ending punctuation as the source.class
SameTranslationRule
Checks if the translation for segments that have more than two words is different.Methods in org.languagetool.rules.bitext that return types with arguments of type BitextRule Modifier and Type Method Description static List<Class<? extends BitextRule>>
BitextRule. getRelevantRules()
-
Uses of BitextRule in org.languagetool.rules.patterns.bitext
Subclasses of BitextRule in org.languagetool.rules.patterns.bitext Modifier and Type Class Description class
BitextPatternRule
A bitext pattern rule class. -
Uses of BitextRule in org.languagetool.tools
Methods in org.languagetool.tools that return types with arguments of type BitextRule Modifier and Type Method Description static List<BitextRule>
Tools. getBitextRules(Language source, Language target)
Gets default bitext rules for a given pair of languagesstatic List<BitextRule>
Tools. getBitextRules(Language source, Language target, File externalBitextRuleFile)
Gets default bitext rules for a given pair of languagesstatic List<BitextRule>
Tools. selectBitextRules(List<BitextRule> bRules, List<String> disabledRules, List<String> enabledRules, boolean useEnabledOnly)
Enable and disable bitext rules.Method parameters in org.languagetool.tools with type arguments of type BitextRule Modifier and Type Method Description static List<RuleMatch>
Tools. checkBitext(String src, String trg, JLanguageTool srcLt, JLanguageTool trgLt, List<BitextRule> bRules)
Checks the bilingual input (bitext).static List<BitextRule>
Tools. selectBitextRules(List<BitextRule> bRules, List<String> disabledRules, List<String> enabledRules, boolean useEnabledOnly)
Enable and disable bitext rules.
-