Open topic with navigation

# Sentiment Analysis

Linguistic sentiment analysis (LSA) is a tool based on Eduction that you can use to identify positive or negative sentiments in text. Sentiment analysis is available as Eduction grammar files, in various major languages.

The sentiment analysis grammar files define positive and negative sentiments. Some of them have components defined, which allow you to extract attributes from matched phrases, such as topic, subject, and positive or negative sentiments.

## The Sentiment Analysis Grammars

Eduction matches input data to patterns defined with regular expressions (Grammars).

The sentiment analysis grammar first defines dictionaries with the parts of speech. There are different dictionaries for positive and negative words, and other categories that describe different effects on the sentiment, where appropriate.

These dictionaries are combined to form simple phrases that convey positive or negative sentiments. Finally, these phrases are padded, usually with other phrases, to form various patterns for the final entities, which match strings from the text that express positive or negative sentiment.

The grammar files are designed to be used out of the box. You just need to load the appropriate grammar file, and optionally choose the entities (usually positive or negative) to match with.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm