We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After installed PyThaiNLP 5.0.0, It has error when call any function.
try: import pycrfsuite except ImportError: raise ImportError("ImportError; Install pycrfsuite by pip install python-crfsuite")
Thank you @luc-languagetools for report the bug!
Doesn't has ImportError
Can't use PyThaiNLP without install python-crfsuite
from pythainlp.tokenize import word_tokenize
5.0.0
3.9.0
MacOS 12
No response
Delete a code that use any python-crfsuite.
I found
pythainlp/pythainlp/util/pronounce.py
Line 12 in 1e94d32
syllable_tokenize
all_thai_words_dict
rhyme
The text was updated successfully, but these errors were encountered:
Fixed import crf #901
d7a3b79
Fixed!
Sorry, something went wrong.
Many thanks for this prompt solution and for running this excellent project!
No branches or pull requests
Description
After installed PyThaiNLP 5.0.0, It has error when call any function.
Thank you @luc-languagetools for report the bug!
Expected results
Doesn't has ImportError
Current results
Can't use PyThaiNLP without install python-crfsuite
Steps to reproduce
from pythainlp.tokenize import word_tokenize
PyThaiNLP version
5.0.0
Python version
3.9.0
Operating system and version
MacOS 12
More info
No response
Possible solution
Delete a code that use any python-crfsuite.
I found
pythainlp/pythainlp/util/pronounce.py
Line 12 in 1e94d32
syllable_tokenize
that shouldn't use by default, so I will moveall_thai_words_dict
torhyme
.Files
No response
The text was updated successfully, but these errors were encountered: