Thanks for writing in, Francis. So I require the Apertium webservice in my
Ruby on Rails app. Probably gonna wait for the service to resume I guess. :D
Regards,
Aayush
On 7 February 2014 13:24, Francis Tyers <[email protected]> wrote:
> El dv 07 de 02 de 2014 a les 08:29 +0530, en/na Aayush Kothari va
> escriure:
> > Hey all,
> >
> >
> > So I wanted to test out Apertium's Javascript API in one of the web
> > pages in a Rails app I am working on, but none of the methods seem to
> > be working in the sense they are all returning null or false outputs
> > while the corresponding function calls should not.
> >
> >
> > For example, apertium.isTranslatable("en","es"); gives me false. And,
> > more importantly,
> > apertium.translateLanguage("hello","en","es",function(result){
> console.log(result.translation)}); gives me null.
> >
> >
> > No matter what the text, this keeps returning null.
> >
> >
> > Attaching my index.html.erb along. It'd be great help if anyone could
> > guide me with this.
> >
>
> Hi there!
>
> If you'd like access to the API but don't want to wait for it to be
> fixed, you can try installing apertium-apy[1] which is a really simple
> python script which performs the functions of the webservice.
>
> If you'd like more information, let us know.
>
> Fran
>
>
> 1. http://wiki.apertium.org/wiki/Apertium-apy
>
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff