zeeguu / api

API for tracking a learner's progress when reading materials in a foreign language and recommending further personalized exercises and readings.
https://zeeguu.org
MIT License
8 stars 24 forks source link

Add profanity filter to random words #230

Closed tfnribeiro closed 1 month ago

tfnribeiro commented 1 month ago

Added word lists to filter Names, Cities and Bad Words from the similar words random words generated.

To note, there are words that are removed that can be actual names, for example:

"Stemme" in Danish can mean voice, but it's present in the Name list.

@mircealungu let me know if the data folder looks OK, I left the license and the other files from the original repo for the bad words.

github-actions[bot] commented 1 month ago

Module view diffs: diffdiffdiff