uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Himanshu Gahlot <himanshu.gah...@cbsinteractive.com>
Subject Iterating over all annotation types of a token
Date Tue, 21 Feb 2012 18:44:43 GMT
Hi,

Is there a straightforward way to iterate over all the annotation types of
a token ? For example, if a token has been annotated as a "location",
"organization", "food-related entity", "subject-of-a-sentence", etc. (in
addition to being annotated as a token, of course), then is there a way to
fetch all the annotations for this token without iterating over each
individual type of annotation and comparing the position of this token in
every annotation ? Am I missing something obvious ?

Thanks,
Himanshu Gahlot
Software Engineer
T 415.344.1336
235 2nd St, San Francisco, CA 94105

[image: Cbs]

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message