dot-infer_case_from_vocab: Determine Vocabulary Casedness

Description Usage Arguments Details Value

Description

Determine whether or not a wordpiece vocabulary is case-sensitive.

Usage

1

Arguments

vocab

The vocabulary as a named integer vector.

Details

If none of the tokens in the vocabulary start with a capital letter, it will be assumed to be uncased. Note that tokens like "\[CLS\]" contain uppercase letters, but don't start with uppercase letters.

Value

TRUE if the vocabulary is cased, FALSE if uncased.


wordpiece documentation built on Feb. 11, 2021, 5:06 p.m.