View Single Post
Old 11-26-2015, 08:39 PM   #156
Simpetus
Enthusiast
Simpetus began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Nov 2015
Device: Kobo Aura H2O
Quote:
Originally Posted by AlPe View Post
Hi,

I understand the frustration. The problem is the lack of official support for custom dictionaries. I tried to contact Kobo developers several times over the last 2+ years, without any result. (Same story for Bookeen, BTW.) When people send me emails asking for help with Kobo dictionaries, I help them if I can, but I also tell them to send a complaint email to Kobo customer service, asking for the feature to be implemented or at least publishing official documentation.

Back to your issue: I cannot exclude it is a problem with your full dictionary (either the input file, or the output of Penelope), albeit I doubt this is the problem. It seems something went wrong when you copied the full dictionary over the test (2 words) dictionary. Perhaps the words index file has not been replaced properly or at all.

You might want to try the following two procedures:

PROC 1

1. Remove/deselect all dictionaries in the Settings, and delete them from the .kobo/dict directory
2. Reboot your Kobo
3. Copy again the TEST (two words) dictionary
4. Open your eBook, and check if the word lookup works, as it did the first time you tried it

If not, then something really bad happened... reset your Kobo maybe?

If it worked, do the following:

PROC 2

1. Remove all dictionaries, as above
2. Reboot, as above
3. Copy the FULL dictionary
4. Open your eBook, and check if the word lookup works, using the SAME word that you used in the test with the 2 word dictionary

If this does work, good. If it does not work, then it might be an issue with your full dictionary file.
1. About complain. I have send them three already:

1.a. About adding support for Stardict;

2.b. About make convert into Kobo's format app for Stardict format dictionaries;

3.c. About releasing documentation on dictionaries.

I pissed off because of all this situation really. I bought this eBook, they got my money and still I am not the owner and not allowed to use all functions of the eBook as suitable for me.

Yeah, I know that they probably aware of potential law suits be cause of users can use copyright\stolen dictionaries, but hell, they totally can write down statement in user agreement part, mentioning that all responsibility is on end user.


2. About whether there is a problem with final dictionary. As I said, test dictionary (that consist only of 2 characters) works just fine, and the final BIG version was converted in the same way as test version, so no issues with them or way I converted the dictionaries.

Anyways, thanks to another user (tshering) I found out the reason Kobo's system keep saying that there is no dictionary installed - the amount of html files in zip archive of the final version of the custom Chinese dictionary is too high - almost 120 000 html files.

So, even if you mentioned that, it seems there are no restrictions in file size, there are some about amount of html files in archive.

Later I extract all files in archive, deleted almost all of them, packed it again and put in the dictionary - it worked.

Any workarounds? tshering said to put all dictionary articles with similar characters into one html file, combine them, but:

1. I do not know how to automate the process;

2. And If I do it manually, with 120 000 html files in the archive it will take ungodly amount of time.

Quote:
Originally Posted by tshering View Post
@Simpetus
Edit: Actually, the short version is working! It was only my mistake.

Edit 2: I did a further test. I removed from your complete dictionary most html files, so that only 100 or so remained. This shortened version is working. I think this shows that your dictionary is properly made, but that there are more html files than the reader can handle. If you look at my first Japanese dictionary, I had to split it into 2 parts for this reason. But this of course was very inconvenient.
I guess, it is best to redo your dictionary according to the scheme for Japanese dictionaries, in order to get a smaller number of html files. Instead of, for instance 上心.html, 上情.html and so on, you would put all entries starting with 上 into one 上.html. Look at cedict4kobo.zip for the details.
I do not know whether penelope has a setting for this, or whether you have to achieve this somehow by yourself.

Last edited by Simpetus; 11-26-2015 at 08:45 PM.
Simpetus is offline   Reply With Quote