Skip to content

Commit

Permalink
pedantic rename... from bad-words-list to bad-words and `name-lis…
Browse files Browse the repository at this point in the history
…t.txt` to `person-names.txt`
  • Loading branch information
mircealungu committed Oct 4, 2024
1 parent 34117f3 commit af545fe
Show file tree
Hide file tree
Showing 35 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zeeguu/core/word_filter/data/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Sources

`bad-word-list` is cloned from: https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words
`bad-words` is cloned from: https://github.com/LDNOOBW/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words

Both `name-list.txt` and `city-names.txt` are from: https://github.com/FinNLP
Both `person-names.txt` and `city-names.txt` are from: https://github.com/FinNLP
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion zeeguu/core/word_filter/profanity_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

SKIP_FILES = set(["README.md", "USERS.md", "LICENSE"])
MODULE_PATH = Path(__file__).parent.absolute()
PATH_TO_WORD_LIST = os.path.join(MODULE_PATH, "data", "bad-word-list")
PATH_TO_WORD_LIST = os.path.join(MODULE_PATH, "data", "bad-words")


def load_bad_words():
Expand Down
2 changes: 1 addition & 1 deletion zeeguu/core/word_filter/proper_noun_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os

MODULE_PATH = Path(__file__).parent.absolute()
PATH_TO_NAME_FILE = os.path.join(MODULE_PATH, "data", "name-list.txt")
PATH_TO_NAME_FILE = os.path.join(MODULE_PATH, "data", "person-names.txt")
PATH_TO_CITY_FILE = os.path.join(MODULE_PATH, "data", "city-names.txt")


Expand Down

0 comments on commit af545fe

Please sign in to comment.