Google NL API를 사용해보면, sentiment, magnitude, entity, salience 등 여러가지 term들이 등장한다

그 의미들을 알기위해 Natural Language Basic부터 알아보고 가자


https://brunch.co.kr/@mapthecity/25

https://cloud.google.com/natural-language/docs/basics


sentiment: 감정

 - score: -1 ~ 1까지, 부정/보통/긍정을 나타내는 수치

 - magnitude: score의 강도 (아직은 잘 모르겠다)

 - document/sentences 단위로 측정한다


entity: well-known-text


salience: 각 entity별 중요도를 나타내는 수치 (문장 내에서)

 - 핵심 키워드를 판별하기 위한 수치


---


API

analyze entity (엔티티 분석)

analyze sentiment (of doc or sentences) (감정 분석)

analyze entity sentiment (엔티티 감정 분석)

analyze syntax (문법 분석)

classify content categories (내용 분류)



WRITTEN BY
hojongs
블로그 옮겼습니다 https://hojongs.github.io/