uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Paradkar" <parad...@us.ibm.com>
Subject Newbie question on reinitializing an AnalysisEngine in a composite pipeline
Date Mon, 06 Aug 2018 13:38:07 GMT
I tried to dig around in the UIMA docs, but could not find the answer in 
obvious place.

We have a composite descriptor as below that I initialize using 
                AnalysisEngine ae = UIMAFramework.produceAnalysisEngine(

the RegExConceptMapper in turn is another composite which has couple of 
ConceptMapper dictionaries. We use two dictionaries, because, one is more 
transient in nature than the other (entries in it need to be updated on a 
daily basis). In order to update the more transient dictionary content, I 
would like to issue a reconfigure () call on just the relevant 
analysisEngine and not the entire pipeline if that is possible.

(I know I can always do ae.reconfigure() which will destroy and 
re-initialize the entire pipeline). I was wondering if there is a way to 
call reconfigure() only on one of the analysis engines in the composite. 

(I tried to dig into the ResultMetaData class that is returned as a call 
to aae.getAnalysisEngineMetaData();, but could not see how to make 

Will appreciate any pointers. Thanks in advance.


                <delegateAnalysisEngine key="InstanceMatcher">
                        <import name=ConceptMapperTerms"/>
                <delegateAnalysisEngine key="TypeMatcher">
                        <import name="ConceptMapperTypes"/>
                <delegateAnalysisEngine key="RegExMatcher">
                        <import name="RegExAnnotator"/>


<?xml version="1.0" encoding="UTF-8"?>
<analysisEngineDescription xmlns="http://uima.apache.org/resourceSpecifier
    <delegateAnalysisEngine key="RegExConceptMapper">
      <import name=

...other engines

-Amit Paradkar
Distinguished Research Staff Member, Cognitive Service Foundations
IBM TJ Watson Research Center
914 945 1141

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message