form | R Documentation |
This function is a shorthand of tokenize_to_df() |> as_tokens()
.
form( x, text_field = "text", docid_field = "doc_id", 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. |
instance |
A binding to the instance of |
... |
Passed to |
A named list of character vectors.
## Not run: form( "Tokyo, Japan", type = "surface" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.