loadVocab

Syntax

loadVocab(filePath, vocabName)

Arguments

filePath A STRING scalar specifying the path to the vocabulary file, which can be a relative or absolute file path.

vocabName A STRING scalar that assigns a name to the loaded vocabulary.

Details

Loads a vocabulary file into memory for text vectorization.