The Python Oracle

How to create a trie in Python

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Ancient Construction

--

Chapters
00:00 Question
01:12 Accepted answer (Score 215)
03:47 Answer 2 (Score 33)
04:19 Answer 3 (Score 31)
06:58 Answer 4 (Score 26)
08:04 Thank you

--

Full question
https://stackoverflow.com/questions/1101...

Accepted answer links:
[Unwind]: https://stackoverflow.com/a/11015381/577...
[setdefault]: https://docs.python.org/library/stdtypes...
[get]: https://docs.python.org/library/stdtypes...
[Levenshtein]: http://en.wikipedia.org/wiki/Levenshtein...
[distance]: https://stackoverflow.com/q/10638597/577...

Answer 2 links:
[marisa-trie]: https://pypi.python.org/pypi/marisa-trie/
[python-trie]: https://github.com/bdimmick/python-trie
[PyTrie]: https://pypi.python.org/pypi/PyTrie
[pygtrie]: https://github.com/google/pygtrie
[datrie]: https://pypi.org/project/datrie/
[libdatrie]: https://linux.thai.net/~thep/datrie/datr...

Answer 3 links:
https://github.com/kmike/marisa-trie
https://www.repustate.com/blog/sharing-l.../
https://github.com/bdimmick/python-trie
https://pypi.python.org/pypi/PyTrie

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #trie #dawg

#avk47