morphemepiece: Morpheme Tokenization

Tokenize text into morphemes. The morphemepiece algorithm uses a lookup table to determine the morpheme breakdown of words, and falls back on a modified wordpiece tokenization algorithm for words not found in the lookup table.

Package details

AuthorJonathan Bratt [aut, cre] (<https://orcid.org/0000-0003-2859-0076>), Jon Harmon [aut] (<https://orcid.org/0000-0003-4781-4346>), Bedford Freeman & Worth Pub Grp LLC DBA Macmillan Learning [cph]
MaintainerJonathan Bratt <jonathan.bratt@macmillan.com>
LicenseApache License (>= 2)
Version1.2.3
URL https://github.com/macmillancontentscience/morphemepiece
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("morphemepiece")

Try the morphemepiece package in your browser

Any scripts or data that you put into this service are public.

morphemepiece documentation built on April 16, 2022, 5:05 p.m.