Graph explorer
Run breadth-first and depth-first traversal over the same graph and compare the journeys.
Simulation · deterministic model
Feed it a vocabulary, type a prefix, and watch the tree narrow — one character, one branch at a time — into the suggestions a search box would show you.
Say it the way you would say it to a person. Your words are matched to one of 18 tools by readable rules, and the tool runs right here in your browser. No upload, no account.
This tool runs in your browser and needs JavaScript turned on.
Things you can type: autocomplete words starting with re words that begin with ra
A search box with ten million terms behind it responds before you finish typing, and it does not do that by scanning ten million strings. It walks a tree where every node is one character and every path from the root is a prefix.
By the time you have typed four characters, the candidate set is whatever hangs below one node. The work is proportional to the length of what you typed, not to the size of the vocabulary — which is why the response time does not change as the index grows.
Tries turn up wherever prefixes matter: IP routing tables, dictionary lookups, spell-checkers, and the tokenizer vocabularies that decide how your text is split before a model ever sees it. If you have used the token counter on this site, you have used a structure very much like this one.
Questions
A hash map answers "is this exact key present". A trie answers "what keys start with this", which is a different question and the one autocomplete needs. It also shares storage between words with common prefixes.
Frequency is the simplest useful ranking signal for suggestions. Repeat a word in the input list and watch it move up — real systems weight by popularity for exactly this reason.
Yes. The tree is built over characters, so any script works, though languages without spaces need segmentation before the word list makes sense.