Package org.omegat.languagetools
Interface ILanguageToolBridge
-
- All Known Implementing Classes:
BaseLanguageToolBridge
,LanguageToolNativeBridge
,LanguageToolNetworkBridge
public interface ILanguageToolBridge
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyRuleFilters(java.util.Set<java.lang.String> disabledCategories, java.util.Set<java.lang.String> disabledRules, java.util.Set<java.lang.String> enabledRules)
Free resources before destructionjava.util.List<LanguageToolResult>
getCheckResults(java.lang.String sourceText, java.lang.String translationText)
Get marks for Entryvoid
stop()
Handle project or application closing
-
-
-
Method Detail
-
stop
void stop()
Handle project or application closing
-
applyRuleFilters
void applyRuleFilters(java.util.Set<java.lang.String> disabledCategories, java.util.Set<java.lang.String> disabledRules, java.util.Set<java.lang.String> enabledRules)
Free resources before destruction- Parameters:
disabledCategories
- Comma-separated list of disabled category IDsdisabledRules
- Comma-separated list of disabled rule IDsenabledRules
- Comma-separated list of enabled rule IDs
-
getCheckResults
java.util.List<LanguageToolResult> getCheckResults(java.lang.String sourceText, java.lang.String translationText)
Get marks for Entry- Parameters:
sourceText
-translationText
-- Returns:
- List of results
-
-