![]() |
#91 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
Tshering
![]() From this moment I'm in the fourth dimension. I'll slowly slowly ![]() |
![]() |
![]() |
![]() |
#92 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Does this mean you are now enlightened? Confused? Happy? Motivated?
Don't forget to make back ups of your files after every step. In case something goes wrong (and this will certainly happen at one point or another) you can always return to your last back up, rather than start the whole work anew. Which text editor do you use? For replacing some text by some other text almost any editor will do (for instance the simple "Editor" of Microsoft); for replacing line breaks by something you need another tool. If you have MS word you can use it. I guess notepad+ can also do it. |
![]() |
![]() |
Advert | |
|
![]() |
#93 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
I am all at once.
![]() ![]() ![]() ![]() ![]() I use my windows notepad. I'll install notepad + I'll go little by little, I will put a year but I'll. My cat tells me I'll go faster by learning the dictionary upside down. ![]() ![]() Last edited by gouni; 11-23-2012 at 04:10 PM. |
![]() |
![]() |
![]() |
#94 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Quote:
|
|
![]() |
![]() |
![]() |
#95 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Actually, in my dictionary "o'clock" is defined in o'.html, and the lookup works fine. So I am not convinced about this second character business and having to use 11.html. Maybe it works either way?
|
![]() |
![]() |
Advert | |
|
![]() |
#96 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
Notepad++ is a fine tool. Especially to edit files from a linux device under windows easily.
Here you go: http://notepad-plus-plus.org/ |
![]() |
![]() |
![]() |
#97 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Could well be. I only reported what I found in the 11.htmls of the Kobo dictionaries. Maybe only those words with the first or second letter being forbidden in filenames must go to the 11.html, and some other cases are optional.
|
![]() |
![]() |
![]() |
#98 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
Kobojashi
![]() |
![]() |
![]() |
![]() |
#99 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
|
![]() |
![]() |
![]() |
#100 |
Digital Amanuensis
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 727
Karma: 1446357
Join Date: Dec 2011
Location: Turin, Italy
Device: Several eReaders and tablets
|
I guess tshering's suggestion is to use:
Code:
<p>First phrase.<br/>Second phrase.</p> Code:
<p>First phrase.</p><p>Second phrase.</p> |
![]() |
![]() |
![]() |
#101 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
I don't understand
I have this on the screen with notepad +++ http://www.mediafire.com/?5g5y2pam055olvg Last edited by gouni; 11-24-2012 at 09:26 AM. |
![]() |
![]() |
![]() |
#102 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
|
This is from your example pic:
![]() The black'n white "LF" comes from Notepad++, its a config thingy to show you the normally invisible line feeds in the editor window. The file content itself is not affected. For a Linux file it is only "LF", for Windows it's "CRLF" and for Mac it's "CR". Notepad++ recognizes the line feeds of a file automatically and will keep them while saving. Please do never use the small Notepad delivered with Windows to edit Linux text files. You may toggle the visibility of the line feeds as follows: French: View -> Show Symbol -> Afficher les symboles de fin de ligne English: View -> Show Symbol -> Show End of Line Last edited by Koboyashi; 11-24-2012 at 12:26 PM. |
![]() |
![]() |
![]() |
#103 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
Thank Koboyashi.
I chose the end of line feed LF as shown above. I think I'll now move to the next step Create a dictionary with a few words and see if it works. ![]() It is thrilling. ![]() |
![]() |
![]() |
![]() |
#104 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Congratulations! Your dicitonary file looks good. Does your sample dictionary already work?
You will see that the whole definition is in one block without any formatting and difficult to read. I thought it might be nice to add a minimal formatting. One easy way would be by replacing all LF by <b/>. In the replace box of notepad++ select "Search mode: extended." You can search LF by "\n". Code:
Find what: \n Replace with: <b/> Quote:
The drawback of this formatting is that it uses a lot of space on the screen, and you will probably have to go through several pages in order to read the definition of an entry. Therefore, it maybe better to replace the LF by something else that gives you a hint about the the structure of the information, maybe "||" or any good visible symbol. Another thing: When producing the index file choose for encoding "encode in UTF-8 without BOM". If you choose "encode in UTF-8" the first line will not be taken into account by the dictionary engine. Last edited by tshering; 11-24-2012 at 01:41 PM. |
|
![]() |
![]() |
![]() |
#105 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 546021
Join Date: Nov 2012
Device: kobo
|
I have just read to you.
![]() I have a long time before you understand how to run a command by windows for marisa. ![]() I'll redo with utf8-bom I had a - 1 to my first and last index entry. At the moment I am testing marisa it build and marisa lookup. My eyes are like those of my cats at night. ![]() I learn while on the job, I have the head that heats. I start again with the right encoding I had on my five-word index with marisa lookup -1 1 2 3 -1 with utf8-bom i have 1 2 0 3 -1 I have a bug I can do ![]() Last edited by gouni; 11-24-2012 at 02:27 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |