Add a list of words
Closed this issue · 1 comments
alaa-maverick commented
First, this library is really helpful, thank you very much.
Could you please implement an add
function that receives a list rather than a single word?
E.g. I would like to use it in the following way:
from retrie.trie import Trie
trie = Trie()
trie.add(*["abc", "foo", "abs"]) # or trie.add(["abc", "foo", "abs"])
github-actions commented