View Single Post
Old 11-13-2012, 05:24 PM   #55
ShellShock
Guru
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 981
Karma: 2199790
Join Date: Sep 2008
Device: IPad Mini Retina, Kobo Aura HD
Success! What made the difference was to use the -o option with marisa-build, e.g.,

marisa-build -owords src\index.txt

and not pipe the stdout to a file. Using the -o option means that the index file will be in exactly the right format as defined by marisa, and does not rely on Windows redirection of stdout.

Now, I am thinking of converting some public domain dictionaries to Kobo format!

Thanks a lot for your help!

I may write up some instructions for Windows users...
ShellShock is offline   Reply With Quote