FullTokenizer: Construct objects of FullTokenizer class.

View source: R/tokenization.R

FullTokenizerR Documentation

Construct objects of FullTokenizer class.

Description

Construct objects of FullTokenizer class.

Usage

FullTokenizer(vocab_file, do_lower_case = TRUE)

Arguments

vocab_file

Path to text file containing list of vocabulary tokens.

do_lower_case

Logical: do we convert everything to lowercase?

Value

An object of class FullTokenizer.

Examples

## Not run: 
f_tokenizer <- FullTokenizer("vocab.txt", TRUE)

## End(Not run)

jonathanbratt/RBERT documentation built on Jan. 26, 2023, 4:15 p.m.