Hi Jeff,

What you are trying to do is  run KIM with gate 5 and the resource descriptions 
from  gate 6.  On startup KIM loads the gate jar which is  version 5.2 and it 
does not include the HashGazetteer in it.  That is why GATE throws an exception 
that it can not find the class.  

You can use an alternative gazetteer from  GATE 5.2 .  The plugins in KIM 
reside in   KIM/plugins/  folder.

HTH
Philip Alexiev


On Sep 27, 2010, at 9:25 PM, Jeff Gehly wrote:

> I am attempting to create my own IE plugin for KIM using GATE 6.0 beta 1 on 
> Windows XP.  I developed the application using GATE's developer tool and 
> saved the application.  I placed the file, MyApp.gapp, in the 
> <KIMROOT>\context\default\resources folder. I modified the nerc.properties 
> file so that the line 
> 
> com.ontotext.kim.KIMConstants.IE_APP=IE.gapp, MyApp.gapp
> 
> is present in the file and replaces the previous IE_APP constants line.  Then 
> I ran kim.bat, and the system failed to start.  Attached is the zip file of 
> all the logs (with debug logging level).  The problem I'm having is that the 
> system tells me that I must initialize and load the ANNIE plugin, but ANNIE 
> is already loaded during the default loading process.  The steps to reproduce 
> this issue are as follows:
> 
> Use GATE 6.0 beta 1
> Create a directory <KIMROOT>\context\default\resources\AppResources
> Copy the ANNIE folder from <GATE6.0BETA1HOME>\plugins to the AppResources 
> folder created in the previous step
> Launch the GATE developer tool
> Using the CREOLE Manager, disable all creole plugins
> Create a new CREOLE Repository and select the AppResources\ANNIE folder.  A 
> new ANNIE Plugin should appear.  Check the box to load this plugin and hit 
> "OK."
> Create a corpus pipline (I called it "TestPipeline").
> Ensure the ANNIE plugin is loaded.  Load each of the following resources one 
> at a time, adding them to the processing pipeline after each resource is 
> added.  Create the resources by adding them and clicking "OK" at each 
> resource dialog without changing the defaults (the defaults should point to 
> <KIMROOT>\context\default\resources\AppResources\ANNIE).
> Document Reset PR
> ANNIE English Tokenizer
> Hash Gazetteer
> ANNIE Sentence Splitter
> ANNIE POS Tagger
> ANNIE NE Transducer
> ANNIE OrthoMatcher
> Save the application as MyApp.gapp to the <KIMROOM>\context\default\resources 
> folder.
> Modify the file <KIMROOT>\config\nerc.properties by adding MyApp.gapp to the 
> end of the <<com.ontotext.kim.KIMConstants.IE_APP=IE.gapp>>  line.  Do not 
> include the << or >>.
> Save the modified file.  
> Navigate to <KIMROOT>\bin.  Double click on kim.bat to start the KIM server.
> The program should show errors when attempting to load the MyApp.gapp 
> processing resource.
> 
> I cannot figure out what I need to do to allow this plugin to load.  I have 
> attempted every troubleshoot and I cannot resolve the log error message.  Any 
> help would be appreciated.
> 
> -- 
> Jeff
> <log.zip>

_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion

Reply via email to