Last active
August 29, 2015 14:27
-
-
Save halfak/681dd5a51630c0d416df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python | |
Python 3.4.0 (default, Apr 11 2014, 13:05:11) | |
[GCC 4.8.2] on linux | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from revscoring.languages import english | |
>>> english.is_badword("foobar") | |
False | |
>>> english.is_badword("shitty") | |
True | |
Python 3.4.0 (default, Apr 11 2014, 13:05:11) | |
[GCC 4.8.2] on linux | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from revscoring.languages import portuguese | |
>>> portuguese.is_badword("gozar") | |
True | |
>>> portuguese.is_badword("gozei") | |
False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment