Skip to content
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

Task import fails with "bad number of sentences" but number of sentences is ok #79

Open
lefterav opened this issue Jan 24, 2018 · 0 comments
Labels

Comments

@lefterav
Copy link
Collaborator

lefterav commented Jan 24, 2018

I am having here an issue where source, reference and translation contain 907 sentences (this is also reported at the log output for all three imports). Experiment (source and reference) is imported with no issue, but importing the task gives me this error. #

[24-Jan-2018 14:37:31]  source.txt used as a source source.
[24-Jan-2018 14:37:31]  mt-l-gedit has 907 source sentences
[24-Jan-2018 14:37:31]  reference.txt used as a reference source.
[24-Jan-2018 14:37:31]  mt-l-gedit has 907 reference sentences
[24-Jan-2018 14:37:31]  Experiment mt-l-gedit uploaded successfully.
[24-Jan-2018 14:38:10]  Importing task: mt-l-gedit:mtmt
[24-Jan-2018 14:38:10]  translation.txt used as a translation source.
[24-Jan-2018 14:38:10]  mtmt has 907 translation sentences
[24-Jan-2018 14:38:10]  mtmt has bad number of sentences
[24-Jan-2018 14:38:10]  Parsing of mtmt aborted!

I have checked and there are no empty sentences, as in previous issue.
I suspect the error is due to bad file encoding, but I cannot confirm that yet

@lefterav lefterav added the bug label Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant