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

#1443 - Make BratReader more forgiving #1444

Conversation

alaindesilets
Copy link
Contributor

@alaindesilets alaindesilets commented Dec 16, 2019

This is a partial implementation of the improvements described in the following issue:

#1443

I need some help to move forward because I am hitting a snag.

If you run the tests on this branch as is, they work fine. But if you remove comments from lines 115-119 in Mapping.java, test1mapping fails, with the following exception:

java.lang.IllegalStateException: Duplicate key org.dkpro.core.io.brat.internal.mapping.SpanMapping@2098d37d

I have no idea how to fix that. Can someone more knowledgeable with the Mapping data structure take a look at this? Thx.

@ukp-svc-jenkins
Copy link

Can one of the admins verify this patch?

@reckart reckart added this to the 1.13.0 milestone Dec 22, 2019
@reckart reckart added Module-io.brat ⭐️ Enhancement New feature or request labels Dec 22, 2019
@reckart reckart changed the title First stab at giving BratReader default mappings #1443 - Make BratReader more forgiving Dec 22, 2019
@reckart
Copy link
Member

reckart commented Dec 22, 2019

@alaindesilets I'm a bit confused seeing that there is another alaindesilets/Improvement/Make_BratReader_more_forgiving__Take2 branch in your repo - but there is no PR for it. What should I be looking at?

@alaindesilets
Copy link
Contributor Author

alaindesilets commented Dec 22, 2019 via email

@reckart
Copy link
Member

reckart commented Dec 22, 2019

Is that new work on the "take 2" branch then?

@alaindesilets
Copy link
Contributor Author

alaindesilets commented Dec 22, 2019 via email

@alaindesilets
Copy link
Contributor Author

alaindesilets commented Dec 22, 2019 via email

@alaindesilets
Copy link
Contributor Author

alaindesilets commented Dec 22, 2019 via email

@reckart reckart removed Module-io.brat ⭐️ Enhancement New feature or request labels Feb 28, 2020
@reckart reckart removed this from the 1.13.0 milestone Feb 28, 2020
@reckart
Copy link
Member

reckart commented Feb 28, 2020

Superseded by #1448

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

Successfully merging this pull request may close these issues.

3 participants