Dictionary entry
tokenize
Last updated
Meanings
verbtransitivecomputingtechnical
To break a text or data stream into separate units (tokens) for analysis by a computer.
Grammar: Takes an object: tokenize the input.
Patterns
- tokenize something
- tokenize a string
- tokenize text into words
The program tokenizes the sentence into individual words and punctuation marks.
Before searching, the engine tokenizes the document to create an index.
You need to tokenize the user input to handle each command separately.
verbtransitivecomputingtechnical
To replace sensitive data with meaningless placeholders (tokens) so the original data is not exposed.
Grammar: Takes an object: tokenize the credit card numbers.
Patterns
- tokenize data
- tokenize a credit card number
- tokenize information
The payment system tokenizes card numbers so that hackers cannot steal them.
All personal identifiers are tokenized before the records are shared with researchers.
We tokenize the data at the point of entry to meet privacy rules.
verbtransitivedisapproving
To include someone from an underrepresented group only for appearance, without giving them real influence.
Grammar: Often used in the passive: she felt tokenized by the committee.
Patterns
- tokenize someone
- be tokenized by something
The only woman on the panel felt tokenized when she was asked to speak only about diversity.
He worried that the company was tokenizing him by putting him in ads but ignoring his ideas.
Some critics say the film tokenizes its Black characters by giving them no backstory.
Word forms
| third person singular | tokenizes |
|---|---|
| past tense | tokenized |
| past participle | tokenized |
| -ing form | tokenizing |
Common combinations
- tokenize a string
- The function tokenizes a string by splitting it at spaces.
- tokenize text
- Natural language tools tokenize text before analyzing grammar.
- tokenize data
- Banks tokenize data to protect customer information.
- tokenize input
- The parser first tokenizes the input to identify keywords.
Synonyms and how they differ
Word family
- token noun
- A single unit produced by tokenizing, such as a word or symbol.
- tokenization noun
- The process of breaking text into tokens or replacing data with tokens.
- tokenizer noun
- A tool or program that performs tokenization.
Commonly confused: tokenize or tokenise?
tokenize vs tokenise
British spelling; same meaning.
Practice
Before analyzing the sentence, the software must ______ it into words and punctuation.
Choose one answer.
Tokenize is the verb meaning to split into tokens. 'Tokenism' is a noun for superficial inclusion; 'token' is a noun or adjective; 'tokenistic' is an adjective.
Make it your own
Write a sentence using “tokenize”, then check it and compare it with the examples above.