Elamur Dictionary

pretoken

English · noun

Senses

Sense 1 · noun · corpus

corpus

A piece of text chosen before a computer divides it into smaller units called tokens.

Source: Mova's open texts. Licence: cc-by-sa-4.0.

Usage and labels

corpus

Text processing: a starting chunk that may even be a whole sentence, depending on the method.

Examples

2 source examples.

  • 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)
  • There also exist several segmentation algorithms that require no learning and can be applied given a vocabulary (produced by BPE or ULM, for example), like greedily recognising tokens in a pretoken by moving through it left-to-right. — 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/pretoken/