Is vaderSentimentScores available in R2019a

조회 수: 2 (최근 30일)
Saugata Bose
Saugata Bose 2019년 9월 16일
댓글: Saugata Bose 2019년 9월 16일
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