-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NL: reject inappropriate words and improve schools (#2952)
* The initial bad-word list is located [here](https://storage.mtls.cloud.google.com/datcom-website-config/nl_bad_words.txt). * Also, avoid school types from being considered as stop-words. There were two other ripple effects to this change: 1. It also requires special-handling for fallback logic (to not say "schools in sunnyvale" => "sunnyvale") 2. It also requires not regressing the demo query [how big are public schools in sunnyvale] Note: making the schools change also uncovered #2953. This whole stop-word removal business needs streamlining! Post fishfood maybe, and as part of fixing 2853. Screenshot ![image](https://github.com/datacommonsorg/website/assets/4375037/55a824e5-2ed3-4358-b928-e421cb9dd99f)
- Loading branch information
Showing
18 changed files
with
918 additions
and
74 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.