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.


Messages - dreamingsky

Pages: [1] 2 3 ... 6
1
DfM-Creator - general / Re: DfM-Creator released
« on: 31. July 2012, 07:00:47 »
I e-mailed Karim about adding support for Java 1.6.  He said it wouldn't be possible.

I asked him if he could add some code in DfM-Creator to check the user's Java version.  If the user's software is too old, then DfM-Creator could ask the user to upgrade Java.  That might be nicer than the "Could not find the main class" error.

2
DfM-Creator - general / Re: DfM-Creator released
« on: 30. July 2012, 01:02:01 »
I updated to Java 1.7 and DfM-Creator works now.  I haven't built a dictionary with DfM-Creator yet.  I just loaded DfM-Creator and looked at the screens.

Unfortunately I cannot use Java 1.7.  One of the software I use for work isn't compatible with version 1.7 yet.
http://oracleformsinfo.wordpress.com/2012/06/17/frm-92095-oracle-jinitiator-version-too-low-disable-jre-1-7-auto-update-for-all-e-business-suite-and-oracle-forms-end-users/

So I'll have to downgrade back to version 1.6.  So DfM-Creator won't work for me again.  I'll e-mail Karim and see if he can add compatibility for DfM-Creator with Java 1.6.

3
DfM-Creator - general / Re: DfM-Creator released
« on: 27. July 2012, 06:09:55 »
I'm excited to release DfM-Creator.  But maybe we should do some beta testing before releasing it to the public.  Maybe we should revert the website to the old tools until we do some testing.

4
DfM-Creator - general / Re: DfM-Creator released
« on: 17. July 2012, 09:07:26 »
I get this error when I run DfM-Creator:

Could not find the main class:
de.kugihan.DfMCreator.DfMCreatorMain. Program will exit.

I can run FontGenerator.jar version 3.1.1 and run any dictionary.jar/jad with no trouble.

I am running:
- DfM-Creator dated 02Jul12 (maybe call it version 4.0.0 ?)
- Windows 7 x64
- Java SE Runtime version 1.6.0.33 32 bit
- Java SE Development Kit version 1.6.0.33 32 bit
- Java ME SDK version 3.0.5


It also doesn't run on my Windows XP machine.  When I double click on DfM-Creator.jar nothing happens.  There is no error message.  It just doesn't do anything.

That machine will also run FontGenerator.jar and any dictionary.jar/jad with no trouble.

That machine is running:
- DfM-Creator dated 02Jul12 (maybe call it version 4.0.0 ?)
- Windows XP x86
- Java SE Runtime version 1.6.0.33 32 bit
- Java SE Development Kit version 1.6.0.33 32 bit
- Java Wireless Toolkit version 2.5.2

5
DfM-Creator - general / Re: DfM-Creator released
« on: 17. July 2012, 07:20:09 »
Gottcha.  The download link is on this page:
http://dictionarymid.sourceforge.net/DfM-Creator/newdict.html

I think that page may be dead.  It links to the old instructions.

When people click on "Setting up a New Dictionary", they go to this page:
http://dictionarymid.sourceforge.net/DfM-Creator/index.html

I'll try to add a download link in the "index.html" page when I get a chance.

update: I added a link on the index.html page

6
DfM-Creator - general / Re: DfM-Creator released
« on: 15. July 2012, 07:22:46 »
The DfM-Creator looks really great.  The website explains how to use it.  But I couldn't find a download link.  Can users download DfM-Creator?  Or do they need to build DfM-Creator from the sourcefiles themselves?

7
Wow, this is great.  We've been trying to get a GUI for years.  Great work.

Would it be possible to make a screen before the DictGen screen to setup a dictionaryformids.properties file?  This is the hardest part for users.

Maybe a dropdown list of languages and a box for "other language" or something?  Then if users choose a language that already has a DictionaryUpdate class or Normation class, then the program will choose that class automatically.  Users really have trouble understanding what is a DictionaryUpdate class or Normation class.

Maybe a box to choose the Separator Character (tab, comma, semicolon, etc)?  Also a box where users enter the webpage where they got the dictionary?  Many users don't document where they got their dictionary.

Again, great work.
Jeff

8
I just looked at the instructions page again:
http://dictionarymid.sourceforge.net/newdictMultiple.html

I realized I wrote those instructions before I released the setup.bat automated script.  Before we used to build all dictionaries manually.

Looks like I need to update the instructions page to make it clear that multiple input dictionaries will require manually building.

I'm really sorry for the hassle.

9
Sorry, setting up this kind of dictionary is pretty tricky.  You won't be able to use the automated script "setup.bat".  You'll have to build it manually.

Quote
1. I already have one named 'Dictionary_input' with my language1>language2 word list, but how do I get the other? Do I just create a new text file and save it in the 'Dict' folder alongside the other one, then write my second word list there? What would I name that file if the first one is already called 'Dictionary_input'?

Make another text file with language2>langauge1 and save it as Dictionary_input.txt in a different directory than the other file.

You'll have to build the first half of the dictionary with the first Dictionary_input.txt.  Then move that Dictionary_input.txt to another directory and move the 2nd Dictionary_input.txt to the Dict folder and build the 2nd half of the dictionary.


Quote
2. I'm having great trouble understanding Step 2. Which properties file is the 'outputted' one? At that point I end up with 3 properties files. One in the 'DictionaryEngGer' folder following the example, one in the 'Dictionary' folder and one in the 'Dict' folder.

The 'outputted' one is the in the Dict\Dictionary directory. Actually you will have 4 properties files:
1. input for 1st half [Dict\]
2. temporary output file for 1st half [Dict\Dictionary]
3. input for 2nd half [Dict\]
4. completed output file [Dict\Dictionary]

Quote
3. Which is the 'final' DictionaryForMIDs.properties file?

It is #4 in the previous example.  It is the file for when you've built both halves of the dictionary.

Quote
4. In the very last instruction before Step 3 where it says 'copy one line into the DictionaryForMIDs.properties file'. Which lines are copied from where to where exactly? I can't make sense of it for some reason or another.

You will copy info from "2. temporary output file for 1st half [Dict\Dictionary]" to "4. completed output file [Dict\Dictionary]".

Quote
5. What does running the JarCreator tool entail? Does it just mean clicking on the setup file in the 'Dict' folder? I know it's in the tools folder, but clicking on it doesn't seem to do anything.

Sorry, you won't be able to use the setup.bat file.  You'll need to run JARCreator manually.  JARCreator puts all the dictionary files into one file that can be run as a program.


Sorry, but you'll have to have a good understanding of old-school work in Command Prompt to do this.  Open setup.bat in Microsoft Word and you will see the commands to build a dictionary.

Step 1 (build dictionary):
java -jar ..\DictionaryGeneration.jar Dictionary_input.txt dictionary .

Step 2 (put all files together):
java -jar ..\JarCreator.jar dictionary .. JAR

You'll need to go Start Menu -> Programs -> Accessories -> Command Prompt and then run the tools manually.

Honestly, if I were you, I'd just make 2 separate dictionaries.
1. Lang1 -> Lang2
2. Lang2 -> Lang1

Doing it this way will allow you to use the setup.bat file.  Sorry I don't have better news.

10
Problems / Re: how to make the translation search case (in-)sensitive
« on: 06. September 2010, 09:24:20 »
I uploaded a new version of the dictionary.

Jeff

11
Problems / Re: how to make the translation search case (in-)sensitive
« on: 03. September 2010, 16:05:12 »
Excellent, I'll add NormationEng to the dictionary and upload a new version this weekend.

Jeff

12
Problems / Re: how to make the translation search case (in-)sensitive
« on: 01. September 2010, 16:10:14 »
Gert

The Chemical Elements dictionary uses this for the UpdateClasses:

language1DictionaryUpdateClassName: de.kugihan.dictionaryformids.dictgen.dictionaryupdate.DictionaryUpdateEngDef
language2DictionaryUpdateClassName: de.kugihan.dictionaryformids.dictgen.dictionaryupdate.DictionaryUpdatePartialIndex

The carbon search will come from language1.  I can add this:
language1NormationClassName: de.kugihan.dictionaryformids.translation.normation.NormationEng

Will NormationEng only change Carbon -> carbon?  Will it also change carbon -> Carbon?

I can now remove DictionaryUpdatePartialIndex since it is used as the default now.

Jeff

13
I uploaded a fixed version of the dictionary.  Sorry about that.

Jeff

14
Oops, maybe I made a mistake building that dictionary.  Currently to build a "merged dictionary" you have to manually change these settings in DictionaryForMIDs.properties:

language1IsSearchable
language2IsSearchable
language1IndexNumberOfSourceEntries
language2IndexNumberOfSourceEntries
indexFileMaxSize
dictionaryFileMaxSize
searchListFileMaxSize

Anytime you make a change to dictionary_input.csv, then you need to manually change DictionaryForMIDs.properties again.  I may have forgotten to manually update it the last time I built it.

I'll look into it this weekend.  Sorry.
Jeff

15
General discussions / Re: Build environment
« on: 08. August 2010, 02:11:15 »
I uploaded the new 3.5.7 build environment and the new newdict.html file.

The build environment is in the "BuildEnvironment" folder in File Manager.  I kept the "DictionaryForMIDs" folder for the empty JAR/JAD files.  You can rename the folders if you'd like.

Quote
And one quick question: from newdict.html how to navigate to newdictProperties.html ?

Oops, I forgot to make a link to newdictProperties.html.  Thanks for catching that.  I added it to newdict.html.

Jeff

Pages: [1] 2 3 ... 6