morphemepiece_vocab {morphemepiece.data}R 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())

[Package morphemepiece.data version 1.2.0 Index]