Re: Parser vs Chunker

2017-08-21 Thread Manoj B. Narayanan
Thanks Chris. !!

Manoj.

On Mon, Aug 21, 2017 at 11:01 AM, Chris Collins <
chris_j_coll...@yahoo.com.invalid> wrote:

>
> Perhaps you may want to understanding the difference between a constituent
> parser and a dependency parser.  From my uneducated POV the OpenNLP parser
> is a constituent parser.  You will notice constituent and dependency aren
> still called “parsers” in general circles.  Guess that cleared things up
> like mud :-}
>
> Here is a brief description of the difference on stack overflow:
>
> https://stackoverflow.com/questions/10401076/difference-
> between-constituency-parser-and-dependency-parser <
> https://stackoverflow.com/questions/10401076/difference-
> between-constituency-parser-and-dependency-parser>
>
> > On Aug 18, 2017, at 7:51 AM, Dan Russ  wrote:
> >
> > Hello Manoj,
> >
> >This is more a job for Wikipedia than opennlp’s dev mail list.
> https://en.wikipedia.org/wiki/Parsing  wiki/Parsing>  https://en.wikipedia.org/wiki/Shallow_parsing <
> https://en.wikipedia.org/wiki/Shallow_parsing>
> >
> > Essentially, the term “parsing” is a generic term that takes input text
> and breaks it up into parts using certain rules (wikipedia refers to this
> as a grammar).  Think of java's Integer.parseInt(String s).  OpenNLP has a
> StringTokenizer that “parses” strings into constituent words based on
> whitespace (WhitespaceTokenizer) or a statistically training model
> (TokenizerME).  A Chunker on the other hand takes the constituent words and
> puts them together to make a larger construct (think of a phrase).  So….
> If you want to get noun or verb phrases use a chunker.  It is also very
> useful if you are interested in identifying relationships between words.  I
> believe the Stanford NLP dependencies use chunking, for more info on that
> https://nlp.stanford.edu/software/stanford-dependencies.shtml#English <
> https://nlp.stanford.edu/software/stanford-dependencies.shtml#English> .
> If I am wrong about the Stanford Dependencies, maybe someone will correct
> me...
> >
> >
> > Hope it helps,
> > Daniel
> >
> >
> >
> >> On Aug 18, 2017, at 9:50 AM, Manoj B. Narayanan <
> manojb.narayanan2...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> Could someone help me with this please ?
> >>
> >> Thanks,
> >> Manoj.
> >>
> >> On Tue, Aug 8, 2017 at 1:16 PM, Manoj B. Narayanan <
> >> manojb.narayanan2...@gmail.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> Can some one please explain the difference between Parser and Chunker
> in
> >>> OpenNLP.
> >>> I think we can get the same output of the Parser from Chunker output
> >>> itself.
> >>> Please correct me if I am wrong.
> >>>
> >>> Thanks.
> >>> Manoj.
> >>>
> >
>
>


Re: Parser vs Chunker

2017-08-20 Thread Chris Collins

Perhaps you may want to understanding the difference between a constituent 
parser and a dependency parser.  From my uneducated POV the OpenNLP parser is a 
constituent parser.  You will notice constituent and dependency aren still 
called “parsers” in general circles.  Guess that cleared things up like mud :-}

Here is a brief description of the difference on stack overflow:

https://stackoverflow.com/questions/10401076/difference-between-constituency-parser-and-dependency-parser
 


> On Aug 18, 2017, at 7:51 AM, Dan Russ  wrote:
> 
> Hello Manoj,
> 
>This is more a job for Wikipedia than opennlp’s dev mail list.  
> https://en.wikipedia.org/wiki/Parsing  
>  https://en.wikipedia.org/wiki/Shallow_parsing 
> 
> 
> Essentially, the term “parsing” is a generic term that takes input text and 
> breaks it up into parts using certain rules (wikipedia refers to this as a 
> grammar).  Think of java's Integer.parseInt(String s).  OpenNLP has a 
> StringTokenizer that “parses” strings into constituent words based on 
> whitespace (WhitespaceTokenizer) or a statistically training model 
> (TokenizerME).  A Chunker on the other hand takes the constituent words and 
> puts them together to make a larger construct (think of a phrase).  So….  If 
> you want to get noun or verb phrases use a chunker.  It is also very useful 
> if you are interested in identifying relationships between words.  I believe 
> the Stanford NLP dependencies use chunking, for more info on that 
> https://nlp.stanford.edu/software/stanford-dependencies.shtml#English 
>  .  If 
> I am wrong about the Stanford Dependencies, maybe someone will correct me...
> 
> 
> Hope it helps,
> Daniel
> 
> 
> 
>> On Aug 18, 2017, at 9:50 AM, Manoj B. Narayanan 
>>  wrote:
>> 
>> Hi,
>> 
>> Could someone help me with this please ?
>> 
>> Thanks,
>> Manoj.
>> 
>> On Tue, Aug 8, 2017 at 1:16 PM, Manoj B. Narayanan <
>> manojb.narayanan2...@gmail.com> wrote:
>> 
>>> Hi,
>>> 
>>> Can some one please explain the difference between Parser and Chunker in
>>> OpenNLP.
>>> I think we can get the same output of the Parser from Chunker output
>>> itself.
>>> Please correct me if I am wrong.
>>> 
>>> Thanks.
>>> Manoj.
>>> 
> 



Re: Parser vs Chunker

2017-08-20 Thread Manoj B. Narayanan
Thanks Dan !!!..

Manoj.

On Fri, Aug 18, 2017 at 8:21 PM, Dan Russ  wrote:

> Hello Manoj,
>
> This is more a job for Wikipedia than opennlp’s dev mail list.
> https://en.wikipedia.org/wiki/Parsing  wiki/Parsing>  https://en.wikipedia.org/wiki/Shallow_parsing <
> https://en.wikipedia.org/wiki/Shallow_parsing>
>
> Essentially, the term “parsing” is a generic term that takes input text
> and breaks it up into parts using certain rules (wikipedia refers to this
> as a grammar).  Think of java's Integer.parseInt(String s).  OpenNLP has a
> StringTokenizer that “parses” strings into constituent words based on
> whitespace (WhitespaceTokenizer) or a statistically training model
> (TokenizerME).  A Chunker on the other hand takes the constituent words and
> puts them together to make a larger construct (think of a phrase).  So….
> If you want to get noun or verb phrases use a chunker.  It is also very
> useful if you are interested in identifying relationships between words.  I
> believe the Stanford NLP dependencies use chunking, for more info on that
> https://nlp.stanford.edu/software/stanford-dependencies.shtml#English <
> https://nlp.stanford.edu/software/stanford-dependencies.shtml#English> .
> If I am wrong about the Stanford Dependencies, maybe someone will correct
> me...
>
>
> Hope it helps,
> Daniel
>
>
>
> > On Aug 18, 2017, at 9:50 AM, Manoj B. Narayanan <
> manojb.narayanan2...@gmail.com> wrote:
> >
> > Hi,
> >
> > Could someone help me with this please ?
> >
> > Thanks,
> > Manoj.
> >
> > On Tue, Aug 8, 2017 at 1:16 PM, Manoj B. Narayanan <
> > manojb.narayanan2...@gmail.com> wrote:
> >
> >> Hi,
> >>
> >> Can some one please explain the difference between Parser and Chunker in
> >> OpenNLP.
> >> I think we can get the same output of the Parser from Chunker output
> >> itself.
> >> Please correct me if I am wrong.
> >>
> >> Thanks.
> >> Manoj.
> >>
>
>


Re: Parser vs Chunker

2017-08-18 Thread Dan Russ
Hello Manoj,

This is more a job for Wikipedia than opennlp’s dev mail list.  
https://en.wikipedia.org/wiki/Parsing   
https://en.wikipedia.org/wiki/Shallow_parsing 


Essentially, the term “parsing” is a generic term that takes input text and 
breaks it up into parts using certain rules (wikipedia refers to this as a 
grammar).  Think of java's Integer.parseInt(String s).  OpenNLP has a 
StringTokenizer that “parses” strings into constituent words based on 
whitespace (WhitespaceTokenizer) or a statistically training model 
(TokenizerME).  A Chunker on the other hand takes the constituent words and 
puts them together to make a larger construct (think of a phrase).  So….  If 
you want to get noun or verb phrases use a chunker.  It is also very useful if 
you are interested in identifying relationships between words.  I believe the 
Stanford NLP dependencies use chunking, for more info on that 
https://nlp.stanford.edu/software/stanford-dependencies.shtml#English 
 .  If I 
am wrong about the Stanford Dependencies, maybe someone will correct me...


Hope it helps,
Daniel

   

> On Aug 18, 2017, at 9:50 AM, Manoj B. Narayanan 
>  wrote:
> 
> Hi,
> 
> Could someone help me with this please ?
> 
> Thanks,
> Manoj.
> 
> On Tue, Aug 8, 2017 at 1:16 PM, Manoj B. Narayanan <
> manojb.narayanan2...@gmail.com> wrote:
> 
>> Hi,
>> 
>> Can some one please explain the difference between Parser and Chunker in
>> OpenNLP.
>> I think we can get the same output of the Parser from Chunker output
>> itself.
>> Please correct me if I am wrong.
>> 
>> Thanks.
>> Manoj.
>> 



Parser vs Chunker

2017-08-08 Thread Manoj B. Narayanan
Hi,

Can some one please explain the difference between Parser and Chunker in
OpenNLP.
I think we can get the same output of the Parser from Chunker output itself.
Please correct me if I am wrong.

Thanks.
Manoj.