You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by Anthony Beylerian <an...@hotmail.com> on 2015/02/13 10:12:49 UTC

RE: Word Sense Disambiguation

Dear devs,

Please try some of the few (simpler) algorithms we implemented to warm up to the library :
http://131.113.41.202:8080/opennlp-wsd-demo/nlp-wsd-fe/app/#/home
(will make the source available after cleanup/housekeeping)

We need to define the structure and method signatures, since we will later increment with more techniques.

Any suggestions/references for the structure and signatures are welcome.
Best,

Anthony

> Subject: Re: Word Sense Disambiguation
> From: kottmann@gmail.com
> To: dev@opennlp.apache.org
> Date: Mon, 19 Jan 2015 19:10:19 +0100
> 
> Hello,
> 
> +1 from me to just go ahead and implement the proposed approach. One
> goal of this implementation will be to figure out the interface we want
> to have in OpenNLP for WSD.
> 
> We can later extend OpenNLP with more implementations which are taking
> different approaches.
> 
> Jörn
> 
> On Thu, 2015-01-15 at 16:50 +0900, Anthony Beylerian wrote:
> > Hello, 
> > 
> > I'm new here, I previously mentioned to Jörn about my colleagues and myself being interested in helping to implement this component, we were thinking of starting with simple knowledge based approaches, although they do not yield high accuracy, but as a first step they are relatively simple, would like your opinion.
> > 
> > Pei also mentioned "cTAKES (http://svn.apache.org/repos/asf/ctakes/sandbox/ctakes-wsd/ currently very exploratory stages here) and YTEX (https://code.google.com/p/ytex/wiki/WordSenseDisambiguation_V08) is also just exploring WSD for the healthcare domain. It's also currently knowledge/ontology base for now... It would be great to see if OpenNLP supports a general domain WSD"
> > 
> > Best, 
> > 
> > Anthony
> >  		 	   		  
> 
> 
 		 	   		  

Re: Word Sense Disambiguation

Posted by Aliaksandr Autayeu <al...@autayeu.com>.
One more observation. The interfaces might depend on whether the sense
source includes proper nouns (entities) or not. For example, WordNet
includes some small, but noticeable amount (~8000 if I'm not mistaken) of
entities. It might be better to separate the two, it might be not - it
depends. But the interfaces might depend on this assumption. And
considering entities in WSD the situation becomes close (similar) to NER.
It would be great if you take this into account and make assumptions
explicit. It would be also great to discuss your findings in the state of
the art of interfaces for WSD and sense (entity) sources.

Aliaksandr

On 18 February 2015 at 14:39, Anthony Beylerian <
anthonybeylerian@hotmail.com> wrote:

>
>
>
> Thank you for the feedback, I believe that having separate interfaces as
> mentioned for sense provision and disambiguation would be a good idea.
> We will try to survey the techniques and study the library further to
> propose a first structure when possible.
> Best,
>
> Anthony
> > Subject: Re: Word Sense Disambiguation
> > From: kottmann@gmail.com
> > To: dev@opennlp.apache.org
> > Date: Mon, 16 Feb 2015 16:48:48 +0100
> >
> > On Mon, 2015-02-16 at 16:29 +0100, Aliaksandr Autayeu wrote:
> > > Jörn, to avoid ambiguity in case you addressed me to propose a WSD
> > > interface. I'd prefer Anthony to come up with a proposal, because he is
> > > closer to the multiple WSD algorithms that would be nice to include in
> the
> > > analysis.
> >
> > Sorry, for being unclear, yes I addressed Anthony. But everybody who has
> > an opinion is very welcome to join the discussion or propose something.
> >
> > Jörn
> >
>
>
>

RE: Word Sense Disambiguation

Posted by Anthony Beylerian <an...@hotmail.com>.


Thank you for the feedback, I believe that having separate interfaces as mentioned for sense provision and disambiguation would be a good idea. 
We will try to survey the techniques and study the library further to propose a first structure when possible.
Best,

Anthony
> Subject: Re: Word Sense Disambiguation
> From: kottmann@gmail.com
> To: dev@opennlp.apache.org
> Date: Mon, 16 Feb 2015 16:48:48 +0100
> 
> On Mon, 2015-02-16 at 16:29 +0100, Aliaksandr Autayeu wrote:
> > Jörn, to avoid ambiguity in case you addressed me to propose a WSD
> > interface. I'd prefer Anthony to come up with a proposal, because he is
> > closer to the multiple WSD algorithms that would be nice to include in the
> > analysis.
> 
> Sorry, for being unclear, yes I addressed Anthony. But everybody who has
> an opinion is very welcome to join the discussion or propose something.
> 
> Jörn
> 

 		 	   		  

Re: Word Sense Disambiguation

Posted by Joern Kottmann <ko...@gmail.com>.
On Mon, 2015-02-16 at 16:29 +0100, Aliaksandr Autayeu wrote:
> Jörn, to avoid ambiguity in case you addressed me to propose a WSD
> interface. I'd prefer Anthony to come up with a proposal, because he is
> closer to the multiple WSD algorithms that would be nice to include in the
> analysis.

Sorry, for being unclear, yes I addressed Anthony. But everybody who has
an opinion is very welcome to join the discussion or propose something.

Jörn


Re: Word Sense Disambiguation

Posted by Aliaksandr Autayeu <al...@autayeu.com>.
Jörn, to avoid ambiguity in case you addressed me to propose a WSD
interface. I'd prefer Anthony to come up with a proposal, because he is
closer to the multiple WSD algorithms that would be nice to include in the
analysis.

Aliaksandr

On 16 February 2015 at 15:19, Joern Kottmann <ko...@gmail.com> wrote:

> On Sat, 2015-02-14 at 11:09 +0100, Aliaksandr Autayeu wrote:
> > Since you're perhaps deeper in this that others you seem to be the
> > best
> > candidate to make a proposal, to check the state of the art algorithms
> > and
> > devise general enough interface for all or most of them. One way could
> > be
> > to see what the algorithms typically require, how diverse are sources
> > of
> > senses (WordNet alone has multiple different interfaces to access it),
> > which options do the algorithms take and start somewhere there to see
> > that
> > the interface is flexible enough to accommodate that diversity, has
> > ability
> > to do some built-in checks (such as detecting the case of algorithm
> > trained
> > on one source of senses working with another, or perhaps algorithm
> > relying
> > on a relation which is missing in the sense source) and be similar to
> > the
> > rest of OpenNLP. We might even end up with two interfaces (e.g. for
> > sense
> > provider and for WSD itself).
> >
> > What do you think about this way?
>
> Please propose an interface. We will discuss it here on the list.
>
> Jörn
>
>

Re: Word Sense Disambiguation

Posted by Joern Kottmann <ko...@gmail.com>.
On Sat, 2015-02-14 at 11:09 +0100, Aliaksandr Autayeu wrote:
> Since you're perhaps deeper in this that others you seem to be the
> best
> candidate to make a proposal, to check the state of the art algorithms
> and
> devise general enough interface for all or most of them. One way could
> be
> to see what the algorithms typically require, how diverse are sources
> of
> senses (WordNet alone has multiple different interfaces to access it),
> which options do the algorithms take and start somewhere there to see
> that
> the interface is flexible enough to accommodate that diversity, has
> ability
> to do some built-in checks (such as detecting the case of algorithm
> trained
> on one source of senses working with another, or perhaps algorithm
> relying
> on a relation which is missing in the sense source) and be similar to
> the
> rest of OpenNLP. We might even end up with two interfaces (e.g. for
> sense
> provider and for WSD itself).
> 
> What do you think about this way?

Please propose an interface. We will discuss it here on the list.

Jörn


Re: Word Sense Disambiguation

Posted by Aliaksandr Autayeu <al...@autayeu.com>.
Dear Anthony,


> Thank you for your suggestions and please excuse the lack of clarity.
> We're not sure about the process used by the team since we just joined.

Me neither :) Just a suggestion, since it seems to me that ad-hoc
evaluation in the UI might be subjective. It's nice to play with it,
though, to get a feeling. And it would be perfect for demoing the
algorithms!


> So we thought the web-app would be convenient to test and visualize the
> performances of what is in the pipeline before any code reviews.
>
Convenient to test - yes. Visualize - yes. Demoing - perfect. Playground -
yes. Evaluate performance - only in a subjective way. Unless I miss or
misunderstand something.


Currently, we used a sample from the SemEval-2 dataset which seemed popular
> just for testing, but as you mentioned we will perform the tests on public
> corpora and update the Test Results section with the results and references.
>
That would be great! SemEval is popular, so as long as it is easily
downloadable (many research datasets require registration, emailing, faxing
forms).


> However to move further, we were wondering about the interface to make
> with OpenNLP as previously mentioned.
>
Since you're perhaps deeper in this that others you seem to be the best
candidate to make a proposal, to check the state of the art algorithms and
devise general enough interface for all or most of them. One way could be
to see what the algorithms typically require, how diverse are sources of
senses (WordNet alone has multiple different interfaces to access it),
which options do the algorithms take and start somewhere there to see that
the interface is flexible enough to accommodate that diversity, has ability
to do some built-in checks (such as detecting the case of algorithm trained
on one source of senses working with another, or perhaps algorithm relying
on a relation which is missing in the sense source) and be similar to the
rest of OpenNLP. We might even end up with two interfaces (e.g. for sense
provider and for WSD itself).

What do you think about this way?

best regards,
Aliaksandr

RE: Word Sense Disambiguation

Posted by Anthony Beylerian <an...@hotmail.com>.
Dear Aliaksadr,

Thank you for your suggestions and please excuse the lack of clarity. We're not sure about the process used by the team since we just joined. So we thought the web-app would be convenient to test and visualize the performances of what is in the pipeline before any code reviews.

Currently, we used a sample from the SemEval-2 dataset which seemed popular just for testing, but as you mentioned we will perform the tests on public corpora and update the Test Results section with the results and references. 
However to move further, we were wondering about the interface to make with OpenNLP as previously mentioned.

Best,

Anthony



> Date: Fri, 13 Feb 2015 11:54:16 +0100
> Subject: Re: Word Sense Disambiguation
> From: aliaksandr@autayeu.com
> To: dev@opennlp.apache.org
> 
> Anthony, the app looks really nice and neat! But I wonder what is the
> intended benefit of us "trying" the algorithms? To have a subjective
> impression? Let me know, maybe I missed something.
> 
> Maybe it is better to link to papers with evaluation of the algorithms you
> implement? Maybe even better to test your implementations on a public
> sense-tagged corpus and post the evaluation results here? And maybe compare
> these evaluations with peer-reviewed ones in the literature, thus making
> sure your implementation is in line? What do you think? Do you think it is
> feasible you do that? Any volunteers to do that?
> 
> Aliaksandr
> 
> On 13 February 2015 at 10:12, Anthony Beylerian <
> anthonybeylerian@hotmail.com> wrote:
> 
> > Dear devs,
> >
> > Please try some of the few (simpler) algorithms we implemented to warm up
> > to the library :
> > http://131.113.41.202:8080/opennlp-wsd-demo/nlp-wsd-fe/app/#/home
> > (will make the source available after cleanup/housekeeping)
> >
> > We need to define the structure and method signatures, since we will later
> > increment with more techniques.
> >
> > Any suggestions/references for the structure and signatures are welcome.
> > Best,
> >
> > Anthony
> >
> > > Subject: Re: Word Sense Disambiguation
> > > From: kottmann@gmail.com
> > > To: dev@opennlp.apache.org
> > > Date: Mon, 19 Jan 2015 19:10:19 +0100
> > >
> > > Hello,
> > >
> > > +1 from me to just go ahead and implement the proposed approach. One
> > > goal of this implementation will be to figure out the interface we want
> > > to have in OpenNLP for WSD.
> > >
> > > We can later extend OpenNLP with more implementations which are taking
> > > different approaches.
> > >
> > > Jörn
> > >
> > > On Thu, 2015-01-15 at 16:50 +0900, Anthony Beylerian wrote:
> > > > Hello,
> > > >
> > > > I'm new here, I previously mentioned to Jörn about my colleagues and
> > myself being interested in helping to implement this component, we were
> > thinking of starting with simple knowledge based approaches, although they
> > do not yield high accuracy, but as a first step they are relatively simple,
> > would like your opinion.
> > > >
> > > > Pei also mentioned "cTAKES (
> > http://svn.apache.org/repos/asf/ctakes/sandbox/ctakes-wsd/ currently very
> > exploratory stages here) and YTEX (
> > https://code.google.com/p/ytex/wiki/WordSenseDisambiguation_V08) is also
> > just exploring WSD for the healthcare domain. It's also currently
> > knowledge/ontology base for now... It would be great to see if OpenNLP
> > supports a general domain WSD"
> > > >
> > > > Best,
> > > >
> > > > Anthony
> > > >
> > >
> > >
> >
> >
 		 	   		  

Re: Word Sense Disambiguation

Posted by Aliaksandr Autayeu <al...@autayeu.com>.
Anthony, the app looks really nice and neat! But I wonder what is the
intended benefit of us "trying" the algorithms? To have a subjective
impression? Let me know, maybe I missed something.

Maybe it is better to link to papers with evaluation of the algorithms you
implement? Maybe even better to test your implementations on a public
sense-tagged corpus and post the evaluation results here? And maybe compare
these evaluations with peer-reviewed ones in the literature, thus making
sure your implementation is in line? What do you think? Do you think it is
feasible you do that? Any volunteers to do that?

Aliaksandr

On 13 February 2015 at 10:12, Anthony Beylerian <
anthonybeylerian@hotmail.com> wrote:

> Dear devs,
>
> Please try some of the few (simpler) algorithms we implemented to warm up
> to the library :
> http://131.113.41.202:8080/opennlp-wsd-demo/nlp-wsd-fe/app/#/home
> (will make the source available after cleanup/housekeeping)
>
> We need to define the structure and method signatures, since we will later
> increment with more techniques.
>
> Any suggestions/references for the structure and signatures are welcome.
> Best,
>
> Anthony
>
> > Subject: Re: Word Sense Disambiguation
> > From: kottmann@gmail.com
> > To: dev@opennlp.apache.org
> > Date: Mon, 19 Jan 2015 19:10:19 +0100
> >
> > Hello,
> >
> > +1 from me to just go ahead and implement the proposed approach. One
> > goal of this implementation will be to figure out the interface we want
> > to have in OpenNLP for WSD.
> >
> > We can later extend OpenNLP with more implementations which are taking
> > different approaches.
> >
> > Jörn
> >
> > On Thu, 2015-01-15 at 16:50 +0900, Anthony Beylerian wrote:
> > > Hello,
> > >
> > > I'm new here, I previously mentioned to Jörn about my colleagues and
> myself being interested in helping to implement this component, we were
> thinking of starting with simple knowledge based approaches, although they
> do not yield high accuracy, but as a first step they are relatively simple,
> would like your opinion.
> > >
> > > Pei also mentioned "cTAKES (
> http://svn.apache.org/repos/asf/ctakes/sandbox/ctakes-wsd/ currently very
> exploratory stages here) and YTEX (
> https://code.google.com/p/ytex/wiki/WordSenseDisambiguation_V08) is also
> just exploring WSD for the healthcare domain. It's also currently
> knowledge/ontology base for now... It would be great to see if OpenNLP
> supports a general domain WSD"
> > >
> > > Best,
> > >
> > > Anthony
> > >
> >
> >
>
>