Closed fabrichter closed 1 week ago
The pull request introduces modifications to the TextChecker
class within the LanguageTool server. Key updates include enhancements to the handling of disabled rules and categories, adjustments to the checkText
method for improved logic flow, and refinements in error handling related to user limits and request parameters. Additionally, the QueryParams
class has been updated to support lists for enabled and disabled categories. These changes collectively improve the control over rule application and validation processes during text checks.
File Path | Change Summary |
---|---|
languagetool-server/src/main/java/org/languagetool/server/TextChecker.java | - Updated checkText method to better handle disabled rules and categories.- Modified QueryParams class to include lists for enabled and disabled categories.- Enhanced error handling for user limits and request parameters. - Improved logging for better insights during execution. - Updated method signatures for getDisabledRuleIds and getCategoryIds . |
TextChecker
class regarding the management of rules and user-specific conditions for A/B testing are closely related to the modifications made in the main PR, particularly in how rules are handled based on user parameters and the useEnabledOnly
flag.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
useEnabledOnly
flag to ensure proper rule application.Documentation
QueryParams
to reflect new parameters for enabled and disabled categories.