# 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.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm