SentimentExtractor Function Syntax | Teradata Vantage - SentimentExtractor Syntax - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

Version 3.8

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' }) ]
  [ Punctuation (punctuation_expression) ]
) AS alias;