tokenize_to_df | R Documentation |
Create a data.frame of tokens
tokenize_to_df( x, text_field = "text", docid_field = "doc_id", into = dict_features(), col_select = seq_along(into), instance = rebuild_tokenizer(), ... )
x |
A data.frame like object or a character vector to be tokenized. |
text_field |
Column name where to get texts to be tokenized. |
docid_field |
Column name where to get identifiers of texts. |
into |
Column names of features. |
col_select |
Character or integer vector of column names
that kept in the return value. When passed as |
instance |
A binding to the instance of |
... |
Currently not used. |
A tibble.
## Not run: tokenize_to_df( "Tokyo, Japan", into = dict_features("en"), col_select = c("pos1", "pos2") ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.