Hi kevin,
when i do the translation, this is what i get on the localhost
{"responseData": {"translatedText": "Tio \u0109i estas testo
Propozicio"}, "responseStatus": 200, "responseDetails": null}
Why does it has a random behaviour,i.e sometimes it shows the
translated text at last or sometimes in the middle.
Anyway I am trying to fix the both ways, will acknowledge you once its
good to go.
Regards
Siddharth Singh
On Mon, Feb 23, 2015 at 1:35 PM, Kevin Brubeck Unhammer <[email protected]>
wrote:
> siddharth singh
> <[email protected]> writes:
>
> > Dear Devs,
> > I have completed the coding challenge for offline,Gui apertium tool.
> > Here is the link: https://github.com/siddharth7/Apertium-Gui
> > It is currently translating en-eo (english-esparanto) successfully
> > using the localhost server in real time i.e translates as you write.
> > I have the screenshot too. Please have a look and give your
> > suggestions and inputs.
>
> I get
>
>
> Traceback (most recent call last):
> File "backendapertiummbasic.py", line 27, in constantUpdate
> while(nestr.split()[i]!='responseDetails'):
> IndexError: list index out of range
> Traceback (most recent call last):
> File "backendapertiummbasic.py", line 27, in constantUpdate
> while(nestr.split()[i]!='responseDetails'):
> IndexError: list index out of range
>
>
> when I select English-Esperanto (Apertium-Gui revision
> 85694b63831309dc2eb9f8ea4c5c8c67e3c38841).
>
> Apy otherwise works fine:
> $ curl 'http://localhost:2737/translate?langpair=eng|epo&q=have'
> {"responseStatus": 200, "responseDetails": null, "responseData":
> {"translatedText": "Havas"}}
>
>
>
> --
> Kevin Brubeck Unhammer
>
> GPG: 0x766AC60C
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff