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

Validate TSV training input #281

Closed
annakasprzik opened this issue Jun 11, 2019 · 1 comment · Fixed by #299
Closed

Validate TSV training input #281

annakasprzik opened this issue Jun 11, 2019 · 1 comment · Fixed by #299
Assignees
Milestone

Comments

@annakasprzik
Copy link

Maybe Annif could check the input tsv files for trivial flaws such as excessive newlines not containing any tab character and give out a warning. Right now you receive an error from some Python method instead which might not be very transparent for users that are not proficient in Python (and even for those who are).

@osma osma added this to the Short term milestone Jun 27, 2019
@osma
Copy link
Member

osma commented Jun 27, 2019

Indeed, the TSV parser should be more robust.

See related discussion on annif-users. Here the issue was an empty line which caused an ugly error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants