diff options
-rw-r--r-- | wordplay.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wordplay.cpp b/wordplay.cpp index 669a6e0..5b60a4f 100644 --- a/wordplay.cpp +++ b/wordplay.cpp | |||
@@ -29,9 +29,10 @@ int main(int argc, char** argv) | |||
29 | 29 | ||
30 | verbly::database database(config["verbly_datafile"].as<std::string>()); | 30 | verbly::database database(config["verbly_datafile"].as<std::string>()); |
31 | 31 | ||
32 | // Blacklist ethnic slurs | 32 | // Blacklist some stuff |
33 | verbly::filter cleanFilter = | 33 | verbly::filter cleanFilter = |
34 | !(verbly::word::usageDomains %= (verbly::notion::wnid == 106718862)); | 34 | !(verbly::word::usageDomains %= (verbly::notion::wnid == 106718862)) // ethnic slurs |
35 | && !(verbly::notion::wnid == 110630093); // "spastic" | ||
35 | 36 | ||
36 | verbly::filter nounFilter = | 37 | verbly::filter nounFilter = |
37 | cleanFilter | 38 | cleanFilter |