You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Asher Stern <as...@gmail.com> on 2016/08/28 09:11:11 UTC

Read CAS in node.js

Hi.
I have a question.

Are there any good methods to read CAS from within node.js?

Thanks in advance,
Asher

Re: Read CAS in node.js

Posted by Asher Stern <as...@gmail.com>.
Yes, I agree.
What I actually need is a CAS deserialization library in node.js.



2016-08-29 11:58 GMT+03:00 Richard Eckart de Castilho <re...@apache.org>:

> Well, then the question is in which format you have your CAS...
>
> Some time back, a basic JSON serialization module was added to UIMA.
> That might help you sending a CAS from Java to node.js. However,
> the JSON deserialization on the Java side is still missing.
>
> Cheers,
>
> -- Richard
>
> > On 29.08.2016, at 10:54, Asher Stern <as...@gmail.com> wrote:
> >
> > Hi Richard.
> > Thanks very much!
> > However, we strongly prefer a solution which does not require this
> > interoperability of calling Java from node.js. So if such a solution is
> > available, it can be very helpful.
> >
> > Thanks a lot.
> > Asher
> >
> > 2016-08-29 11:45 GMT+03:00 Richard Eckart de Castilho <re...@apache.org>:
> >
> >> Hi Asher,
> >>
> >> if you can call Java code from node.js, then check out the CasIOUtil
> >> class in uimaFIT or wait a couple of days and then check out the
> >> brand new CasIOUtils class in UIMAJ-SDK.
> >>
> >> Cheers,
> >>
> >> -- Richard
> >>
> >>> On 28.08.2016, at 11:11, Asher Stern <as...@gmail.com> wrote:
> >>>
> >>> Hi.
> >>> I have a question.
> >>>
> >>> Are there any good methods to read CAS from within node.js?
> >>>
> >>> Thanks in advance,
> >>> Asher
>
>

Re: Read CAS in node.js

Posted by Richard Eckart de Castilho <re...@apache.org>.
Well, then the question is in which format you have your CAS...

Some time back, a basic JSON serialization module was added to UIMA.
That might help you sending a CAS from Java to node.js. However,
the JSON deserialization on the Java side is still missing.

Cheers,

-- Richard

> On 29.08.2016, at 10:54, Asher Stern <as...@gmail.com> wrote:
> 
> Hi Richard.
> Thanks very much!
> However, we strongly prefer a solution which does not require this
> interoperability of calling Java from node.js. So if such a solution is
> available, it can be very helpful.
> 
> Thanks a lot.
> Asher
> 
> 2016-08-29 11:45 GMT+03:00 Richard Eckart de Castilho <re...@apache.org>:
> 
>> Hi Asher,
>> 
>> if you can call Java code from node.js, then check out the CasIOUtil
>> class in uimaFIT or wait a couple of days and then check out the
>> brand new CasIOUtils class in UIMAJ-SDK.
>> 
>> Cheers,
>> 
>> -- Richard
>> 
>>> On 28.08.2016, at 11:11, Asher Stern <as...@gmail.com> wrote:
>>> 
>>> Hi.
>>> I have a question.
>>> 
>>> Are there any good methods to read CAS from within node.js?
>>> 
>>> Thanks in advance,
>>> Asher


Re: Read CAS in node.js

Posted by Asher Stern <as...@gmail.com>.
Hi Richard.
Thanks very much!
However, we strongly prefer a solution which does not require this
interoperability of calling Java from node.js. So if such a solution is
available, it can be very helpful.

Thanks a lot.
Asher




2016-08-29 11:45 GMT+03:00 Richard Eckart de Castilho <re...@apache.org>:

> Hi Asher,
>
> if you can call Java code from node.js, then check out the CasIOUtil
> class in uimaFIT or wait a couple of days and then check out the
> brand new CasIOUtils class in UIMAJ-SDK.
>
> Cheers,
>
> -- Richard
>
> > On 28.08.2016, at 11:11, Asher Stern <as...@gmail.com> wrote:
> >
> > Hi.
> > I have a question.
> >
> > Are there any good methods to read CAS from within node.js?
> >
> > Thanks in advance,
> > Asher
>
>

Re: Read CAS in node.js

Posted by Richard Eckart de Castilho <re...@apache.org>.
Hi Asher,

if you can call Java code from node.js, then check out the CasIOUtil
class in uimaFIT or wait a couple of days and then check out the
brand new CasIOUtils class in UIMAJ-SDK.

Cheers,

-- Richard

> On 28.08.2016, at 11:11, Asher Stern <as...@gmail.com> wrote:
> 
> Hi.
> I have a question.
> 
> Are there any good methods to read CAS from within node.js?
> 
> Thanks in advance,
> Asher