You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be an issue with the swear words filter overmatching. Words that I have found that are counted as swear words include: ("me", "and", "an")
Example: ExudeData.getInstance().getSwearWords("crap this is me and my friend");
The text was updated successfully, but these errors were encountered:
Discovered this is because the isValidWord method checks if the String of swear words contains the word passed in. So for example "as" will return as a swear word because it is contained in "asshole".
It seems to me the solution is to tokenize the string of bad words (ex. "...,asholes,ass,ass monkey,..." becomes [..., "asshole", "ass", "ass monkey", ...]), iterate over each one and check for equality.
@uttesh I'll make a fork, make this change, and open a pull request on it
There seems to be an issue with the swear words filter overmatching. Words that I have found that are counted as swear words include:
("me", "and", "an")
Example:
![image](https://cloud.githubusercontent.com/assets/6405534/23486558/b3a22fd0-fe95-11e6-96c8-244cbec45514.png)
ExudeData.getInstance().getSwearWords("crap this is me and my friend");
The text was updated successfully, but these errors were encountered: