addSpecialTokens method

void addSpecialTokens(
  1. List<String> tokens
)

Add special tokens to the tokenizer vocabulary.

Implementation

void addSpecialTokens(List<String> tokens) {
  tokenizer?.addSpecialTokens(tokens);
}