Closed konbraphat51 closed 1 year ago
This is from TLTK, please refer to this issue: https://github.com/attapol/tltk/issues/7
I will close this.
So it means we have to wait until TLTK developers handle this?
So it means we have to wait until TLTK developers handle this?
Yes, sklearn will gone. I think maybe should drop tltk from full.
A PR has been made, but need to be review and merge https://github.com/attapol/tltk/pull/8
Dropping tltk from [full] installation can be a solution as well.
A current workaround is to avoid full installation, and use combination of these options instead:
attacut
(to support attacut, a fast and accurate tokenizer)benchmarks
(for word tokenization benchmarking)icu
(for ICU, International Components for Unicode, support in transliteration and tokenization)ipa
(for IPA, International Phonetic Alphabet, support in transliteration)ml
(to support ULMFiT models for classification)thai2fit
(for Thai word vector)thai2rom
(for machine-learnt romanization)wordnet
(for Thai WordNet API)Dropping tltk from [full] installation can be a solution as well.
I checked pythainlp 4.0.2
and I don't found tltk
in setup.py
. https://github.com/PyThaiNLP/pythainlp/blob/v4.0.2/setup.py
@konbraphat51 Can you recheck your pythainlp version?
@wannaphong
Really?
I simply done pip install pythainlp[full]
without any preinstalls.
Could it be the python version (3.7.2)'s fault?
After the error, I performed pip install pythainlp
(not [full]) and the version was 4.0.2
@wannaphong Really? I simply done
pip install pythainlp[full]
without any preinstalls. Could it be the python version (3.7.2)'s fault?
Maybe. The log show tltk is request from pythainlp but we doesn't has tltk in any requirements and setup.py
. I think you should update pip.
TLTK 1.7 seems to fixed this already https://pypi.org/project/tltk/1.7/
Description
when
pip install pythainlp[full]
,got below:
Expected results
Install smoothly
Current results
'sklearn' PyPI package is deprecated error
Steps to reproduce
pip install pythainlp[full]
PyThaiNLP version
4.0.2
Python version
3.7.2
Operating system and version
Linux (Google Vertex AI workbentch)
More info
No response
Possible solution
No response
Files
No response