Returning the actual trie?
Opened this issue · 1 comments
dkisselev commented
I'd like to be able to return the actual trie that's used. I'm looking to use this library to generate + serialzie a trie that will then be parsed by a javascript client in the browser.
Seems like just a getter for $trie should be enough
dkisselev commented
Upon looking into it further, it looks like the internal trie is actually an array of more trie objects.
So ideally getTrie should convert everything into an associative array and return it.