Struct tongrams::DoubleArrayVocabulary
source ·
[−]pub struct DoubleArrayVocabulary { /* private fields */ }
Expand description
Compact double-array implementation of Vocabulary
.
Trait Implementations
Returns the “default value” for a type. Read more
Creates an empty Vocabulary
.
Builds a Vocabulary
from a sequence of tokens.
Serializes the data structure into the writer.
Deserializes the data structure from the reader.
Gets the number of bytes to serialize the data structure.
Gets breakdowns of memory usages for components.