GitHub - 7hacker/Python-Trie: A trie in python

Skip to content

Navigation Menu

Sign in

Appearance settings

Python-Trie


A simple trie with a command line interface + auto-complete for suggestions of a prefix query

commands

maketrie: make a trie using the dictionary words at /usr/share/dict/words

insert: add words that follow into the trie

seeTrie: See the words that are in the trie

suggest: Get suggestions that can be formed using some input prefix. Can also autocomplete upon [TAB]