1.18.0
User Documentation for Apache MADlib
text_utilities.sql_in File Reference

SQL functions for carrying out routine text operations. More...

Functions

text term_frequency (text input_table, text doc_id_col, text word_vec_col, text output_table, boolean compute_vocab)
 Compute the term frequency for each term in a collection of documents. More...
 
text term_frequency (text input_table, text doc_id_col, text word_vec_col, text output_table)
 

Detailed Description

See also
For a brief overview of utility functions, see the module description Database Functions.

Function Documentation

◆ term_frequency() [1/2]

text term_frequency ( text  input_table,
text  doc_id_col,
text  word_vec_col,
text  output_table,
boolean  compute_vocab 
)
Returns
Names of tables created

◆ term_frequency() [2/2]

text term_frequency ( text  input_table,
text  doc_id_col,
text  word_vec_col,
text  output_table 
)