[ 
https://issues.apache.org/jira/browse/UIMA-3677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937851#comment-13937851
 ] 

Peter Klügl commented on UIMA-3677:
-----------------------------------

Yes and no. I haven't used PEAR files myself yet.

UIMA Ruta (core) is essentially only an analysis engine. You could build a PEAR 
using the implementation and the scripts. I assume that you ask because of the 
UIMA Ruta Workbench. The Workbench does not yet support PEAR packaged analysis 
engines. It is however possible to include dependencies to java projects and 
therefore its maybe already possible to run a PEAR within the workbench from 
within a Ruta script. I haven't tried it yet.

In the scenario where you want to apply Ruta rules on the the result of an PEAR 
packaged analysis engine: This should work just right away. The normal use case 
is that you process the documents with the pear file and store the CASs in xmi 
files. Then, you put the xmi files, e.g., in the input folder of a Ruta project 
and process these CASs with a script of that project. In order to be able to 
apply rules on the annotations created by the PEAR, you need to import that 
corresponding type system in your Ruta script.

Please let me know if this answered your question since I am not completely 
sure :-)



> Using a Pear File (i.e LanguageWare Pear File) within UIMA RUTA
> ---------------------------------------------------------------
>
>                 Key: UIMA-3677
>                 URL: https://issues.apache.org/jira/browse/UIMA-3677
>             Project: UIMA
>          Issue Type: Question
>            Reporter: Nick Kolivas
>
> Greetings,
> Could you please advise on whether or not there is a way to install a pear 
> file( LanguageWare Pear File Project ) within UIMA Ruta in order to use the 
> annotations of the LW Project as an external resource and then use RUTA rules 
> for further processing?
> Best regards,
> Nick



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to