7.00.02 - Text_Parser Syntax - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Version 1.3
SELECT * FROM Text_Parser (
  ON { table_name| view_name| (query) }
  [ PARTITION BY expression [,...] ]
  TextColumn ('text_column')
  [ ToLowerCase ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ Stemming ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ Delimiter ('delimiter_regular_expression') ]
  [ TotalWordsNum
    ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ Punctuation ('punctuation_regular_expression') ]
  [ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ]
  [ TokenColumn ('token_column') ]
  [ FrequencyColumn ('frequency_column') ]
  [ TotalColumn ('total_column') ]
  [ RemoveStopWords
    ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ PositionColumn ('position_column') ]
  [ ListPositions
    ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ OutputByWord ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ StemmingExceptions ('exception_rule_file') ]
  [ StopWords ('stop_word_file') ]
);
If you include the PARTITION BY clause, the function treats all rows in the same partition as a single document. If you omit the PARTITION BY clause, the function treats each row as a single document.