Estoy tratando de clasificar texto en español: usando: https://github.com/aylliote/senti-py
Primero instalo la librería, ejecuto en la línea de comandos:
pip install spanish_sentiment_analysis
Luego al ejecutar miarchivo.py:
from classifier import *
#las siguientes líneas son irrelevantes, ya que se cae en la primera
Me arroja el siguiente error:
sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23
Error completo:
c:\users\test\appdata\local\programs\python\python37-32\lib\site-packages\sklearn\externals\joblib__init__.py:15: DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+.
warnings.warn(msg, category=DeprecationWarning)
He intentado corregir instalando:
pip install joblib
Pero me sigue apareciendo el mismo error.
Favor su ayuda.