tokenize_df: Tokenize_df

Description Usage Arguments Value

View source: R/text_core.R

Description

Tokenize texts in 'df[text_cols]' in parallel using 'n_workers'

Usage

1
2
3
4
5
6
7
8
9
tokenize_df(
  df,
  text_cols,
  n_workers = 6,
  rules = NULL,
  mark_fields = NULL,
  tok = NULL,
  tok_text_col = "text"
)

Arguments

df

data frame

text_cols

text columns

n_workers

number of workers

rules

rules

mark_fields

mark_fields

tok

tokenizer

tok_text_col

tok_text_col

Value

None


fastai documentation built on July 28, 2021, 5:06 p.m.