Learn R Programming

morphemepiece (version 1.2.3)

.process_mp_vocab: Process a Morphemepiece Vocabulary for Tokenization

Description

Process a Morphemepiece Vocabulary for Tokenization

Usage

.process_mp_vocab(v)

# S3 method for default .process_mp_vocab(v)

# S3 method for morphemepiece_vocabulary .process_mp_vocab(v)

# S3 method for integer .process_mp_vocab(v)

# S3 method for character .process_mp_vocab(v)

Arguments

v

An object of class morphemepiece_vocabulary.

Value

A character vector of tokens for tokenization.