TD_TextParser Syntax | TextParser | Teradata Vantage - TD_TextParser Syntax - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢
TD_TextParser (
   ON { table | view | (query) } AS InputTable 
   [ON {table | view | (query)} AS StopWordsTable DIMENSION]
   USING
   TextColumn ('text_column')
   [ConvertToLowerCase ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]  
   [StemTokens ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})
   [RemoveStopWords ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
   [Delimiter ('delimiter_expression')]
              [DelimiterRegex ('delimiter_PCRE_regular_expression')]
   [Punctuation ('punctuation_expression')]
   [TokenColName ('token_column')]
   [Accumulate ({'accumulate_column' | 'accumulate_column_range'} [,...])]
   [DocIDColumn('docIdColumn')]
   [ListPositions ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
   [TokenFrequency ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
   [OutputByWord ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
)
You can call this function from:
  • The FROM clause of a SELECT statement
  • As part of a CREATE TABLE statement
  • As part of a CREATE VIEW statement