Constructor for Class morphemepiece_vocabulary
.new_morphemepiece_vocabulary(vocab, vocab_split, is_cased)Character vector; the "actual" vocabulary.
List of character vectors; the split vocabulary.
Logical; whether the vocabulary is cased.
The vocabulary with is_cased attached as an attribute, and the
class morphemepiece_vocabulary applied. The split vocabulary is also
attached as an attribute.