You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Ram Mohan Yaratapally <ra...@gmail.com> on 2009/11/12 14:46:29 UTC
Dynamic Annotators
Hi
I am currently evaluating Apache UIMA for one of our requirement. Can
somebody clarify me whether it is possible to load the Annotators
and Feature Properties dynamically?
- Ram
Re: Dynamic Annotators
Posted by Philip Ogren <ph...@ogren.info>.
Ram,
You might check out the uutuc project at:
http://code.google.com/p/uutuc/
The main goal of this project is to make it easier to dynamically
describe and instantiate uima components. The project started off as
utility classes for unit testing - but has really become a dynamic
descriptor framework. We need to revamp the documentation to make this
clearer. As a simple example you can instantiate an analysis engine
with something like:
TypeSystemDescription tsd =
TypeSystemDescriptionFactory.createTypeSystemDescription(MyType.class,
MyType2.class, ...);
AnalysisEngineFactory.createPrimitive(MyComponent.class, tsd,
"myConfigurationParameterName", configParamValue, ...);
It's not a complete library but it has come a long ways since we
released it last spring.
Cheers,
Philip
Ram Mohan Yaratapally wrote:
> Hi
>
> I am currently evaluating Apache UIMA for one of our requirement. Can
> somebody clarify me whether it is possible to load the Annotators
> and Feature Properties dynamically?
>
> - Ram
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.704 / Virus Database: 270.14.61/2497 - Release Date: 11/11/09 12:41:00
>
>
Re: Dynamic Annotators
Posted by Marshall Schor <ms...@schor.com>.
Ram Mohan Yaratapally wrote:
> Hi
>
> I am currently evaluating Apache UIMA for one of our requirement. Can
> somebody clarify me whether it is possible to load the Annotators
> and Feature Properties dynamically?
>
> - Ram
>
>
Please see this part of the docs that describe how to programmatically
load and run annotators:
http://incubator.apache.org/uima/downloads/releaseDocs/2.2.2-incubating/docs/html/tutorials_and_users_guides/tutorials_and_users_guides.html#ugr.tug.application.using_aes
Our test cases can also provide code samples of how descriptors are
dynamically built containing Annotators and type systems, and then
dynamically loaded.
-Marshall