Is vaderSentimentScores available in R2019a

2 visualizaciones (últimos 30 días)
Saugata Bose
Saugata Bose el 16 de Sept. de 2019
Comentada: Saugata Bose el 16 de Sept. de 2019
Hi
I am trying to apply vader sentiment score following this link.
But, after executing the program for a string, I found this error,
vaderSentimentScores('i am a boy')
Undefined function or variable 'vaderSentimentScores'.
Is the function available in matlabr2019a?

Respuesta aceptada

per isakson
per isakson el 16 de Sept. de 2019
Editada: per isakson el 16 de Sept. de 2019
No, vaderSentimentScores was Introduced in R2019b. See bottom of the page.
  2 comentarios
Saugata Bose
Saugata Bose el 16 de Sept. de 2019
thanks per. is there any way to install in in r2019a?
thanks,
Walter Roberson
Walter Roberson el 16 de Sept. de 2019
It is not possible to install the MATLAB R2019b routine in R2019a. See though my reference to routines you can call from MATLAB.

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 16 de Sept. de 2019
No, it was introduced in R2019b.
See https://github.com/cjhutto/vaderSentiment for python library and https://github.com/nunoachenriques/vader-sentiment-analysis for a Java port of it. You can call Python or Java from MATLAB.
  1 comentario
Saugata Bose
Saugata Bose el 16 de Sept. de 2019
Walter Hi
Would you please advice me how could I call the setup.py( from the python library link you sent) from the Matlab?
Would it be like this?
str = 'python /dir/setup.py 2';
[status, commandOut] = system(commandStr);

Iniciar sesión para comentar.

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by