Skip to content

Commit

Permalink
replace punkt to punkt_tab
Browse files Browse the repository at this point in the history
  • Loading branch information
sagorbrur committed Aug 12, 2024
1 parent 75f01a9 commit a53fdcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bnlp/tokenizer/nltk.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
nltk.data.find("tokenizers/punkt")
except LookupError:
print("punkt not found. downloading...")
nltk.download("punkt")
nltk.download("punkt_tab")

DUMMYTOKEN = "XTEMPTOKEN"

Expand Down

0 comments on commit a53fdcc

Please sign in to comment.