Re: Moving brat annotator to opennlp.git

2016-10-19 Thread Alejandro Molina
There is no official information about brat automatic annotation services.
I just did not found any example about relations (so i proposed something
like:"R1": {"Arg1": "T5", "Arg2": "T3", "label": "relname"})

However, +1 if opennlp includes brat support.

By the way, I coded a pyhton Class  that deals with brat convertionts: it
includes static methods to go from .ann to python json, .ann to csv, string
(formated ann) to dict etc:

https://bitbucket.org/conabio_cmd/text-mining/src/80e27036ceaad31ef9e3df12fa7a37c557e23bf2/txtmining/txtmining/converters/brat.py?at=dev=file-view-default


-- 
Alejandro Molina Villegas
Ecoinformática, CONABIO, México

On Wed, Oct 19, 2016 at 3:10 PM, Joern Kottmann  wrote:

> 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 NameAnn> as JSON.
>
> Jörn
>
> On Wed, Oct 19, 2016 at 9:36 PM, Richard Eckart de Castilho <
> richard.eck...@gmail.com> wrote:
>
> > Sorry, I meant protocol, not format... I do know the brat format.
> >
> > Best,
> >
> > -- Richard
> >
> > > On 19.10.2016, at 21:30, Joern Kottmann  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 <
> > > richard.eck...@gmail.com> wrote:
> > >
> > >> On 19.10.2016, at 20:59, Joern Kottmann  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
> > >>
> >
> >
>


Re: Moving brat annotator to opennlp.git

2016-10-19 Thread Joern Kottmann
There is a dedicated servlet which implements exactly the protocol brat
requires. We can extend it to make it available for other tools.

Do you know any other annotation tools we might want to support? As far as
I am aware there is brat and not much else.

We should add support for the POS Tagger and Chunker, also in the formats
package. Shouldn't be too much work.

Jörn


On Wed, Oct 19, 2016 at 8:42 PM, William Colen 
wrote:

> +1
>
> Do you think latter we can expand the annotator server to other tools?
>
>
> 2016-10-19 7:05 GMT-02:00 Madhawa Kasun Gunasekara :
>
> > +1
> >
> > Madhawa
> >
> > On Wed, Oct 19, 2016 at 2:20 PM, "Shuo Xu"  wrote:
> >
> > > +1
> > >
> > >
> > > On Wed, Oct 19, 2016 at 12:46 AM, Joern Kottmann 
> > > wrote:
> > >
> > > > Hello all,
> > > >
> > > > what do you think about including the brat ner annotator in the 1.6.1
> > > > release?
> > > >
> > > > I believe it is important that we include it to allow our users to
> > easier
> > > > run custom annotation projects, as part of the move we need to extend
> > the
> > > > documentation so everyone can easily get it up and running and
> > understand
> > > > how it is supposed to work.
> > > >
> > > > Jörn
> > > >
> > >
> > >
> > >
> > > --
> > > 徐硕 XU Shuo
> > > 中国科学技术信息研究所  Institute of Scientific and Technical
> > Information
> > > of China (ISTIC)
> > > 北京市海淀区复兴路15号  No. 15 Fuxing Rd., Haidian District, Beijing
> > > 100038, P.R. China
> > > 电话:+86-10-58882447(O)  Tel: +86-10-58882447 (O)
> > > BLOG:http://blog.sciencenet.cn/u/xiaohai2008
> > > E-mail: "XU Shuo"
> > >"XU Shuo"
> > >
> >
>


Re: Moving brat annotator to opennlp.git

2016-10-19 Thread William Colen
+1

Do you think latter we can expand the annotator server to other tools?


2016-10-19 7:05 GMT-02:00 Madhawa Kasun Gunasekara :

> +1
>
> Madhawa
>
> On Wed, Oct 19, 2016 at 2:20 PM, "Shuo Xu"  wrote:
>
> > +1
> >
> >
> > On Wed, Oct 19, 2016 at 12:46 AM, Joern Kottmann 
> > wrote:
> >
> > > Hello all,
> > >
> > > what do you think about including the brat ner annotator in the 1.6.1
> > > release?
> > >
> > > I believe it is important that we include it to allow our users to
> easier
> > > run custom annotation projects, as part of the move we need to extend
> the
> > > documentation so everyone can easily get it up and running and
> understand
> > > how it is supposed to work.
> > >
> > > Jörn
> > >
> >
> >
> >
> > --
> > 徐硕 XU Shuo
> > 中国科学技术信息研究所  Institute of Scientific and Technical
> Information
> > of China (ISTIC)
> > 北京市海淀区复兴路15号  No. 15 Fuxing Rd., Haidian District, Beijing
> > 100038, P.R. China
> > 电话:+86-10-58882447(O)  Tel: +86-10-58882447 (O)
> > BLOG:http://blog.sciencenet.cn/u/xiaohai2008
> > E-mail: "XU Shuo"
> >"XU Shuo"
> >
>


Re: Moving brat annotator to opennlp.git

2016-10-19 Thread Rodrigo Agerri
+1

On Tue, Oct 18, 2016 at 6:46 PM, Joern Kottmann  wrote:
> Hello all,
>
> what do you think about including the brat ner annotator in the 1.6.1
> release?
>
> I believe it is important that we include it to allow our users to easier
> run custom annotation projects, as part of the move we need to extend the
> documentation so everyone can easily get it up and running and understand
> how it is supposed to work.
>
> Jörn


Moving brat annotator to opennlp.git

2016-10-18 Thread Joern Kottmann
Hello all,

what do you think about including the brat ner annotator in the 1.6.1
release?

I believe it is important that we include it to allow our users to easier
run custom annotation projects, as part of the move we need to extend the
documentation so everyone can easily get it up and running and understand
how it is supposed to work.

Jörn