Hi Silvana,

You can have a look at the example that is in your system documentation or 
here:
http://www.ontotext.com/kim/doc/sys-doc/kim-api/howto-inspect-documents-features-and-annotations.html

Also see the page for the KIMAnnotation - it has methods to get start and 
end offsets that show it's place in the document's content:
http://www.ontotext.com/kim/doc/sys-doc/kim-api/javadoc/com/ontotext/kim/client/corpora/KIMAnnotation.html
For example, we use this features in our WebUI to highlight searched 
annotations in a document, you may see it too.

A SemanticQuery can result in finding entities (or documents containing 
entities) that satisfy some conditions and relations. But it wil not return 
neither the exact annotations in a document nor their positions. Once having 
a result list of documents for the query, you can cycle through them to 
inspect annotations and their features. There is no other, more direct way, 
to do this.

Regards,
Ilian

----- Original Message ----- 
From: "Silvana Castro" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: 11 March 2007, Sunday 00:40
Subject: [KIM-discussion] locating recognized entities within a document...


Hello,

I'd like to know if there is a way to get the annotated entities from a 
given document  ... i've already seen the function getAnnotations(), which 
returns a set of annotations, but i'd like to locate the annotations in the 
page itself ... and it would be even better if given a SemanticQuery and a 
Document, i could get the position in the document where the entities 
(obtained in the query) are located

Thanks a lot

Silvana


__________ NOD32 2104 (20070308) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com




--------------------------------------------------------------------------------


> _______________________________________________
> NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of 
> this mailing list.
>
> KIM-discussion mailing list
> [email protected]
> http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com
>
>
> __________ NOD32 2104 (20070308) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
> 


_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

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

Reply via email to