You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use this library to optimise searching through hundreds of thousands of dictionary entries for my language learning application and I think using a trie will allow me to perform this more efficiently.
I tested building a trie of 200K imported words and it took quite a while but it worked. I can't seem to persist the trie, however. When I import it back with fromFile, I get something similar to Invalid radix-10 number or so. My suspicion is that the encoding or the format of the file used for persistence doesn't quite like that I am including Japanese characters in my trie.
It would be great if I could use this library as it would allow me to support a broad range of custom dictionaries for my application. Cheers!
The text was updated successfully, but these errors were encountered:
I want to use this library to optimise searching through hundreds of thousands of dictionary entries for my language learning application and I think using a trie will allow me to perform this more efficiently.
I tested building a trie of 200K imported words and it took quite a while but it worked. I can't seem to persist the trie, however. When I import it back with
fromFile
, I get something similar toInvalid radix-10 number
or so. My suspicion is that the encoding or the format of the file used for persistence doesn't quite like that I am including Japanese characters in my trie.It would be great if I could use this library as it would allow me to support a broad range of custom dictionaries for my application. Cheers!
The text was updated successfully, but these errors were encountered: