smaz-tools: add a trie-based search compatible with Dictionary.Hash