Summary - Aster Analytics

Teradata Aster Analytics Foundation User Guide

Product
Aster Analytics
Release Number
6.21
Published
November 2016
Language
English (United States)
Last Update
2018-04-14
dita:mapPath
kiu1466024880662.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1021
lifecycle
previous
Product Category
Software

The ExtractSentiment function extracts the sentiment (positive, negative, or neutral) of each input document or sentence, using either a classification model output by the function TrainSentimentExtractor or a dictionary model.

The dictionary model consists of WordNet, a lexical database of the English language, and the following negation words:

  • no
  • not
  • neither
  • never
  • scarcely
  • hardly
  • nor
  • little
  • nothing
  • seldom
  • few

The function handles negated sentiments as follows:

  • -1 if the sentiment is negated (for example, "I am not happy")
  • -1 if the sentiment and a negation word are separated by one word (for example, "I am not very happy")
  • +1 if the sentiment and a negation word are separated by two or more words (for example, "I am not saying I am happy")

This function can be used with real-time applications. See AMLGenerator.