NGramSplitter Function Syntax | Teradata Vantage - NGramSplitter 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-04-06
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢
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') ]
)
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