TD_TFIDF (
ON { table | view | (query) } AS InputTable
USING
DocIdColumn ('docid_column')
TokenColumn ('token_column')
[ TFNormalization ({'BOOL'|'COUNT'|'NORMAL'|'LOG'|'AUGMENT'}) ]
[ IDFNormalization ({'UNARY'|'LOG'|'LOGNORM'|'SMOOTH'}) ]
[ Regularization ({'L2'|'L1'|'NONE'}) ]
[ Accumulate ({'accumulate_column'|accumulate_column_range}[,...]) ]
)
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