이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
vaderSentimentScores
구문
설명
vaderSentimentScores
를 사용하여 VADER(Valence Aware Dictionary and sEntiment Reasoner) 알고리즘을 통해 토큰화된 텍스트에서 감성을 평가합니다. vaderSentimentScores
함수는 기본적으로 VADER 감성 어휘사전과 수정자 단어 목록을 사용합니다.
함수는 영어 텍스트만 지원합니다.
는 토큰화된 문서에 대한 감성 점수를 반환합니다. 함수는 알고리즘 규칙에 따라 조정된 개별 토큰 점수를 집계한 다음 -1과 1 사이로 정규화하여 복합 점수를 계산합니다. 이 함수는 감성 어휘사전에 없는 단일 문자를 포함하는 모든 토큰을 삭제합니다.compoundScores
= vaderSentimentScores(documents
)
는 하나 이상의 이름-값 쌍을 사용하여 옵션을 추가로 지정합니다.compoundScores
= vaderSentimentScores(documents
,Name,Value
)
[
는 이전 구문 중 하나를 사용하여 각각 긍정, 부정, 중립 감성인 문서 비율도 반환합니다.compoundScores
,positiveScores
,negativeScores
,neutralScores
] = vaderSentimentScores(___)
예제
입력 인수
출력 인수
참고 문헌
[1] Hutto, C., and Eric Gilbert. “VADER: A Parsimonious Rule-Based Model for Sentiment Analysis of Social Media Text.” Proceedings of the International AAAI Conference on Web and Social Media 8, no. 1 (May 16, 2014): 216–25. https://doi.org/10.1609/icwsm.v8i1.14550.
버전 내역
R2019b에 개발됨