dkpro / dkpro-core

Collection of software components for natural language processing (NLP) based on the Apache UIMA framework.
https://dkpro.github.io/dkpro-core
Other
195 stars 67 forks source link

Make BratReader more forgiving #1443

Open alaindesilets opened 4 years ago

alaindesilets commented 4 years ago

BratReader is currently very unforgiving. I propose to make the following improvements to it.

1) Create a BratRead without having to provide mappings.

2) Pass a directory or file to PARAM_SOURCE_LOCATION without having to worry about things like:

If this seems appropriate, I will create a feature request followed by a Pull REquest.

reckart commented 4 years ago

Since this is an enhancement and not a bug-fix, I'll target it to the 1.13.0 feature milestone and not to the 1.12.1 bug-fix milestone.

alaindesilets commented 4 years ago

I just realized that the latest changes I pushed break some tests in io-conll. I'll fix those and let you know.