![]() |
#166 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
![]() I had never done it before in my life a day to understand how to run a command : cmd.exe ![]() What is obvious to you is new to me. ![]() |
![]() |
![]() |
![]() |
#167 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
![]() ![]() 7-zip [64] 9.20 Copyright <c> 1999-2010 Pavlov 2010-11-18 Error: Incorrect command line My command 1 and 2 E:\zztest>"c:\program files\7-zip\7z" for %i in (*.html) do 7z a -tgzip "gz\%i" "%i" E:\zztest>"c:\program files\7-zip\7z" 7z a -tzip -mcu=on dicthtml.zip *.html words I have a small weight in the soup but I do not see where ![]() ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#168 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,328
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
for %i in (*.html) do "c:\program files\7-zip\7z" a -tgzip "gz\%i" "%i"
"c:\program files\7-zip\7z" a -tzip -mcu=on dicthtml.zip *.html words |
![]() |
![]() |
![]() |
#169 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
![]() ![]() ![]() ![]() ![]() Last edited by gouni; 12-13-2012 at 03:58 PM. |
![]() |
![]() |
![]() |
#170 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Great! Is your dictionary now finished? Or was it still a test?
|
![]() |
![]() |
Advert | |
|
![]() |
#171 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
I you send a message
Last edited by gouni; 12-14-2012 at 06:12 AM. |
![]() |
![]() |
![]() |
#172 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
![]() |
![]() |
![]() |
#173 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I would like to share with you what I have done in order to improve my French reading experience. Maybe this could help other readers too.
Having not read French for ages, I had to discover that my vocabulary is worse than I thought. The definitions of the French definition dictionary were often too complicated for me so I had again and again to consult the French-English dictionary. Therefore, I merged these two dictionaries into one, and replaced the original French definition dictionary by the new one. Now, I get the French and the English definitions at the same time. One drawback is that I had to use the French definition dictionary of FW 2.0.0 (the more recent versions are in a format unknown to me), and this dictionary (FW 2.0.0) has many mistakes that have been corrected in the more recent versions. Having no need for the (now redundant) French-English dictionary any longer, I replaced it by the newest French definition dictionary. This has the additional advantage that I can now search the French definition dictionary (this is normally not possible because of a bug). A helping hand gave me today another French dictionary "Le grand Gouni". This is a very extensive French-French dictionary. The entry "quitter", for instance, has 19 pages in the full screen view. Therefore it is much too detailed as to be practical for me as a pop-up dictionary, but it would be certainly very helpful in certain cases. Therefore, I renamed it to dicthtml-fr-fr.zip. To sum up, I have now
|
![]() |
![]() |
![]() |
#174 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
Thank you for all the help you have given me.
And the patience to explain to me thanks. ![]() |
![]() |
![]() |
![]() |
#175 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 71
Karma: 18140
Join Date: Jul 2011
Device: PRS-T1&KOBOTOUCH
|
Hi AlPe,
Thank you for the python script. I tranformed the dictionary sucessfully. But have a little problem. The newline character in stardict will not show in the kobo dict. For example, the right format should be: Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#176 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Hi,
I am not willing to put that "<br/>" in the code, because the content of the input dictionary (Stardict or XML) may or may not have it already. You should write your own input parser, specific for the input dictionary you want to convert, as explained in Section "Custom parser for the input dictionary" in the page http://www.albertopettarin.it/penelope.html . Alternatively, you can send me an email with a link to your dictionary, but you will have to wait a couple of days before hearing back. EDIT: if you want a quick-and-dirty solution, just replace line 572 of penelope.py or line 577 of penelope3.py: Code:
definition = global_dictionary[k][4] Code:
definition = global_dictionary[k][4].replace("\n", "<br/>") Last edited by AlPe; 12-22-2012 at 06:02 AM. |
![]() |
![]() |
![]() |
#177 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 71
Karma: 18140
Join Date: Jul 2011
Device: PRS-T1&KOBOTOUCH
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#178 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
You are welcome.
|
![]() |
![]() |
![]() |
#179 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 197
Karma: 1086780
Join Date: Jul 2012
Device: Kobo H2O Ed. 2, Glo HD, Glo, Touch, Clara HD
|
Thanks for the penelope script! Worked like a charm once I installed MARISA and set the path (was pleasantly surprised MARISA built and installed on OSX w/ llvm-gcc without a hitch). No more crappy Merriam...
p.s. would be great if a Mac user familiar with Git - which I am not - would submit a MARISA formula to Homebrew Last edited by stewacide; 01-02-2013 at 07:03 AM. |
![]() |
![]() |
![]() |
#180 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
Great, you are welcome.
I have just pushed a new version of Penelope (1.14), which allows you to create the EPUB dictionary index of your own dictionary, and with complete read from/write to StarDict, XML, Bookeen Cybook Odyssey and Kobo formats. Moreover, I uploaded some pre-compiled EPUBs here: http://code.google.com/p/penelope-di...ary_index_epub Docs and files: http://www.albertopettarin.it/penelope.html http://code.google.com/p/penelope-dictionary-converter/ |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's file format of dictionary | mnjkl | Kobo Reader | 2 | 12-12-2011 08:48 AM |
Dictionary format | jgray | Sony Reader | 1 | 10-25-2010 09:52 AM |
English Thesaurus in the dictionary format | osnova | Amazon Kindle | 14 | 12-12-2009 06:42 PM |
Dictionary: what version? can it be in firmware? | jedix | Sony Reader Dev Corner | 7 | 12-05-2008 12:00 PM |
Webster dictionary in DEPReader format | abigail | Reading and Management | 0 | 08-10-2005 08:00 AM |