View source: R/bt_d2v_col_preprocess.R
bt_d2v_col_preprocess | R Documentation |
To be used on text data from a particular feature column (e.g. title, description or AA)
bt_d2v_col_preprocess(d2v.col, doc_id, text, as.df = T)
doc_id |
the doc ids, probably the BID with Bastiat |
text |
character vector of words separated by spaces |
as.df |
return as a dataframe? if F, returns a matrix |
model.w2v |
pretrained word embeddings |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.