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

Problems with separators / non-allowed characters #22

Open
jcbrockschmidt opened this issue Dec 1, 2020 · 0 comments
Open

Problems with separators / non-allowed characters #22

jcbrockschmidt opened this issue Dec 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@jcbrockschmidt
Copy link
Collaborator

Both issues I've encountered appear to be parser related:

  1. If a swear word is at the very end of a string and it's last character of a swear word has a non-allowed character before it, it will not be censored. So f_u_c_k won't be censored, but f_u_c_k_ and f_u_ck will be.
  2. If too many characters in a swear word have separators between them, the swear word won't be censored. This appears to happen when the number of separations exceeds MAX_NUMBER_COMBINATIONS. So w i l l i es_ will be censored but not w i l l i e s_ (underscore included to avoid issue described in 1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant