Hi Peter,

The logic is that since a sofa aware component may have one or
more input and/or output views, such a component needs to use
getView to specify which to use.

For sofa aware delegates, sofa mapping enables the delegate to
hard wire input and/or output View names in annotator code (or
annotator config parameters) and then have the real View names
assigned via mapping in the aggregate.

Eddie



On Thu, Apr 17, 2014 at 8:04 AM, Peter Klügl <[email protected]>wrote:

> Hi,
>
> as I understand the implementation, an AE is sofa aware if it specifies
> input or output views in its capabilities. Let's say it only specifies
> an output view, so it's sofa aware. If it is part of an AAE with sofa
> mapping (one AAE sofa mapped to the default input view of the AE), then
> it get passed the base CAS independently of the sofa mapping. Shouldn't
> it get the view mapped in the AAE?
>
> I have a simple AE that should just get the mapped sofa as input and
> then should create a new view, which name is given by a parameter.  Is
> it correct that I have to introduce another parameter for the input view
> and have to "getView" in the AE? Is there no way to just use the mapped
> sofa?
>
> Best,
>
> Peter
>
>
>

Reply via email to