uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Epstein <eaepst...@gmail.com>
Subject Re: Running Collection Processor Engine as Rest Web Service
Date Tue, 15 Nov 2011 14:18:11 GMT
Did you look at the UIMA SimpleServer?
http://uima.apache.org/sandbox.html#simple-server

One can put an entire CPE into an aggregate AE and run it as a service.
The server code would have to be modified to return a JSON format.

Eddie

On Thu, Nov 3, 2011 at 5:52 AM, Spico Florin <spicoflorin@gmail.com> wrote:
> Hello, Jens!
>  Thank you for your response. I've put those questions, since it was not
> clear for me how to integrate UIMA CPE with my web application.
> I would like to implement the following scenario:
> 1. A remote client (web application) sends a request to CPE using a docID
> 2. The CPE received the docID,reads the document and extracts the
> annotations
> 3. The result of the processed document should be sent back to the remote
> client in JSON format
> 4. The result of the processed document should be also stored in a
> triplestore
>
> I hope that the above information will give you some clue about what I
> would like to do (at the beginning).
>
> Thank you.
> Regards,
> Florin
> On Wed, Nov 2, 2011 at 5:43 PM, Jens Grivolla <j+asf@grivolla.net> wrote:
>
>> I'm not sure how you would want to expose that functionality.  Since input
>> and output would be done through the API, those are basically your Reader
>> and your Consumer. How would you expose other CollectionReaders and
>> CasConsumers as a web service?
>>
>> AAEs are obviously no problem, since they are nothing but a specific type
>> of Analysis Engine.
>>
>> Bye,
>> Jens
>>
>>
>> On 11/02/2011 04:27 PM, Spico Florin wrote:
>>
>>> Hello!
>>>   I would like to know if it is possible in UIMA to run CPE as a Rest Web
>>> Sevice? I've read that you can expose tha Analysis Engine (AE) . I'm not
>>> sure if CASReader,CASConsumer ,Aggregate Analysis Engine, CPE can be also
>>> exposed as REST Web Service. Can you please provide some example on how to
>>> do this?
>>>   I look forward for your answers.
>>>
>>> Thank you.
>>>
>>> Regards,
>>>   Florin
>>>
>>>
>>
>>
>

Mime
View raw message