Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

TextBlock_from_df

TextBlock_from_df


Description

Build a 'TextBlock' from a dataframe using 'text_cols'

Usage

TextBlock_from_df(
  text_cols,
  vocab = NULL,
  is_lm = FALSE,
  seq_len = 72,
  backwards = FALSE,
  min_freq = 3,
  max_vocab = 60000,
  tok = NULL,
  rules = NULL,
  sep = " ",
  n_workers = 6,
  mark_fields = NULL,
  res_col_name = "text"
)

Arguments

text_cols

text columns

vocab

vocabulary

is_lm

is_lm

seq_len

sequence length

backwards

backwards

min_freq

minimum frequency

max_vocab

max vocabulary

tok

tokenizer

rules

rules

sep

separator

n_workers

number workers

mark_fields

mark_fields

res_col_name

result column name

Value

None


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.