uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asher Stern <aste...@gmail.com>
Subject External resource shared among AEs
Date Wed, 04 Jan 2017 14:35:20 GMT
Hi.
Using UIMAFit, is it possible to create a single instance of an
external-resource, and use it in several AEs, that are not connected to
each other?

They are *not* combined in an aggregate AE. They are totally independent.
Each AE runs in a different thread, and processes different document. But
they both need the same resource.

What I've realized is that every call to
AnalysisEngineFactory.createEngine(), with the analysis engine description
creates new instances of the external resources, even though the resources
descriptions is shared among the AEs when created by
AnalysisEngineFactory.createEngineDescription().

Thanks in advance,
Asher

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