![]() |
#316 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
No it didn't work, it's because "\" it trying find a path.
|
![]() |
![]() |
![]() |
#317 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Alright, replace "\\t" with what works for you normally ("\t"? or "<press TAB>" ? or whatever --- sorry, I do not use Windows, I do not know.
Alternatively, change the TAB in the input file with some other character (e.g., "#" ?) and use it as the value for --csv-fs, instead of "\\t". |
![]() |
![]() |
![]() |
#318 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
Ok, I change <TAB> to "~", it work now.
Thanks ![]() |
![]() |
![]() |
![]() |
#319 |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
I find a problem with CSV, I convert dictionary CSV>Kobo but kobo didn't recognize it.
I convert text>stardict>csv text: word<TAB>definition csv: word,definition |
![]() |
![]() |
![]() |
#320 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 10000
Join Date: Sep 2016
Device: Kobo Glo HD
|
Failed stardict to kobo conversion via penelope. help please
Im trying to create the first English-Malaysian (malay) kobo dictionary available for public use. I have tried over 4 hours trying to set things up and convert the free babylon dictionary .BGL format to kobo dictionary.
The step that i read was as followed 1) covert BGL to stardict 2) convert stardict to kobo dictionary via penelope ive manage to convert it to stardict but received error while converting via penelope. can i have some help please. this is the error that i got ![]() ive attached the files that ive used below. I really appreciate any help https://drive.google.com/open?id=0B2...k96RmIxTmItNlU |
![]() |
![]() |
![]() |
#321 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Since I see a "penelope3.py" file, I guess you are using an old version.
Please update to the latest one. https://github.com/pettarin/penelope Once you have updated Penelope, you need to create a en_my.zip ZIP file, containing the .dict.dz, .idx, .ifo and .syn files, and then run: Code:
python -m penelope -i en_my -j stardict -f en -t my -p kobo -o dicthtml-en-my.zip |
![]() |
![]() |
![]() |
#322 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 10000
Join Date: Sep 2016
Device: Kobo Glo HD
|
Quote:
noticed that the version that i was using is the older version because I dont really know how to compile (if thats even necessary) or use latest penelope on the github. (well i sort of fail installing penelope using pip on windows because of error building wheel for marisa-trie). im that bad hence the reason why it takes me 4hrs to set things up. PS: im running windows 10 with ubuntu 16.04 (vmware) Last edited by flawlessx92; 10-03-2016 at 04:37 AM. |
|
![]() |
![]() |
![]() |
#323 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
You can install penelope on Windows as well.
Anyhow, write me an email, I will send you the Kobo file back. |
![]() |
![]() |
![]() |
#324 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 10000
Join Date: Sep 2016
Device: Kobo Glo HD
|
finally got it working. damn. installing python library is so hard. so much error. thank you!
you can add this to the list English - Malay https://drive.google.com/open?id=0B2...m1OQ2s0YWs3eHM you should really write down in the tuts prerequisite: im using these to get python working 1) install python 2.7 2) install --> http://landinghub.visualstudio.com/v...pp-build-tools 3) install pip 4) install lxml-3.6.4-cp27-cp27m-win32.whl (im on windows 10 64 bit) 5) only then can i install penelope without error Last edited by flawlessx92; 10-03-2016 at 05:11 AM. |
![]() |
![]() |
![]() |
#325 | |
I need a chapter break
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,042
Karma: 56058267
Join Date: Mar 2015
Location: Israel
Device: Kobo Glo
|
You need to use Python 3.x with penelope3.py.
Quote:
download and copy to the foder "install lxml-3.6.4-cp35-cp35m-win_amd32.whl" and "marisa_trie-0.7.2-cp35-none-win_amd32.whl" from here http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml install with pip. Install penelope. If it ask for microsoft visual c++14.00 download and install from here. Use Python 3.xx. EDIT: There is a problem with penelope when using python 2.xx. The file "en_my.dict.dz" you need to rename it to "en_my.dict.gz" extract the file, and use it instead. Last edited by oren64; 10-03-2016 at 05:29 AM. |
|
![]() |
![]() |
![]() |
#326 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 10000
Join Date: Sep 2016
Device: Kobo Glo HD
|
aww. im not sure my dictionary is working, i replaced english-espanol. when loaded it says you dont have an english dictionary installed
|
![]() |
![]() |
![]() |
#327 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
1. Distributing Python projects is a bit frustrating, I agree. Luckily pip helps a lot, but only on Linux/OS X. Windows users unfortunately are penalized by the lack of commitment by Microsoft.
2. Your suggestion of "writing down" a procedure is good. In fact, for larger projects (e.g. https://github.com/readbeyond/aeneas...ALL.md#windows ), I have done it. There are project-specific steps to consider, though. Perhaps some Window user should put online a generic guide. I do not use Windows, so I am not the best candidate for writing it. 3. The dict.dz / dict.gz thing seems to be Windows-specific. In fact, a .dz file is a GZIP file, with special headers. Any compliant GZIP decompressor should be able to read it. However, for writing it one needs a "special" compressor. 4. "im not sure my dictionary is working" => see https://github.com/pettarin/penelope#kobo-devices , open an ebook, and make sure you select a word that is in the dictionary (otherwise, you are not testing anything!), e.g. a common word. If that does not work for you: "write me an email, I will send you the Kobo file back". |
![]() |
![]() |
![]() |
#328 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
BTW, your dicthtml-en-my.zip file looks good to me. It is slightly different than the file I produced on my machine, but that might be explained by different versions of the GZIP/ZIP/MARISA libraries and that you are using Windows, while I am on Debian.
However, since I no longer have a Kobo, I cannot confirm it works indeed. |
![]() |
![]() |
![]() |
#329 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 10000
Join Date: Sep 2016
Device: Kobo Glo HD
|
Quote:
English - Malay dictionary https://drive.google.com/open?id=0B2...HpYQi1FcXRJU28 and thank you @Alpe for penelope =D. wonderful work |
|
![]() |
![]() |
![]() |
#330 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2016
Device: kobo glo hd
|
Quote:
Thanks in advance ![]() |
|
![]() |
![]() |
![]() |
Tags |
kobo dictionaries |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New custom English dictionaries | ShellShock | Kobo Developer's Corner | 166 | 09-22-2020 02:48 PM |
Kobo desktop loading dictionaries | brudigia | Kobo Reader | 1 | 07-16-2014 12:55 PM |
Touch building custom dictionaries, especially Japanese-English | tshering | Kobo Reader | 0 | 07-12-2012 06:00 PM |
Custom dictionaries for 350/650? | 1drey | Sony Reader | 5 | 12-28-2010 12:49 PM |
non-English dictionaries in eReader on iPod Touch? | ficbot | Reading and Management | 1 | 10-11-2008 09:04 AM |