OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: g333 on December 14, 2004, 09:00:49 pm

Title: Edit A Dictionary
Post by: g333 on December 14, 2004, 09:00:49 pm
I'm sure that everyone wants to but I just want to check. If there is a developer that can make something like zbedic that works on a horizontal or vertical screen.
Please help!

If you can add an edit entry button you would be loved by thousands.

Regards,

Glen
Title: Edit A Dictionary
Post by: rafm on December 15, 2004, 04:07:20 am
[/QUOTE]
Quote
If there is a developer that can make something like zbedic that works on a horizontal or vertical screen.

zbedic 0.9.3-1 has both horizontal and verical layout.

Quote
If you can add an edit entry button you would be loved by thousands.

This is more problematic since the dictionary databases are strictly read-only. Database based applications, like portabase, may be better for this purpose.
Title: Edit A Dictionary
Post by: lucho on December 15, 2004, 09:22:15 am
Adding entries to small zbedic dictionaries is probably not that hard to implement (and not that slow).

Before I lost interest in the development I was thinking of changing the bedic format to support two wordlists -- one big and read-only, and another (hopefully) small and editable. And of course to enhance xerox to merge the second section to the first.
Title: Edit A Dictionary
Post by: rafm on December 17, 2004, 01:46:07 pm
Quote
Adding entries to small zbedic dictionaries is probably not that hard to implement (and not that slow).

Right, everything is possible but needs some effort to be done:)

Adding some editing capabilities to zbedic seems to be quite a lot of work and I am still not convinced that this is really highly useful feature. If this should be used for creating "custom" dictionaries, there are some applications that can be used for that. If this should be used to correct mistakes in existing dictionaries, I would rather see a reporting tool, that would send corrections to the maintainer of the dictionary.

Maybe somebody could come with some good use case scenario, where the need for editing capabilities would be justified.
Title: Edit A Dictionary
Post by: ShiroiKuma on December 17, 2004, 07:36:23 pm
Quote
If this should be used for creating "custom" dictionaries, there are some applications that can be used for that.
Which applications do you have in mind. I am not aware of any.
Title: Edit A Dictionary
Post by: g333 on December 18, 2004, 09:26:37 pm
I want to be able to add stuff to the zten dictionary. Yesterday I was using it and someone asked me what shark fin was in Japanese and of course it wasn't in the dictionary. So, now I want to add it.

Also, if there was kind of a return button in the Zten program it would be great. I would be able to check the kanji and jump back to where I was in a large block of text.

I'm not a programmer but the only way I can do the jump thing is by loading the same program onto my C3000 twice and using the second program to check the words in the first.
Title: Edit A Dictionary
Post by: g333 on December 22, 2004, 09:53:55 am
Is there a smart person out there that can make a dictionary from the SL-C3000 source code, that will let me use simple txt files for a search?

I really want to be able to edit and add to my dictionaries.
Title: Edit A Dictionary
Post by: shula on December 31, 2004, 06:21:30 pm
i wrote a dictionary (text mode only, for now),
which uses a SQLite database, which means, a very simple data structure.

the program is interactive, and lets you insert new items,

i'm too lazy to package it nicely, but it works for me.
if you want it, or you have some decent web-space to share it with the world, (along with the db), please let me know

http://geocities.com/makorepolaazazel/pyth...thon-stuff.html (http://geocities.com/makorepolaazazel/python/python-stuff.html)
Title: Edit A Dictionary
Post by: g333 on January 01, 2005, 12:15:30 am
How do I use it? I think I found the SQLite software but I've never used it before.
Title: Edit A Dictionary
Post by: shula on January 01, 2005, 07:38:41 am
ok, the setup is not trivial, but not complicated:

first, sqlite is a database, like MySQL, but which is stored on a single file.

you can get my DB, or create it yourself using command line sqlite tool, or better, scripts, or GUIs (like sqliteCC etc).

you "should" have readline module installed somehow.
(and get my readline.py patch from my site - i updated it just now)

and install a pysqlite module.  their install tend to break on zaurus. sometimes. good luck.
Title: Edit A Dictionary
Post by: g333 on January 04, 2005, 05:39:22 am
Sorry, I can't get it to work  
Title: Edit A Dictionary
Post by: rafm on January 04, 2005, 08:12:08 am
Quote
i wrote a dictionary (text mode only, for now),
which uses a SQLite database, which means, a very simple data structure.

the program is interactive, and lets you insert new items,
SQLite could be a good choice if editing / adding new words should be added to zbedic. I will put edit/add on the TODO list of zbedic but there is no much chance to add this functionality soon (unless somebody is willing to help).

BTW, I made some scripts to convert Polish <-> German/English dictionaries (YDP) to zbedic format. When I find some time, I will make those scripts public (but not dictionaries because they are copyrighted).
Title: Edit A Dictionary
Post by: g333 on January 04, 2005, 09:53:35 am
Tell me how to do it and I'll start tonight.
Title: Edit A Dictionary
Post by: tsuribaka on January 04, 2005, 12:30:23 pm
I find quite a few useful words are missing from Jim Breen's edict file. I suppose the best solution would be to get them added to the official dictionary - is anyone familiar with Jim's policy for adding entries?

In the meantime, creating our own dictionary in the same format as Jim's (which would make it compatible with existing software) could be a solution, at least for software supporting more than one dictionary file. It would be trivial to create a program for adding edict entries (such a feature is on my todo-list for znarau), but it's also easy to create a file and add entries using a japanese-enabled text editor. The file format specs are available on Jim's site.
Title: Edit A Dictionary
Post by: g333 on January 06, 2005, 10:06:19 am
Does he know how to write EPWING files?
Title: Edit A Dictionary
Post by: shula on January 06, 2005, 04:44:25 pm
g333:
tell me why you can't run the python dictionary,
and i'll try to assist you (or maybe someone at zug->python specific forum?)

i guess the problems stem from pysqlite package not being installed correctly.
Title: Edit A Dictionary
Post by: halx on January 06, 2005, 06:25:27 pm
Quote
I find quite a few useful words are missing from Jim Breen's edict file. I suppose the best solution would be to get them added to the official dictionary - is anyone familiar with Jim's policy for adding entries?
Either submit it via New Entry Submission (http://www.csse.monash.edu.au/~jwb/wwwnewword.html) or discuss it on sci.lang.japan.
Title: Edit A Dictionary
Post by: g333 on January 08, 2005, 11:56:32 pm
Thanks. I've sent a heap but just need to wait till the're put in and turned into EPWING
Title: Edit A Dictionary
Post by: g333 on January 08, 2005, 11:58:47 pm
Please someone make software that is easy to use and can either let me edit the dictionary file or make EPWING files.
Title: Edit A Dictionary
Post by: shula on January 09, 2005, 06:30:09 am
my program will do the job for you,
but I NEED YOUR feedback !!!

how can i fix it if i dont know what went wrong ?!

please tell me know what went wrong, where are the error messages, etc.  if i can't help, the guys on the neighbor  Development -> Python will do :-)
Title: Edit A Dictionary
Post by: shula on January 09, 2005, 06:32:02 am
needless to say it works for me!
when we (me and you) will be done, i will make an IPKG out of it, and release it for the community.  

i guess that's how free software works ;-)
Title: Edit A Dictionary
Post by: g333 on January 09, 2005, 10:49:54 pm
I will try again.

If I can't get it to work could you please write a step by step installation guide. Maybe I'm just doing something in the wrong order or something.

Glen Charles Rowell
SL-C3000
Title: Edit A Dictionary
Post by: g333 on January 09, 2005, 11:09:59 pm
If it helps, when you check how many people view the pages you can kind of see people are interested in editing dictionaries like me. Also the ZBEDic is kind of a hot topic.

If someone could add human readable TXT and editable support to lots of the Zaurus dictionaries I'm sure even all the shy people just browsing would be happy.

I'm starting to uses my Zaurus mor and more and really like it.