-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call to Tilde e-Translation fails #14
Comments
The call fails at Tilde. This CURL
using this test.txt produces http status 500 (internal server error) and the message
@andish can you please take a look? |
seems that there is an error on longer text for translation. I will invest this |
The reason is because the sample contains a sentence that contains more than 200 words. In natural language texts such cases do not exists. But as it is copied from wikipedia and all text concatenated into single sentence, it leads to the error: "sentence too long".
|
So I guess that the bug at least for this example will be fixed by freme-project/e-Internationalization#39 because it will introduce a lot of linebreaks and break the long sentence |
We will not fix this on the FREME side but I leave the issue open so the problem is documented. |
curl -X POST --header "Content-Type: text/html" --data "@SB50.html" "http://api-dev.freme-project.eu/current/e-translation/tilde?source-lang=en&target-lang=de"
SB50.txt
This might fix freme-project/e-Internationalization#35
The text was updated successfully, but these errors were encountered: