Sorry for not being clear.  I was unclear from the documentation as to
whether the intent of the capabilities section of the Analysis Engine
Descriptors was to provide external guarantees provided by the framework
on the input/outputs to the annotator code or to provide a means for the
annotator code to determine internally which FS types to view and/or
produce (via the ResultsSpecification). 

So take the case of somebody using a primitive Analysis Engine with the
Document Analyzer.  If they leave a type out of the AEDescriptor
Capabilities section then the type is not serialized into the xmi file
and viewable by the Document Analyzer viewer, thus some "filtering" of
the output at least, is taking place.  Now suppose they have a type
system with Annotation type of Vehicle with subtypes Car, Submarine,
etc. but they only want to see in the Document Analyzer what was
annotated as a Vehicle.  My first instinct was that they could leave out
the types for Car, Submarine, etc., and only include Vehicle as an
output in the capabilities section and all of the annotations would be
serialized not as Car, Submarine, but as Vehicle and thus, when they
looked at the xmi file through the document analyzer a nice Vehicle type
would be viewable.  This isn't the case, instead the person gets the
subtypes, highlighted separately.  My guess is that the "filtering"
behavior is a result of an implementation of the Document Analyzer
rather than something enforced by the framework, but I wasn't sure.



-----Original Message-----
From: Marshall Schor [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 29, 2008 9:52 AM
To: [email protected]
Subject: Re: Question about Capabilities

Hi Frank -

Can you clarify your questions a bit more?

Does your question concern ResultSpecifications and how these are set 
(by default) from Capabilities?  Or something else?

I'm not sure what you mean by asking if subtypes are "available";  there

is no "filtering" of the CAS based on input specification - all 
instances of all types in the CAS are "available" to all annotators.   
There is some interaction with the Capability Language Flow mechanism - 
are you using this?

-Marshall

LeHouillier, Frank D. wrote:
> If I have UIMA type system with a supertype FS and a subtype FS and an
> Analysis engine whose capabilities only list the supertype, should the
> subtype still be accessible? As of 2.2.1, the Feature Structure
appears
> to keep its most specific type.  If I have an aggregate that specifies
> the supertype as an input, is the subtype also available?  What about
> features of the subtype but not of the supertype?  When I'm running
with
> such a type system the features of the subtype are apparently carried
in
> the CAS, even though I no longer need it.  Is this the expected
> behaviour? 
>
>  
>
> Thanks,
>
> Frank
>
>
>   

Reply via email to