Hi Eddie,

this shed some light onto the issue, thanks!

Now one solution would be to set this in all following aggregate AEs (the pipeline is a little... complex). I just tried it, it works.

What I would like to have is that the default view of the aggregate is being replaced with the plaintextSofa view. Is this possible?

Best,

   Niels


Eddie Epstein schrieb:
thanks for the hint. I tried to do it according to the manual. So this is
what I did in the aggregate AE descriptor:

 <sofaMappings>
   <sofaMapping>
     <componentKey>html2plaintextMapperAnnotator</componentKey>
     <componentSofaName>plaintextSofa</componentSofaName>
     <aggregateSofaName>_InitialView</aggregateSofaName>
   </sofaMapping>
 </sofaMappings>

Now this does the job, but the html2plaintextMapperAnnotator cannot
createView("plaintextSofa") because that view apparently already exists. I
think it is produced by some magic of the aggregate engine.


If html2plaintextMapperAnnotator the component that creates the new view,
this mapping is wrong. Mapping should only be done for the subsequent components
that are intended to receive "plaintextSofa" as their default view.

Regards,
Eddie


--
Niels Ott
Computational Linguist (B.A.)
http://www.drni.de/niels/

Reply via email to