uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Zesch <ze...@ukp.informatik.tu-darmstadt.de>
Subject RE: Multiple views in Annotator Engine
Date Fri, 17 Aug 2012 08:40:12 GMT
Hi Andreas,

> i wonder if it is possible to define multiple sofa's (views) in a UIMA Collection
> Reader and pass those differnt contents to the sentence annotator of the
> openNLP Tools. Will there be a sentence annotation for each sofa (view) or
> does openNLP UIMA automatically choose the first sofa in the data?

Yes, this is possible. 
You need to use SofaMapping in order to tell the sentence annotator which view it should work
on.
 
> How could i implement such a CAS case where i'm able to annotate title,
> document and subtitle (for example) seperately in one chain?

a) Create a component that annotates title, document, and subtitle in the CAS (you might need
to introduce new types for that). Then they are not "really" annotated separately, but you
will be able to easily retrieve the other annotations for each part later.
b) Put everything in a view of its own.

HTH,
Torsten 

Mime
View raw message