NGramSplitter Function Syntax | Teradata Vantage - 17.05 - NGramSplitter Syntax - Teradata Database

Teradata Vantage™ - Advanced SQL Engine Analytic Functions

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1206-170K
SELECT * FROM NGramSplitter (
  ON { table | view | (query) }
  USING
  TextColumn ('text_column')
  Grams ({ gram_number | 'value_range' }[,...])
  [ OverLapping({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ ConvertToLowerCase ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ Reset ('reset_character...') ]
  [ Punctuation ('punctuation_character...') ]
  [ Delimiter ('delimiter_character...') ]
  [ OutputTotalGramCount ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'}) ]
  [ TotalCountColName ('total_count_column') ]
[ Accumulate ({ 'accumulate_column' | accumulate_column_range }[,...]) ] 
  [ NGramColName ('ngram_column') ]
  [ GramLengthColName ('gram_length_column') ]
  [ FrequencyColName ('frequency_column') ]
) AS alias;