language_tool_python icon indicating copy to clipboard operation
language_tool_python copied to clipboard

How to ignore certain texts that are matched by my custom regular expressions?

Open jkyndir opened this issue 2 years ago • 1 comments

How to add custom words to dictionary? How to ignore certain texts that are matched by my custom regular expressions?

jkyndir avatar Aug 23 '22 03:08 jkyndir

I think you should follow the approach documented in the README under "Apply a custom list of matches with utils.correct". You can filter matches (which are essentially corrections) so that you don't spell-correct words from your custom dictionary. You can also ignore matches that correspond to your own regex.

jxmorris12 avatar Oct 04 '22 14:10 jxmorris12