morphemepiece_vocab: Load a Morphemepiece Vocabulary

View source: R/loaders.R

morphemepiece_vocabR Documentation

Load a Morphemepiece Vocabulary

Description

A morphemepiece vocabulary is a named integer vector with class "morphemepiece_vocabulary". The names of the vector are the morphemes, and the values are the integer identifiers of those tokens. The vocabulary is 0-indexed for compatibility with Python implementations.

Usage

morphemepiece_vocab()

Value

A morphemepiece_vocabulary.

Examples

head(morphemepiece_vocab())

morphemepiece.data documentation built on April 19, 2022, 1:06 a.m.