Hi Michelle, If you bring in the patch to LVG you can certainly run multiple instances of cTAKES in the same JVM instance; however, you cannot run multiple thread using the same instance. I know in UIMA there are some methods for running multiple threads using a single instance, and this I believe will cause issues with LVG, and perhaps other code in cTAKES.
It isn't too hard to grab the LVG source and recompile it to include the patch. Thanks, IMAT Solutions <http://imatsolutions.com> Kim Ebert Software Engineer Office: 801.669.7342 [email protected] <mailto:[email protected]> On 02/25/2015 11:57 AM, Michelle Chen wrote: > Quick question, is it possible to run multiple instances of cTakes in > parallel? > > I'm currently using ctakes-clinical-pipeline's fastPipeline() and wanted to > run it over multiple documents. Would it be okay to create multiple > AnalysisEngine? How has other people done this process? > > I wasn't sure if this would work because of this Issue > <https://issues.apache.org/jira/browse/CTAKES-151>. > ------- > Michelle Chen > > Massachusetts Institute of Technology > Electrical Engineering and Computer Science > B.S. '14, M.Eng. '15 >
