TD_WordEmbeddings ( ON { table | view | (query) } AS InputTable PARTITION BY ANY ON { table | view | (query) } AS ModelTable DIMENSION USING IDColumn('IDColumn') ModelVectorColumns({ 'vector_columns | vector_columns_range' }[,...]) ModelTextColumn('text_columns') PrimaryColumn ('text_column') [ SecondaryColumn ('text_column')] [ Accumulate ('text_column') ] [ Operation({ 'token-embedding' | 'doc-embedding' |'token2token-similarity'|'doc2doc-similarity'}) ] [ RemoveStopWords({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})] [ ConvertToLowerCase({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})] [ StemTokens ({'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