Skip to content

Does persisting support CJK language characters? #5

@arianneorpilla

Description

@arianneorpilla

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions