Hello Cong,

Do you see the Lookup annotations you expect with a different type - for 
example Person, Location or Organization.  The way the pipeline works, is it 
uses the gazetteer to create Lookups. After this, some more resources proceed 
over them. Some of them create the corresponding Person, Location,Organization 
annotations from the Lookups  of this type.

A simple example:

Let's assume the gazetteer has recognized  "John Smith" in the text and created 
a Lookup with feature class=protont:Person. Then a grammar sees this Lookup and 
its type and created a Person over the same span.

So two variations here:

1. The annotations do not exist as a Person/Location/Organization  annotation.
In this case, the gazetteer failed to recognize the phrase in text. You should 
check the setup.

2. The annotation exists as a Person/Location/Organization annotation.
In this case everything is OK and the gazetteer recognized them and they were 
transformed from Lookup to one of this type.

In order to see the Lookup annotations, you have to disable the Annotation 
Cleaner processing resource at the end of the pipeline.  It serves to remove 
the temporary annotations. Only annotations in the whitelist are left. The 
whitelist is defined in  KIM/config/nerc.properties   with the 
com.ontotext.kim.KIMConstants.IE_ANN_TYPES . Any annotation not in this list is 
removed. The reason is, some annotations,  Lookup included, serve only to 
create annotations of the meaningful types in the whitelist.

Hope this makes the horizon a little clearer.
Please feel free to ask for more clarification.

Happy holidays.
Philip Alexiev
Software Engineer, KIM team


On 30 Dec 2011, at 2:11 PM, Cong Nguyen wrote:

> Hi everyone.
> I follow KimDocs-3.0-EN/CaseStudy-IntegrationDbPedia.html and Customize KIM 
> 3, and in step setting up the gazetteers, when i run KIM GATE,  i don't see 
> any Lookup annotation. Is there any problem in my result?
> Please see my attacked files.
> Thank you and regards.
> -- 
> Cong Hoang Nguyen
> University: Hanoi University of Science and Techonology.
> Email: congnh0...@gmail.com
> Facebook: http://www.facebook.com/monday0rsunday
> YH: congnh0902
> Skype: monday0rsunday
> Phone: (+84)1678565200
> 
> <do not see any Lookup 
> annotation.rar>_______________________________________________
> Kim-discussion mailing list
> Kim-discussion@ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion

_______________________________________________
Kim-discussion mailing list
Kim-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion

Reply via email to