 |
WaKan Project Website Forums about WaKan and Japanese & Chinese language
|
| View previous topic :: View next topic |
| Author |
Message |
highlight
Joined: 04 Aug 2008 Posts: 2
|
Posted: Mon Aug 04, 2008 9:05 am Post subject: importing problem |
|
|
| Hi, I canīt import my own edict file, I am trying to import it by this pattern (KANJI [KANA] /English_1/English_2/.../) but to no avail, only first row is imported but the others arenīt. What am I doing wrong? |
|
| Back to top |
|
 |
tony Co-Admin
Joined: 27 Nov 2003 Posts: 750
|
Posted: Mon Aug 04, 2008 1:25 pm Post subject: |
|
|
highlight,
There is a bug in the import routine which causes it to ignore a couple of dozen lines at the end of the file, so if your EDICT-formatted file is short, that could be the problem. The workaround for this is to put forty or 50 lines starting with a # at the end, which would be treated as comment lines if they are read. It seems unlikely, however, that exactly one line would be imported in this case.
Another possibility is that you have UNIX-style line feeds, instead of the CR (carriage return) LF (line feed) pairs expected in Windows text files.
If it's not either of those problems, please send me a copy of your file and I'll see if I can figure out what the problem is. I don't have the code, so I can't step through it with a debugger, but I can often find difficulties without that. My e-mail address is:
tonygh@verizon.net
If we get your dictionary file working, is it something other users might be interested in? If so, perhaps it could be posted on the download page of the web site-- I have access to that.
--Tony |
|
| Back to top |
|
 |
highlight
Joined: 04 Aug 2008 Posts: 2
|
Posted: Wed Aug 06, 2008 3:07 am Post subject: |
|
|
| Hi, thanks, that was the problem. No new dictionary, I just want to add my notes regarding kanji to wakan this way. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|