uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Can annotators dynamically set the typesystem it will create at runtime
Date Sun, 04 Nov 2007 18:44:51 GMT
When a UIMA application is initialized, all of the components' type
systems are combined / merged into a shared type system that the
application will use.  This type system is fixed at the start of the
run, and cannot be changed.

That being said, it is possible for a particular annotator to create an
instance of a type it doesn't know about until run time, provided that
some component in the application specifies and defines that type.

Does that cover the use case you have in mind?  If not, could you
provide a few more details of the use case?

Thanks. -Marshall

Ahmed Ragheb wrote:
> Dear all,
> For some application, the annotator needs to create an annotation of a type
> that is not defined in the type system. It will be consumed a component
> that doesn't need to know the type system in order to process the
> annotations. Is it possible that the annotator dynamically set the
> typesystem it will create at runtime?
> Thanks
> Best Regards,
> Ahmed
> -------------------------------------------------------------------------------
> Ahmed M. Ragheb
> Software Engineer
> Advanced Technologies Group
> IBM Cairo Technology Development Center
> IBM WTC, Egypt Branch, P.O.B.  166, El-Ahram, Giza, Egypt.
>    Tel: DID: (202) 35361048    S/B: (202) 35362536 Ext: 1048
>     e-mail: ragheba@eg.ibm.com
> "We think in generalities, but we live in details.", Alfred North Whitehead

View raw message