• Welcome to DictionaryForMids Forum.
 

Where to get DictionaryForMIDs version 3.1.0?

Started by Inkus, 03. March 2007, 12:12:20

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Inkus

Hi!

In FAQ section: http://dictionarymid.sourceforge.net/faq.html#FAQ_3_1
it is said:
"Starting with version 3.1.0 DictionaryForMIDs supports 'Loadable Dictionaries', that is dictionaries can be stored as a normal files on the cell phone / PDA". However, I couldn't find this version to be downloadable anywhere.
I wanted to try all those steps listed in http://dictionarymid.sourceforge.net/faqLoadableDictionaries.html, and check if it is working on my phone (Nokia 6103, which has 128KB jar limit  >:().

Gert

Oh, that's great if you want to test the 'Loadable Dictionaries' !

DictionaryForMIDs 3.1 is delayed, mainly because of problems with SonyEricsson cell phones. Still, hope that we can do a test release of 3.1 'soon' (whatever that means ...). Just stay tuned ;)

Best greetings,
Gert

Gert

I just created a first test version of 3.1: you can download it at
http://www.kugihan.de/dict/download/test_versions/DictionaryForMIDs.jad
http://www.kugihan.de/dict/download/test_versions/DictionaryForMIDs.jar

This is a 'DictionaryForMIDs_empty' version (even if the file names do not contain the 'empty').

Would be great if you could do a test on your 6103 !

Gert

Inkus

Thank you for the test version. However, jar you have provided is bigger than 128KB (to be exact it is 333KB), and I couldn't install it on my phone (it has jar limit 128KB). The last stable "empty" version (don't remember which exactly) was less than 128KB, so I managed to install it successfully, but it didn't have loadable dictionary support.

Gert

Oh, understand !!

I placed a new version at
http://www.kugihan.de/dict/download/test_versions/jsr75/DictionaryForMIDs.jad
http://www.kugihan.de/dict/download/test_versions/jsr75/DictionaryForMIDs.jar

That version is still 171 kB, but I guess it should run on your 6103 (in the past the JAR file limits that were documented by Nokia usually could be exceeded quite a bit).

Actually, a pure JSR75-version (aka 'loadable dictionary'-version) would be even smaller, but I first have to write a few scripts. Please just try the 171 kB-version above.

Thanks for testing !
Gert

Inkus

Nope, still get "file size is too big"...  >:(

Gert

Hmmm, ok, I work on a smaller version !

Thanks for testing !!

Gert

Gert

I just quickly removed some a few files from the JAR-File and updated the download-files. It is now a 122 kB file. You can try again.

Thanks for being a patient tester !

Gert

Inkus

Thank you  ;)
I successfully managed to load the 122KB version to my phone. I followed instructions at http://dictionarymid.sourceforge.net/faqLoadableDictionaries.html. I used dictionary from DictionaryForMIDs_2.4.0_EngSpa_freedict. When I entered the path where dictionary folder was residing (it was "file:///C:/Galerija"), and reloaded application in my phone, I received a confirmation warning if I wanted to let the program access the path "C:/Galerija/dictionary", so I had chosen "Yes". Looks like everything is good, except when I try to translate a word, I get error message "Thrown java.lang.NullPointerException / null". Did it successfully execute at your phone/emulator? Or is it my phone problem?

Gert

Sorry, I forgot to document the following: you must pick a dictionary with version 2.5.0 or higher ! The older versions do have a different file format. Sorry again, I need to update this description on the web page.

I did do a test of the version that you downloaded with the emulator that is included in Sun's WTK - and it worked. I am pretty sure it should work on your Nokia also !

Actually, I do have a Series 40 Nokia around also, but I did not yet have time to test.

Gert

Gert

I just tested it on the Nokia Series 40 emulator: it works !

You will also get a NullPointerException when the dictionary was not found (well, agreed, a good message to the user should show up here instead of a NullPointerException ...).

And of course the version of the dictionary should be checked to ensure that it is >= 2.5.0.

On your Nokia you may have to give a path like "file:///C:/predefgallery" instead, could you try that also ? I don't know Nokia's Series 40 well enough on that point.

Besides, I just received the source code for a 'directory chooser' - if that is getting integrated in the DictionaryForMIDs source code, this will help a lot !

Greetings,
Gert




Inkus

OK, i'll try it later. Dictionary I am interested in is Eng-Spa, but I do not see it available to download (any version >= 2.5.0). Where do I find it? Is there any possibility to migrate(convert) it to version 2.5.0 by myself?

Gert

Well, we still search for someone who will write some scripts that will make available the dictionaries on the latest version of DictionaryForMIDs !

For migrating the Eng-Spa dictionary, you will have to get the 'inputdictionaryfile' (you can get it from me, tell me if you are interested), run it through DictionaryGeneration, then JarCreator. Everything as described on the homepage under "Setting up a New Dictionary".

Besides, there is the DTS English-Spanish dictionary which is on version 3.

Gert

Inkus

with DST dictionary, the problem again is size - my phone does not have enough memory for it, dictionary folder is 3MB in size, and I can manage to get max 2.5MB  :(
What is this "inputdictionaryfile"? I would be very interested to get it, if it is no trouble for you.

Gert

I sent the files to you by email. There are two inputdictionayfiles, because the dictionary is merged from an English->Spanish and an Spanish->English dictionary.

You find the necessary instructions under "Setting up a New Dictionary". You can skip most of step 1 "Configuring the properties of the file DictionaryForMIDs.properties" because we already have this file. However, in order to get the two dictionaries merged into one, you need to run DictionaryGeneration 2 times. There is an instruction under the property languageXHasSeparateDictionaryFile ("For documentation, see here.").

Happy dictionary creation !!

Gert

P.S.: For questions on setting up the dictonary, just post them somewhere here in the forum (I suggest you create a new thread on this)