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

[Feature request]: better error message when importing not well-formed conll files #339

Open
1 task done
sylvainloiseau opened this issue Feb 15, 2024 · 6 comments
Open
1 task done
Labels
feature request! New feature or request

Comments

@sylvainloiseau
Copy link

Is there already a feature request for this?

  • I have searched the existing issues

Describe the problem to be solved

When importing an CONLL file in a projet, the parser may reject the file due to an error in the format.

For instance, a file containing the following sentence is rejected

# sent_id = 7
# text = soobaab
# text_en = 
# doc_id = 0
# doc_title = "bar"
# origin_s_id = 2.6
1              soobaab        _              _              _              _              _              _              _              _

With the message :

0.conll contains sentence with empty metadata value

Because the text_en sentence parameters was given no value.

In order to correct more easily such file, it would be great to have an indication of the line number of the issue, or the feature/sentence_id concerned.

Suggest a solution

No response

@sylvainloiseau sylvainloiseau added the feature request! New feature or request label Feb 15, 2024
@B-CARON
Copy link

B-CARON commented Feb 15, 2024 via email

@sylvainloiseau
Copy link
Author

sylvainloiseau commented Feb 15, 2024 via email

@khansadaoudi
Copy link
Member

thanks for your feedbacks, your issue about the error messages that goes away quickly has been resolved

@B-CARON
Copy link

B-CARON commented Feb 19, 2024

Following your recent change, the flags remain permanently, and become a problem for the annotation. It would be an improvement if we could we close them manually.

@khansadaoudi
Copy link
Member

You can close it manually using the close button from the right
Capture d’écran du 2024-02-19 12-05-16

@B-CARON
Copy link

B-CARON commented Feb 19, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request! New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants