SentimentExtractor Syntax - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantage™

Version 3.5

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' }) ]
  [ ModelFile ({ 'dictionary[:dict_file]' | 'classification: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;