Re: [Kim-discussion] Topic

2011-07-15 Thread srecko joksimovic
Hi Philip, Hi Boyan, I'm still having a problem with Topic, and annotations. Here is what I did: I added acm_proton.n3 file to owlim.ttl, and imported new instances. When I run web UI, I'm able to see all I imported. After that I started GATE. Created query: PREFIX rdf:

Re: [Kim-discussion] Topic

2011-07-15 Thread Boyan Kukushev
Hi :) We think we finally found where your problem is: the labels in this RDF are wrong. *wrong* : Consumer Products@en *correct*: Consumer Products@en Steps to resolve: - re-create your RDF information - either move the language descriptor for each label outside the quotes, or remove it

Re: [Kim-discussion] Topic

2011-07-14 Thread srecko joksimovic
Hi Philip, with GATE is same as with Java code. I get the same annotations. I tried to edit nerc.properties and add Topic to *com.ontotext.kim.KIMConstants.IE_ANN_TYPES * list, but nothing changed*. * Do I have to change something else? Best, Srecko On Thu, Jul 14, 2011 at 12:26 PM, Philip

Re: [Kim-discussion] Topic

2011-07-14 Thread Philip Alexiev @ Ontotext
Can you describe the exact actions you take to add the topics to the IE logic ? The exact customizations you have made to KIM. Thanks, Philip On 14 Jul 2011, at 1:41 PM, srecko joksimovic wrote: Hi Philip, with GATE is same as with Java code. I get the same annotations. I tried to edit

Re: [Kim-discussion] Topic

2011-07-14 Thread srecko joksimovic
It is little hard to explain because I didn't do customisation. I took the file where one of my colleagues did it. File contains about 1200 instances and has content like this: @prefix protons: http://proton.semanticweb.org/2006/05/protons# . @prefix protont:

Re: [Kim-discussion] Topic

2011-07-14 Thread srecko joksimovic
I configured nerc.properties, and now I have this: com.ontotext.kim.KIMConstants.IE_ANN_TYPES=Abstract, Brand, ContactInfo, Date, Entity, Event, GeneralTerm, KeyLocation, KeyOrganization, KeyPerson, KeyPhrase, Location, Money, Object, Organization, Percent, Person, Position, Time, Acquirement,

Re: [Kim-discussion] Topic

2011-07-14 Thread srecko joksimovic
Hi Boyan, I didn't understand that I must create JAPE rule before I do everything else. I'll try this now. Thank you! Srecko On Thu, Jul 14, 2011 at 2:13 PM, Boyan Kukushev boyan.kukus...@ontotext.com wrote: Hi Srecko, In order to see your Topic annotations, you must create the JAPE rule

Re: [Kim-discussion] Topic

2011-07-14 Thread srecko joksimovic
Hi Boyan, I created JAPE rule like you and Philip sugested, and stored to context/default/resources/grammar/acm folder. Then I run gate, and created JAPE transducer, topic_jape. I didn't specify inputASName, but I did add it to pipeline. Saved application state, populated KIMServer corpus, and run

Re: [Kim-discussion] Topic

2011-07-14 Thread Philip Alexiev @ Ontotext
Hi Srecko, Make sure you add the JAPE transducer after the gazetteer. Also it will be much simpler to examine the process directly in the GATE interface. Create a file, add it to the corpus, set the corpus to the pipeline and execute the pipeline. Disable the last resource to not remove