• Welcome to DictionaryForMids Forum.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Cryme

#1
Hi Gert,

I don't mind being a tester at all.  But I should warn you that at times I can get pretty busy.  I'm starting work again next week.  But I'll do my best and I know it doesn't take much time to test out a few things.  Just send me an email whenever you have a testing request.  You can publish my name (Ryan Newson), but I'd prefer if you really need to publish my email address use rwnewson (at) hotmail.com   Also keep in mind that I only have one cell phone - my Motorola K1 KRZR (quite new).

I tested the prerelease4 version of 3.2.0 that you gave me the link for, and it seems to work perfectly.  I created my Cantonese dictionary with it and it's really good.  I used the same Normation and Update classes as CEDICT and they work great.  But I still would like the additional changes as I indicated in my other thread:
http://dictionarymid.gottfried-signs.ch/index.php?topic=79.0

I would ordinarily give you my dictionary to publish on your site (if you're interested) (Cantonese is Chinese, but quite different than CEDICT which is Mandarin only), but I can't take credit for the database.  I'll have to get permission from the author of the database I used.

Ryan
#2
Okay well thanks for all the info.  It was very helpful.

If anyone wants to help me make a Normation Class or Update Class, I'll tell you what I need.  It's very simple.  My input database is in the format I specified in my previous message (but I can change it if need be).  The rules I'd like to implement are:

1) If user enters a string without a number, search returns all words with numbers at the end ranging from 1-6.
   ie- search "gai" returns all "gai1", gai2", "gai3", "gai4", "gai5", and "gai6"
2) Rule (1) applies for strings containing multiple words... essentially split the search string into individual words first.
   ie- search "gai bei" returns all "gai1 bei2", "gai3 bei3", "gai6 bei4" etc.
3) [optional] If one of the words the user enters begins with "l" (lower case L), the search returns words that begin with the "l" as well as those beginning with "n".  (This rule is specific to Cantonese).  It is NOT necessary to go the other way around (n->l)
   ie- search "leui" returns "leui4", "leui1", "neui5", "neui2", etc...

These rules are for the Cantonese 6-tone numeral yale romanization system.  If anyone can help please let me know.

If not, its no big deal.  I'd appreciate any help I can get though!

Ryan
#3
Nice...  thanks so much Gert!  So let me just clarify - you only needed to change the emtpy dictionary file?  So the DictionaryGeneration.jar and JarCreator.jar are the same... I just need to download the new "empty" file and use that in one of the fields of the JarCreator command line?

Ryan
#4
Wow that's amazing!  Such a simple problem...  I can't wait to download the real 3.2.0 when it's up.  I want to use the DictionaryGeneration.jar and JarCreator.jar.  Will those be updated too?

Yes it would be nice if the phone didn't just say "Application Error".   How vague can it be?

Ryan
#5
version 12 - "Application Error"

version 13 - installed fine and runs with "test test" as before

Ryan
#6
"Application Error" for v11
Ryan
#7
No.  This results in the "Application Error".  This is the first time I've seen it say "version 2.7.0" and it not work.

Ryan
#8
Hi Gert,

That jar file installed perfectly.  When I run it, it has "test" in the title, and "test test" displayed below it, and nothing else.

Ryan
#9
Hey Gert,

Yes that file installed perfectly.  When I ran it, it threw an exception - something about property file could not be opened.  But at least it installed.
What's the difference between the two jar files?

Very confusing...
Ryan
#10
Thanks guys!

I didn't think about the wild card characters... worst case scenario I'll just get used to typing "gai?" to represent all forms of gai...  but if I didn't have to type that question mark in it would be slightly easier.

I included the following update classes into my dictionary that CEDICT seems to use:

language1DictionaryUpdateClassName=de.kugihan.dictionaryformids.dictgen.DictionaryUpdateEngDef
language2DictionaryUpdateClassName=de.kugihan.dictionaryformids.dictgen.DictionaryUpdateCEDICTChi

I noticed one small change - Now I get search results with the search string anywhere in the translation and not just at the beginning.
But otherwise I do not see the change I was looking for (getting all tone results without entering tone number).  I don't know why... perhaps my formatting is slightly different or something...  My dictionary database has the form...

Quote
to nod one's head   岌頭 ngap6 tau2
high; majestic; fork in road   岐 kei4
Qishan (place in Shaanxi)   岐山 kei4 saan1
steep, precipitous; peak   岑 sam4
...where there are tabs separating the english from the characters.  Perhaps I need square brackets around the pinyin like CEDICT does...

Actually, now that I think of it, maybe it is because CEDICT has its entries in the "accented" form and only uses the numbers as optional input.  I would imagine it converts numbers to accents and then looks it up?  Mine would be the other way around.  I hate the accented form so I always use numbers.

Ryan
#11
Ah yes... thank you!  I missed that before.

But for some reason it doesn't work to use the "/" character in front of my search string.  Hmmm  I'll look into that more...  Anyways thanks!

Ryan
#12
Sorry!  Still doesn't work... gives me the "Application Error" message again.  It must be something really basic.  Is there a way to display this test string with the 2.7.0 version and see if that works?  I don't know... just trying to help.

Ryan
#13
Hello,

I was just wondering if anyone figured out how to do searches in DfM on cell phones where you can specify 2 words and not have it considered as a single string.  Maybe have the option of searching for word1 AND word2 (but not necessarily together) or word1 OR word2.

For example, right now in my dictionary if I search for "fried chicken" it will look for that string specifically... but won't return entries for "fried crispy chicken".  I'd like it to return that one.  Any ideas?

Thanks!!
Ryan
#14
I'll be more specific...
Right now in my dictionary I am using the following Normation classes:

language1NormationClassName: de.kugihan.dictionaryformids.translation.NormationEng
language2NormationClassName: de.kugihan.dictionaryformids.translation.Normation

(in my properties file before I use the DictionaryGeneration.jar)

I tried using:
language2NormationClassName: de.kugihan.dictionaryformids.translation.NormationChi
but during DictionaryGeneration it throws an error about "Normation Class not found"

I also initially tried putting another ".normation" in between the ".translation" and ".NormationXXX" but it also can't find those.

Hope that helps,
Ryan
#15
Both of those files result in an "Application Error" message, just like before.
Sorry!  :)
Ryan