profanitas / abuse

World's First Profanity Library.
https://pypi.org/project/abuse/
Do What The F*ck You Want To Public License
22 stars 15 forks source link

Refactor the dataset loading #19

Closed gilesv closed 1 year ago

gilesv commented 6 years ago

Following my suggestion at issue #2, the dataset must be a separate file and abuse will read all its content at runtime, making it easier to add more abuses later without touching the source code.

ps: I don't know if the loadDataSet function should really be called at line 39, what do you guys think?