Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 414 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 414 Bytes

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]