We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e602d1 commit 1ca2961Copy full SHA for 1ca2961
pythainlp/tokenize/core.py
@@ -200,7 +200,8 @@ def word_tokenize(
200
elif not isinstance(custom_dict, str) and custom_dict is not None:
201
raise ValueError(
202
f"""Tokenizer \"{engine}\":
203
- Custom_dict must be a dictionary name as assigned with load_dict().
+ custom_dict must be a str.
204
+ It is a dictionary name as assigned with load_dict().
205
See pythainlp.tokenize.nlpo3.load_dict()"""
206
)
207
else:
0 commit comments