1.1 - 8.10 - SentimentExtractor Syntax - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

Version 3.7

SELECT * FROM SentimentExtractor (
  ON { table | view | (query) } [ PARTITION BY ANY ]
  [ ON { table | view | (query) } AS Dict DIMENSION ]
  USING
  TextColumn ('text_column')
  [ InputLanguage ({ 'en' | 'zh_CN' | 'zh_TW' }) ]
  [ InputModelFile ({ 'dictionary[:dict_file]' | 'classification:input_model_file' }) ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
  [ AnalysisType ({ 'document' | 'sentence' }) ]
  [ Priority ({ 'NONE' |
                'NEGATIVE_RECALL' |
                'NEGATIVE_PRECISION' | 
                'POSITIVE_RECALL' |
                'POSITIVE_PRECISION'
              })
  ]
  [ OutputType ({ 'ALL' | 'POSITIVE' | 'NEGATIVE' }) ]
) AS alias;