DictionaryForMids Forum

Dictionaries => General discussions => Topic started by: n3wb13 on 26. January 2010, 17:43:52

Title: Submit new dictionaries?
Post by: n3wb13 on 26. January 2010, 17:43:52
I did a setup on new dictionaries and I'd like to submit them to the site. :) So how can I do this? And I also have another question : I don't want to put my real name in the download page so may I just put my internet name? Thanks so much.
Title: Re: Submit new dictionaries?
Post by: Gert on 26. January 2010, 19:01:31
Great to have new dictionaries :) What are these ?

Before publishing your dictionaries, please do a thorough testing of your dictionaries, in order to be sure that the dictionaries are set up correctly. Please also read the copyright considerations: http://dictionarymid.sourceforge.net/forum/index.php?topic=8.0 (http://dictionarymid.sourceforge.net/forum/index.php?topic=8.0).

Once you are done, please do contact Peter Kmet for publishing your dictionary on the download page.

When your dictionary is completely stable (and you do not expect to update your inputdictionaryfile for a long time), then you may want contact Jeff Krengel for inclusion in the dictionary archive.

For me personally it is ok if you put your 'internet name' (you should check with Peter Kmet also). However you should provide a reliable way to contact you, so that people can get into contact with you.

Regards,
Gert
Title: Re: Submit new dictionaries?
Post by: n3wb13 on 27. January 2010, 06:23:41
Thank you very much for your answer ;D I will submit the dictionaries tomorrow after doing some test with them.

BTW, the application icon "DictionaryForMIDs.png" doesn't have transparency so if you can add this to the image, then it will look nicer on mobile phone which has dark theme.
Title: Re: Submit new dictionaries?
Post by: Gert on 27. January 2010, 18:23:39
QuoteBTW, the application icon "DictionaryForMIDs.png" doesn't have transparency so if you can add this to the image, then it will look nicer on mobile phone which has dark theme.

Thanks for that hint ... could you create the updated pngs with transparency for the images ... ?

For those here too:
http://dictionarymid.svn.sourceforge.net/viewvc/dictionarymid/trunk/JavaME/res/icons/UIDisplayTextItems/large/ (http://dictionarymid.svn.sourceforge.net/viewvc/dictionarymid/trunk/JavaME/res/icons/UIDisplayTextItems/large/)
http://dictionarymid.svn.sourceforge.net/viewvc/dictionarymid/trunk/JavaME/res/icons/UIDisplayTextItems/big/ (http://dictionarymid.svn.sourceforge.net/viewvc/dictionarymid/trunk/JavaME/res/icons/UIDisplayTextItems/big/)
(the png-files in the subdirectories there)

Would be great if you could do that  8)

Regards,
Gert
Title: Re: Submit new dictionaries?
Post by: n3wb13 on 28. January 2010, 08:17:48
Here are the images. The "icons.zip" is made from the original image and the "icons_.zip" is the another one which was altered a bit.
And you may also want to see how it looks.

(http://img251.imageshack.us/img251/682/scr01i.jpg)(http://img192.imageshack.us/img192/9267/scr02k.jpg)

I have sent an email to Peter and am waiting for his reply.
Title: Re: Submit new dictionaries?
Post by: Gert on 28. January 2010, 18:43:55
Wow that was a fast update !!

I will put your updated icons in the DfM subversion repository ... but which ones are better ? Say what exactly were your modifications to the 'icons_' ?

Gert
Title: Re: Submit new dictionaries?
Post by: n3wb13 on 29. January 2010, 06:42:37
The "icons_" just has different color to the "icons" and was added the gloss effect. They are the same in quality and the choice depends on your taste 8)


Icons
Icons_
(http://img64.imageshack.us/img64/5404/dictionaryformidsapplic.png)(http://img138.imageshack.us/img138/5404/dictionaryformidsapplic.png)
Title: Re: Submit new dictionaries?
Post by: Gert on 29. January 2010, 19:42:48
Hmmm, anyone else who has an opinion here: "Icons" or "Icons_" ?

The "Icons_" effect looks nice; but I guess that I right now tend to prefer the colour of the old "Icons" style; well probably cause I am used to the old style; maybe tomorrow I change my mind and I will prefer the "Icons_" ;)

Anyone out there who has a preference ?

Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 01. February 2010, 22:55:58
Also, I have some new dictionaries. For now they are posted at http://java-ap.wz.cz/index.php?str=mydfm. Now I have to validate if all of them are from really open-source sources and to wait at almost one half when will be added new version of DfM with new Normation classes written by me. They are need 'cause application cannnot find without them correct word in those languages that their character set is not fully supported now.

//I hope it is written understandable enough because I don't have excellent English.
Title: Re: Submit new dictionaries?
Post by: Gert on 02. February 2010, 19:50:01
Thanks for your posting - yes it is understandable ! :)   Well, except for the "wait at almost one half" ...  :-\

I currently do not plan to release version 3.5 before those problems with StringColourItem are solved (if you are interested: there are other postings on that StringColourItem problems in this forum).

For your Normation classes, I'd recommend the following: just take the Normationxxx.class files and put them in the empty version of the 3.4 Jar file (the file DictionaryForMIDs.jar that is contained in DictionaryForMIDs_3.4.0_empty.zip). You need to put the 3 class files in the subdirectory de\kugihan\dictionaryformids\translation\normation of DictionaryForMIDs.jar. Do you know how to do this ? If not, then I could do this for you occasionally.

Best regards,
Gert

P.S.: great that you already have your dictionaries on the web, declared as 'beta-versions'.

P.P.S.: even if there is a dictionary that is not open source, then you still can use DictionaryForMIDs with that non-open source dictionary; but we can only put open source dictionaries for download on sourceforge.
Title: Re: Submit new dictionaries?
Post by: kopecky on 02. February 2010, 23:27:31
Well, my fault. However, it is very simple:

I sent you classes NormationLat v1.0, NormationRus2 v1.0 and NormationUkr v1.0. These I have compiled from you.

I tested them on real dictionaries by way you have described and I detected that they worked but with some objections. So I had to make edited version v2.0.

There is the problem. Now I have again only the *.JAVA files and I am not able compile the project, althought I can edit existed Normation or make new one. This is not difficult, this only logic. But I am not java programmer and I tried many ways how to compile the project in Netbeans and cmd.exe and every time it fails because some type of error. These programms are not intuitive enough for me, I think.
--> So if only you (or anyone else) were so kind and once more you recompiled the project. When I have these three *.CLASS files, I can finish it.
Link for files: http://java-ap.wz.cz/NormationV2.zip

One half of dictionaries declared as BETA are waiting for new Normation classes, because its contained languages have not fully suported alphabet. For example when I was testing submited classes with CzechTurkish dictionary I found out that in Turkish alphabet i without dot undet it is missing even in my edited NormationLat.

I know that it is possible to use DfM with non-open source dictionaries. But I have to think about used sources and read carefully licences to define which dictionaries were made from fully open sources and can be added here.
Title: Re: Submit new dictionaries?
Post by: Gert on 03. February 2010, 06:00:43
Ok !

Good that you check the dictionary's licenses, so we will not have any hassle afterwards.

I can compile your Normation classes for you when I sit in front of my development environment the next time. Or, maybe someone else is able to do this before me ! :)

Setting up a development environment for DictionaryForMIDs is rather straightforward, however some experience with Java development tools is certainly useful. At http://dictionarymid.sourceforge.net/development.html (http://dictionarymid.sourceforge.net/development.html) section "At Building the tools and applications" there is description. But no problem, there is no need that you spend your time to set up the development environment. Either me or someone else can do the compilation for you.

Regards,
Gert
Title: Re: Submit new dictionaries?
Post by: Gert on 05. February 2010, 19:41:04
@kopeky: I added your Normationxxx.java files to the DfM SVN repository.

The compiled .class files are here: http://www.kugihan.de/dict/download/special_versions/DictionaryForMIDs_for_kopecky.zip (http://www.kugihan.de/dict/download/special_versions/DictionaryForMIDs_for_kopecky.zip)

In that zip file you also find an updated jar file of the 3.4.0 empty version of DfM where I added the class files. That version should be suitable for your dictionaries.

Let me know if that version works for you.


n3wb13: Already any response from Peter ?


Regards,
Gert


Title: Re: Submit new dictionaries?
Post by: kopecky on 06. February 2010, 01:26:24
I'm sorry. Althought past release of my classes worked, this release doesn't work because of that:

- error in NormationLat: founded, corrected (non-updated name of newly added string function)
- errors in NormationRus2 & NormationUkr: removed controversial (error occuring) parts

I hope now it will be working.

Link: http://java-ap.wz.cz/NormationV3.zip

//In NormationRus2 & NormationUkr there were error somewhere in this part of script:

...
else if (defaultNormatedWord.charAt(charPos) == 'й') {
normatedWord.append("y");
}
...
else if (defaultNormatedWord.charAt(charPos) == 'ъ') {
normatedWord.append(".");
}
else if (defaultNormatedWord.charAt(charPos) == 'ы') {
normatedWord.append("y");
}
else if (defaultNormatedWord.charAt(charPos) == 'ь') {
normatedWord.append("."); //maybe needed backslash?
}
...

Now, there are not the same strings and no interpunction.
Title: Re: Submit new dictionaries?
Post by: Gert on 06. February 2010, 06:35:53
The corresponding class files are attached to this posting. Can you update the jar-file yourself ?

Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 06. February 2010, 10:11:44
Of course, it is no problem. I will test 'em in afternoon.
Title: Re: Submit new dictionaries?
Post by: kopecky on 06. February 2010, 11:59:12
Thank you for classes. Now I can say the classes work.

Now I have tried again compile in Netbeans and now by miracle I can compile without any errors. And I researched that single compiled classes don't work (even that from you-I get java-lang-thrown-error). But if I compile whole project, the java classes work.

Working example:
http://java-ap.wz.cz/MobileApplication1.jar

F.e. You can try search 'алкоголь' by typing 'alkogolx'.

Now I again try to build project with addition of dots and twice used strings.

EDIT: I hope that now I have fully working release of classes. The searching of dots assumes impossible. So the yards are replaced by 'x' again.
Title: Re: Submit new dictionaries?
Post by: Gert on 06. February 2010, 13:41:58
Great that now compiling works for you !

If you should have another update for one of your class files, just send it to me, after all your testing is complete and final (no need to hurry).

Best regards,
Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 06. February 2010, 18:07:20
Well, I've uploaded JAR archive with source code of new /edited files.

NormationLat: edited; extended character set
NormationRus2 & NormationUkr: new; typing azbuka by transcription into latin (+/- according the norm GOSP 1971, but no apostrophes and the yards are replaced by 'x')
NormationRusC & NormationUkr2: new; also typing azbuka by transcription into latin but according to +/- Czech ISO norm (letters are without diacritics, yards are replaced by 'x', ë is replaced by 'jo')
+ enhaced translation of environment of application into Czech language.

Czech language: tested; NormationLat, NormationRusC & NormationUkrC: tested; NormationRus2 & NormationUkr: tested in previous version (there was made no changes)

Link for files: http://java-ap.wz.cz/V7.ZIP

P.S. ZIP archive also contains empty JAR file.
Title: Re: Submit new dictionaries?
Post by: Gert on 06. February 2010, 18:51:09
Ok thanks a lot ! I will just wait a while before submitting your sources to sourceforge, just in case that there will be another update ....  ::)

Best regards,
Gert
Title: Re: Submit new dictionaries?
Post by: Gert on 07. February 2010, 20:54:43
@kopecky: could you provide for each NormationClass a description of its behaviour (so that it is clear, for example, what is the difference between NormationRus and NormationRus2). I will include that description on the project web pages.

Please, also include a description in each of the source file, and please do include your name and contact data in the source file.

I also would like to put on the contributor list, I assume this is ok for you ?

@n3wb13: also ok for you to be included in the contributor list ?

What contact data should I put on the contributor list for you ?

Thanks,
Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 07. February 2010, 23:10:16
Well, I can comment only classes what I have done. (I didn't made class NormationRus.)

NormationRus2 allows you to search words both in azbuka and latin transcription (according to the GOSP 1971 - but yards are 'x' and there are used no apostrophes).
NormationRusC allows you to search words both in azbuka and latin transcription (according to the Czech ISO norm - but yards are 'x', there are used no diacritics and ë is transcripted as 'jo').

NormationUkr allows you to search words both in azbuka and latin transcription (according to the GOSP 1971 - but yards are 'x' and there are used no apostrophes).
NormationUkrC allows you to search words both in azbuka and latin transcription (according to the Czech ISO norm - but yards are 'x', there are used no diacritics, ë is transcripted as 'jo' and ï as 'ji'.).

NormationLat is only upgrades today's version of it.
Czech translation was also only improved.

You can write full my name, but I don't want to have posted there my e-mail because of spam. If it is possible to make PHP form without visible e-mail (or hidden in source code visible at client), so do it (I have solved e-mail forms in this way). Otherwise, you can use link to the e-mail form on the my webpage, where are posted newly generated DfMs' dictionaries (http://java-ap.wz.cz/index.php?str=mail).
Title: Re: Submit new dictionaries?
Post by: Gert on 08. February 2010, 06:06:16
Thanks !

Well, do you have a clue what NormationRus does (I myself never looked at it) ? I mean, it seems that NormationRus was not suitable for your dictionary ?

And, for me as being ignorant of the Russian language: there are two different standards for the Russian transcription (GSOP and ISO) ?

Ok, I understand that you do not like your email published; uhm, I do not know PHP ... I will put the link to the web page. Please try to make sure that people can contact you via this way, also in a few years ;)

Best regards,
Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 08. February 2010, 09:41:22
Well, there are many differents standard. For example, look at wikipedia (http://en.wikipedia.org/wiki/Romanization_of_Russian).
//Now I see that properly name of first transcription standard is GOST 1971.

It seems that NormationRus does only filtration of interpunctions and spaces. Also it seems that NormationNor and NormationEng does nothing and NormationEng2 is only duplicate of NormationLat with lots of missing special letters.
Title: Re: Submit new dictionaries?
Post by: Gert on 08. February 2010, 19:47:37
Oh, seems like our NormationClasses need some cleanup ...
Title: Re: Submit new dictionaries?
Post by: Gert on 01. March 2010, 20:22:19
@kopecky: I just wanted to ask if there is any other update on your Normation classes. If not, then I will put the ones that you posted above in the DfM baseline.

Regards,
Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 02. March 2010, 12:25:33
No, I have done no changes. This is still the latest version.

I checked licensions of dictionaries, but I have no time to translate information about dictionaries from Czech into English. Now, I can write notes about licensions into Czech text on my web and I think it is has zerro value for you.
Title: Re: Submit new dictionaries?
Post by: Gert on 02. March 2010, 20:22:37
Ok, I just submitted your Normation classes to the Subversion repository. Could you please check the files at http://dictionarymid.svn.sourceforge.net/viewvc/dictionarymid/trunk/DictionaryForMIDs/src/de/kugihan/dictionaryformids/translation/normation/ (http://dictionarymid.svn.sourceforge.net/viewvc/dictionarymid/trunk/DictionaryForMIDs/src/de/kugihan/dictionaryformids/translation/normation/)

I will add the description on the web page later on.

In the file V7.zip there is also the file DictionaryForMIDs.languages. Is there any update in that file ?


QuoteI checked licensions of dictionaries, but I have no time to translate information about dictionaries from Czech into English. Now, I can write notes about licensions into Czech text on my web and I think it is has zerro value for you.

Well, if the author of the dictionaries is ok to distribute the license information in Czech only, then I am ok with that too.

Regards,
Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 02. March 2010, 22:02:44
The classes look alright.

There is no point license information in Czech language, but there is difficulty that I have description of that 30 (or littler over) dictionaries in Czech and there is no time to retype it into English at the moment.

Now, I can write licencions are totaly free expect Český tezaurus, Česko-brněnský slovník, Česko-valašský slovník, Česko-staroslověnský and Česko-slezský slovník.
Title: Re: Submit new dictionaries?
Post by: Gert on 04. March 2010, 06:45:18
Ok, do I understand well: the license is not a problem (at least for most of the dictionaries), but a descriptive text that gives information about the dictionaries is not yet available in English.
Well, the most important is to have an identification in the property infoText. Of course it may be nice to have an additional description in English which you can put in the zip file of the dictionary, but there is no need to do so (many dictionaries do not have an additional description in the zip file).

I added a page with descriptions on existing Normation classes: http://dictionarymid.sourceforge.net/newdictNormationLang.html (http://dictionarymid.sourceforge.net/newdictNormationLang.html)
Is this description ok ?

Best regards,
Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 04. March 2010, 10:41:54
The description is OK, but you have problem with code-page. Extra chars are not displayed correctly. You need to use HTML entity (&something;).

F.e. ñ ї
Title: Re: Submit new dictionaries?
Post by: Gert on 04. March 2010, 19:12:53
Thanks for that hint ! Should be ok now.

Best regards,
Gert
Title: Re: Submit new dictionaries?
Post by: kopecky on 04. March 2010, 19:22:07
Yeah, now it looks alright :)