Skip to content

Commit a53fdcc

Browse files
committed
replace punkt to punkt_tab
1 parent 75f01a9 commit a53fdcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bnlp/tokenizer/nltk.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
nltk.data.find("tokenizers/punkt")
66
except LookupError:
77
print("punkt not found. downloading...")
8-
nltk.download("punkt")
8+
nltk.download("punkt_tab")
99

1010
DUMMYTOKEN = "XTEMPTOKEN"
1111

0 commit comments

Comments
 (0)