Blog

Guides to working with text

Practical guides to reversing text, Unicode characters, cleanup, counting and common encodings. Each guide explains a real task, shows an example and links to a tool you can try.

Unigram tokenization

How Unigram tokenization splits text into subword pieces, what it changes about stored text, how it compares with BPE and WordPiece, and when plain text is the better choice.

Syllabification of Administration

How to divide administration into syllables (ad·min·is·tra·tion), where the stress falls, how written and spoken division differ, and when a syllabified version stays usable after copying.

Identify Prefixes and Suffixes in Words

How affix identification works, what splitting words into prefixes, stems and suffixes changes, where it misleads, and when plain unsegmented text is the better choice.

View JSON as an interactive tree

What a JSON tree viewer changes and what it doesn't: when an interactive tree helps you read JSON online, where it can mislead, and when to use plain text instead.

Using AutoTokenizer in Transformers

What AutoTokenizer in Hugging Face Transformers changes in your text, how subword tokens differ from words, and when to keep the plain text instead.