Uses of Class
org.languagetool.rules.bitext.BitextRule
Packages that use BitextRule
Package
Description
-
Uses of BitextRule in org.languagetool.rules.bitext
Subclasses of BitextRule in org.languagetool.rules.bitextModifier and TypeClassDescriptionclass
Checks if the translation has a really different length than the source (smaller than 30% or longer by 250%).class
Checks if the translation has the same ending punctuation as the source.class
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 BitextRuleModifier and TypeMethodDescriptionstatic List
<Class<? extends BitextRule>> BitextRule.getRelevantRules()
-
Uses of BitextRule in org.languagetool.rules.patterns.bitext
Subclasses of BitextRule in org.languagetool.rules.patterns.bitext -
Uses of BitextRule in org.languagetool.tools
Methods in org.languagetool.tools that return types with arguments of type BitextRuleModifier and TypeMethodDescriptionprivate static List
<BitextRule> Tools.getAllBuiltinBitextRules
(Language language, ResourceBundle messages) Use reflection to add bitext rules.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 BitextRuleModifier and TypeMethodDescriptionTools.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.