as_tokens | R Documentation |
Create a list of tokens
as_tokens(tbl, type, pos = TRUE, ...)
tbl |
A data.frame of tokens out of |
type |
Preference for the format of returned tokens. Pick one of "surface", "dictionary", "normalized", or "reading". |
pos |
When passed as |
... |
Passed to |
A named list of character vectors.
## Not run: tokenize_to_df("Tokyo, Japan") |> as_tokens(type = "surface") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.