pretokenizer
English · noun
Senses
Sense 1 · noun · corpus
A tool that gives text a first split into pieces, such as words, before further processing.
Source: Mova's open texts. Licence: cc-by-sa-4.0.
Usage and labels
corpus
In one example, turning it off lets an entire sentence count as one piece at that stage. In the other, the first split can itself provide the words a search system uses.
Examples
2 source examples.
- Indeed, in information retrieval, pretokenizers were themselves used as tokenizers (and also called "tokenizers") with a word-level vocabulary that contained an [UNK]. — Wikipedia: Transformer (deep learning) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
- The latter package is named as such because one of its configuration options allows disabling the built-in pretokenizer, hence effectively making entire sentences a pretoken and thus having the tokenizer see entire sentences, rather than individual words. — Wikipedia: Transformer (deep learning) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
Notes and derived forms
corpus
Sources
Mova's open texts. Licence: cc-by-sa-4.0.
This page in Markdown https://md.dictionary.elamur.ai/free/en/english/pretokenizer/