官术网_书友最值得收藏!

Analyzing sentiment

The sentiment in a sentence or text reflects the overall positive, negative, or neutral opinion or thought of the person who produces or consumes it. It indicates whether a person is happy, unhappy, or neutral about the subject or context that describes the text. It can be quantified as a discrete value, such as 1 for happy, -1 for unhappy, and 0 for neutral, or it can be quantified on a continuous scale of values, from 0-1. Sentiment analysis, therefore, is the process of deriving this value from a piece of text that can be obtained from different data sources, such as social networks, product reviews, news articles, and so on. One real-world application of sentiment analysis is in social network data to derive actionable insights, such as customer satisfaction, product or brand popularity, fashion trends, and so on. The screenshot that follows shows one of the applications of sentiment analysis, in capturing the overall opinion of a particular news article about Google. The reader may refer to the application, or API, from Google Cloud at https://cloud.google.com/natural-language/:

The preceding screenshot indicates that sentiment data is captured for the whole document, as well as at the individual sentence level.

主站蜘蛛池模板: 崇信县| 吉安市| 巩义市| 古浪县| 泸溪县| 徐闻县| 内江市| 兴安县| 嵊州市| 奈曼旗| 班玛县| 沅陵县| 娱乐| 仁怀市| 赤壁市| 繁峙县| 东方市| 梁山县| 高台县| 西充县| 盘山县| 茌平县| 揭东县| 美姑县| 嘉善县| 都江堰市| 平阴县| 炎陵县| 黑山县| 滁州市| 东平县| 成武县| 蒙阴县| 巨野县| 大荔县| 宽城| 兴城市| 安徽省| 余江县| 安阳县| 郸城县|