Uncommon

Lexical analysis

Conversion of character sequences into token sequences in computer science

Lexical analysis

Uncommon card · No. 152453

Lexical tokenization is conversion of a text into (semantically or syntactically) meaningful lexical tokens belonging to categories defined by a "lexer" program. In case of a natural language, those categories include nouns, verbs, adjectives, punctuations etc. In case of a programming language, the categories include identifiers, operators, grouping symbols, data types and language keywords. Lexical tokenization is related to the type of tokenization used in large language models (LLMs) but with two differences. First, lexical tokenization is usually based on a lexical grammar, whereas LLM tokenizers are usually probability-based. Second, LLM tokenizers perform a second step that converts the tokens into numerical values.

Read on Wikipedia

Open boosters, collect cards and trade them. Free to play.

Play for free
Lexical analysis – Uncommon Wikipedia card | Wikiverse TCG