View Single Post
Old 11-13-2012, 02:29 PM   #40
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: 867
Karma: 1639368
Join Date: Sep 2008
Device: Sony PRS-505 & PRS-650, Kobo Glo & Aura HD
AlPe, I have tried following your instructions, but purely within Windows. So I have built marisa 0.2.0 using Visual Studio 2008. I have created an aa.html file like this:

Code:
<?xml version="1.0" encoding="utf-8"?>
<html>
<w>
<p><a name="Aardvark"/>A South American animal.</p>
</w>
<w>
<p><a name="Aardman"/>Animators.</p>
</w>
</html>
And my index.txt file looks like this:

Code:
Aardvark
Aardman
I used Notepad++ to create these files, in Dos\Windows ANSI format.

I used 7zip to gzip the aa.html file:

7z a -tgzip aa.html src\aa.html

I used marisa-build to create my words file:

marisa-build src\index.txt > words

And then I used 7Zip to zip the aa.html (gzip format) and words:

7z a -tzip dicttest.zip aa.html words

I put the dicttest.zip into .kobo\dict, but when I go into the Settings, Language, Dictionary, Edit, my dictionary is not listed. Any thoughts?
ShellShock is offline   Reply With Quote