Quote:
Originally Posted by rtiangha
I'm curious about Kanji: Will dictutil be able to handle those properly? Just wondering since the code says it's a special case.
|
No, sorry, that won't be in the first version. The thing is, it's a whole separate code path which I'd need to figure out, and also, I don't think anyone's looked into how to treat a custom dictionary as Japanese (the Kanji stuff is based on the locale).
Cross-compiling libmarisa
I've finally got marisa to cross-compile properly on all platforms for dictutil:
https://github.com/geek1011/dictutil...8d1cb469d4da8a. I can't believe it actually worked though, as I did it by writing a tool to merge all the C* sources into a single file and resolving includes to allow it to be easily compiled by CGO.
Testing Kobo prefix generation
I've also written dictword-test (
https://pgaskin.net/kobo-mods/dictword-test/), which allows you to test libnickel's prefix generation directly. This tool is completely self-contained and doesn't conflict with or require patching libnickel. Binaries are available here:
https://ci.appveyor.com/project/geek...uild/artifacts.