Skip to content

Commit

Permalink
Update src/langcheck/augment/en/_gender/_gender.py
Browse files Browse the repository at this point in the history
Co-authored-by: Koki Ryu <[email protected]>
  • Loading branch information
yosukehigashi and liwii authored Mar 1, 2024
1 parent 19607e8 commit e903129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/langcheck/augment/en/_gender/_gender.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _replace_gender_pronouns(
except LookupError:
nltk.download('averaged_perceptron_tagger')
try:
nltk.data.find('punkt')
nltk.data.find('tokenizers/punkt')
except LookupError:
nltk.download('punkt')
tagged_words = pos_tag(word_tokenize(text))
Expand Down

0 comments on commit e903129

Please sign in to comment.