hi guys,

i am doing a final year project regarding the ontology population using information extraction. i am to use Java and GATE. i need some help in the part of information extraction as this is supposed to be coded in java.

so please...help me start off my project. all valid responses will be appreciated. thanking you in advance.

7 Years
Discussion Span
Last Post by agugglez

we're not going to do your work for you.
What have you done already, and what specifically do you have problems with?
It's your project, so you'd better start learning about what you're supposed to do.

Votes + Comments
Here I was thinking he meant philosophical ontology.. haha

ok bro...m not being a leecher here....but i have already started the java coding....the only prblem is calling the GATE functions into my java code....can ya help me with that?? and also...my java program is command-based....i want to make it a GUI. for instance, reading a text file...and the GUI shows the text file and highlights the entities that are required. can ya help me with that??


hello, im not sure if i should post this here...
im trying to work with the GATE system, i want to perform the Named Entity Recognition task with ANNIE, an information extraction system that comes with GATE.
i want to call ANNIE in my code, so i have to use GATE Embedded.
and when i try to call the method Gate.init(), it gives me an exception:
this is the entire command line process, in windows:

C:\Documents and Settings\Administrator\Desktop\example>java StandAloneAnnie "target_text.txt"
Initialising GATE...
GATE home system property ("gate.home") not set.
Attempting to guess...
Using "C:\Program Files\GATE-5.1" as GATE Home.
If this is not correct please set it manually using the -Dgate.home option in your start-up script
Using C:\Program Files\GATE-5.1 as GATE home
Using C:\Program Files\GATE-5.1\plugins as installed plug-ins directory.
Using C:\Program Files\GATE-5.1\gate.xml as site configuration file.
Using C:\Documents and Settings\Administrator\gate.xml as user configuration file
Using C:\Documents and Settings\Administrador\gate.session as user session file
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/JDOMException
at gate.Gate.init(Gate.java:123)
at StandAloneAnnie.main(StandAloneAnnie.java:92)
Caused by: java.lang.ClassNotFoundException: org.jdom.JDOMException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 2 more

thanks for your help :)


hi again
i already solved my problem, i was missing a *.jar i had to add.
thanks anyway, i'll comeback if i need any help.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.