BasicTrie functionality with Dictionary of words included.