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 destruction
      java.util.List<LanguageToolResult> getCheckResults​(java.lang.String sourceText, java.lang.String translationText)
      Get marks for Entry
      void 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 IDs
        disabledRules - Comma-separated list of disabled rule IDs
        enabledRules - 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