Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jkyndir opened this issue Aug 23, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@jkyndir
Copy link

jkyndir commented Aug 23, 2022

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

@jxmorris12 jxmorris12 added the question Further information is requested label Aug 23, 2022
@jxmorris12 jxmorris12 added the documentation Improvements or additions to documentation label Oct 4, 2022
@jxmorris12
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants