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.

How the Edge N-gram Tokenizer Works

A practical guide to the edge n-gram tokenizer: how it turns words into leading-edge prefixes, which settings control the output, and how to check the result.

Use JSON Schema in Go

How JSON Schema validation, decoding and formatting differ in Go, what each step changes in your data, and when plain struct decoding is enough.

Compare TOML and JSON

TOML vs JSON: how the two formats differ in data types, comments, nesting and conversion, what is lost when you convert between them, and how to choose by situation.

YAML versus JSON

How YAML and JSON differ in syntax, data types, comments and conversion, which one suits each job, and what breaks when you copy, paste or convert between them.