Is vaderSentimentScores available in R2019a

2 次查看(过去 30 天)
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?

采纳的回答

per isakson
per isakson 2019-9-16
编辑:per isakson 2019-9-16
No, vaderSentimentScores was Introduced in R2019b. See bottom of the page.
  2 个评论
Saugata Bose
Saugata Bose 2019-9-16
thanks per. is there any way to install in in r2019a?
thanks,
Walter Roberson
Walter Roberson 2019-9-16
It is not possible to install the MATLAB R2019b routine in R2019a. See though my reference to routines you can call from MATLAB.

请先登录,再进行评论。

更多回答(1 个)

Walter Roberson
Walter Roberson 2019-9-16
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 个评论
Saugata Bose
Saugata Bose 2019-9-16
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);

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by