You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by Joern Kottmann <ko...@gmail.com> on 2016/10/18 16:46:43 UTC

Moving brat annotator to opennlp.git

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

Re: Moving brat annotator to opennlp.git

Posted by Joern Kottmann <ko...@gmail.com>.
Looks like POS Tagging is not supported by Brat.

Jörn

On Wed, Oct 19, 2016 at 8:59 PM, Joern Kottmann <ko...@gmail.com> wrote:

> 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 <wi...@gmail.com>
> 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 <ma...@gmail.com>:
>>
>> > +1
>> >
>> > Madhawa
>> >
>> > On Wed, Oct 19, 2016 at 2:20 PM, "Shuo Xu" <pz...@gmail.com> wrote:
>> >
>> > > +1
>> > >
>> > >
>> > > On Wed, Oct 19, 2016 at 12:46 AM, Joern Kottmann <ko...@gmail.com>
>> > > 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"<pzczxs AT gmail DOT com>
>> > >            "XU Shuo"<xush AT istic DOT ac DOT cn>
>> > >
>> >
>>
>
>

Re: Moving brat annotator to opennlp.git

Posted by Alejandro Molina <am...@conabio.gob.mx>.
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&fileviewer=file-view-default


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

On Wed, Oct 19, 2016 at 3:10 PM, Joern Kottmann <ko...@gmail.com> 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<String,
> NameAnn> as JSON.
>
> Jörn
>
> On Wed, Oct 19, 2016 at 9:36 PM, Richard Eckart de Castilho <
> richard.eckart@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 <ko...@gmail.com> 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.eckart@gmail.com> wrote:
> > >
> > >> On 19.10.2016, at 20:59, Joern Kottmann <ko...@gmail.com> 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

Posted by Joern Kottmann <ko...@gmail.com>.
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 <
richard.eckart@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 <ko...@gmail.com> 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.eckart@gmail.com> wrote:
> >
> >> On 19.10.2016, at 20:59, Joern Kottmann <ko...@gmail.com> 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

Posted by Richard Eckart de Castilho <ri...@gmail.com>.
Sorry, I meant protocol, not format... I do know the brat format.

Best,

-- Richard

> On 19.10.2016, at 21:30, Joern Kottmann <ko...@gmail.com> 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.eckart@gmail.com> wrote:
> 
>> On 19.10.2016, at 20:59, Joern Kottmann <ko...@gmail.com> 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

Posted by Joern Kottmann <ko...@gmail.com>.
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.eckart@gmail.com> wrote:

> On 19.10.2016, at 20:59, Joern Kottmann <ko...@gmail.com> 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

Posted by Richard Eckart de Castilho <ri...@gmail.com>.
On 19.10.2016, at 20:59, Joern Kottmann <ko...@gmail.com> 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

Posted by Joern Kottmann <ko...@gmail.com>.
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 <wi...@gmail.com>
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 <ma...@gmail.com>:
>
> > +1
> >
> > Madhawa
> >
> > On Wed, Oct 19, 2016 at 2:20 PM, "Shuo Xu" <pz...@gmail.com> wrote:
> >
> > > +1
> > >
> > >
> > > On Wed, Oct 19, 2016 at 12:46 AM, Joern Kottmann <ko...@gmail.com>
> > > 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"<pzczxs AT gmail DOT com>
> > >            "XU Shuo"<xush AT istic DOT ac DOT cn>
> > >
> >
>

Re: Moving brat annotator to opennlp.git

Posted by William Colen <wi...@gmail.com>.
+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 <ma...@gmail.com>:

> +1
>
> Madhawa
>
> On Wed, Oct 19, 2016 at 2:20 PM, "Shuo Xu" <pz...@gmail.com> wrote:
>
> > +1
> >
> >
> > On Wed, Oct 19, 2016 at 12:46 AM, Joern Kottmann <ko...@gmail.com>
> > 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"<pzczxs AT gmail DOT com>
> >            "XU Shuo"<xush AT istic DOT ac DOT cn>
> >
>

Re: Moving brat annotator to opennlp.git

Posted by Madhawa Kasun Gunasekara <ma...@gmail.com>.
+1

Madhawa

On Wed, Oct 19, 2016 at 2:20 PM, "Shuo Xu" <pz...@gmail.com> wrote:

> +1
>
>
> On Wed, Oct 19, 2016 at 12:46 AM, Joern Kottmann <ko...@gmail.com>
> 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"<pzczxs AT gmail DOT com>
>            "XU Shuo"<xush AT istic DOT ac DOT cn>
>

Re: Moving brat annotator to opennlp.git

Posted by "\"Shuo Xu\"" <pz...@gmail.com>.
+1


On Wed, Oct 19, 2016 at 12:46 AM, Joern Kottmann <ko...@gmail.com> 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"<pzczxs AT gmail DOT com>
           "XU Shuo"<xush AT istic DOT ac DOT cn>

Re: Moving brat annotator to opennlp.git

Posted by Rodrigo Agerri <ro...@ehu.eus>.
+1

On Tue, Oct 18, 2016 at 6:46 PM, Joern Kottmann <ko...@gmail.com> 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

Re: Moving brat annotator to opennlp.git

Posted by Joern Kottmann <ko...@gmail.com>.
Nice, let me write up the documentation, and then maybe you or some other
here on the dev list can give it a try and see if it is easy enough to use.

Jörn

On Thu, Oct 20, 2016 at 8:39 PM, Mattmann, Chris A (3010) <
chris.a.mattmann@jpl.nasa.gov> wrote:

> I have a use case for this too in NASA planetary data..
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Chris Mattmann, Ph.D.
> Principal Data Scientist, Engineering Administrative Office (3010)
> Manager, Open Source Projects Formulation and Development Office (8212)
> NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
> Office: 180-503E, Mailstop: 180-502
> Email: chris.a.mattmann@nasa.gov
> WWW:  http://sunset.usc.edu/~mattmann/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Director, Information Retrieval and Data Science Group (IRDS)
> Adjunct Associate Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> WWW: http://irds.usc.edu/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
>
> On 10/18/16, 9:46 AM, "Joern Kottmann" <ko...@gmail.com> 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
>
>
>

Re: Moving brat annotator to opennlp.git

Posted by "Mattmann, Chris A (3010)" <ch...@jpl.nasa.gov>.
I have a use case for this too in NASA planetary data..

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Principal Data Scientist, Engineering Administrative Office (3010)
Manager, Open Source Projects Formulation and Development Office (8212)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 180-503E, Mailstop: 180-502
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Director, Information Retrieval and Data Science Group (IRDS)
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
WWW: http://irds.usc.edu/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 

On 10/18/16, 9:46 AM, "Joern Kottmann" <ko...@gmail.com> 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
    


Re: Moving brat annotator to opennlp.git

Posted by "Mattmann, Chris A (3010)" <ch...@jpl.nasa.gov>.
+1 from me

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Principal Data Scientist, Engineering Administrative Office (3010)
Manager, Open Source Projects Formulation and Development Office (8212)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 180-503E, Mailstop: 180-502
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Director, Information Retrieval and Data Science Group (IRDS)
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
WWW: http://irds.usc.edu/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 

On 10/18/16, 9:46 AM, "Joern Kottmann" <ko...@gmail.com> 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