View Single Post
Old 11-13-2012, 04:24 PM   #55
ShellShock
Wizard
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: 1,176
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
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