Don't know if there is an documentation, it is a JSON format, I had some problems to get that working and then brat people fixed things a bit.
Anyway, it is rather simple, have a look at the code, I don't have any better reference for you. https://github.com/apache/opennlp-sandbox/blob/master/opennlp-brat-annotator/src/main/java/opennlp/bratann/NameFinderResource.java It gets called with the model name and text, and then return Map<String, NameAnn> as JSON. Jörn On Wed, Oct 19, 2016 at 9:36 PM, Richard Eckart de Castilho < [email protected]> wrote: > Sorry, I meant protocol, not format... I do know the brat format. > > Best, > > -- Richard > > > On 19.10.2016, at 21:30, Joern Kottmann <[email protected]> wrote: > > > > Have a look at this page: > > http://brat.nlplab.org/standoff.html > > > > Jörn > > > > > > On Wed, Oct 19, 2016 at 9:06 PM, Richard Eckart de Castilho < > > [email protected]> wrote: > > > >> On 19.10.2016, at 20:59, Joern Kottmann <[email protected]> wrote: > >>> > >>> There is a dedicated servlet which implements exactly the protocol brat > >>> requires. We can extend it to make it available for other tools. > >> > >> Slightly off topic: is that format documented somewhere? I was looking > at > >> the brat documentation, but didn't find much info really. > >> > >> Best, > >> > >> -- Richard > >> > >
