step_tokenize_jp | R Documentation |
step_tokenize_jp()
creates a specification of a recipe step that
will convert a character predictor into a tokenlist_jp.
step_tokenize_jp( recipe, ..., role = NA, trained = FALSE, columns = NULL, engine = "sudachir", options = list(mode = "A", type = "surface", pos = TRUE, instance = NULL), skip = FALSE, id = rand_id("tokenize_jp") )
recipe |
A recipe object. The step will be added to the sequence of operations for this recipe. |
... |
One or more selector functions to choose which
variables are affected by the step. See |
role |
Not used by this step since no new variables are created. |
trained |
A logical to indicate if the quantities for preprocessing have been estimated. |
columns |
A character string of variable names that will
be populated (eventually) by the |
engine |
Implement token engine package. Defaults to 'sudachir'. |
options |
list. path to engine's function. |
skip |
A logical. Should the step be skipped when the
recipe is baked by |
id |
A character string that is unique to this step to identify it. |
The following packages are available for the engine
.
sudachir (Sudachi)
RcppMeCab (MeCab)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.