Closed drgriffis closed 6 years ago
Forgot to specify: using GATE Developer 8.5 build 56b50da.
Turns out it was definitely a bug that hit any GATE annotation without a string feature; quite how I'd not caught this before I'm not sure. Anyway it should work now (the plugin is still 1.0-SNAPSHOT so your existing test app will pick up the new changes automatically).
On a related note you might want to swap around the tokenizer and sentence splitter in your app, as the sentence splitter relies on having Token annotations -- if you run the app in your comment you'll notice you get a single sentence at the moment.
I'm trying to export dependency annotations from the Stanford CoreNLP toolkit to BRAT format for web visualization. When including "Dependency" as an Entity type in the BRAT configuration file, an ArrayIndexOutOfBoundsException is thrown in parsing the constructed annotation.
Full trace of relevant exception:
Steps to reproduce:
annotations.conf
BRAT configuration file with the following contents:annotations.conf
configuration file created in Step 5.It may well be that I'm not building my BRAT configuration file correctly, also. I haven't actually used BRAT before, so that may be the source of the error.
Thanks!