Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[java-nlp-user] Multiple tags

Christopher Manning manning at stanford.edu
Tue Apr 19 07:10:53 PDT 2011


The training file would contain exactly what John showed, assuming / as the tagSeparator character:

Please/VB do/VB n't/RB joke/VB about/IN that/DT ./.
That/DT was/VBD a/DT funny/JJ joke/NN ./.

Chris.


On Apr 19, 2011, at 5:44 AM, C. Clark Ewalt wrote:

> Thanks, John.
> Good-looking documentation.
> Just for clarification, what would the training file entry look like for your "joke" example below, with both verb and noun tags?
> Thanks,
> 
> 
> C. Clark Ewalt
> Transentric
> (402)544-2943
> 
> 
> Not all those who wander are lost.
> 
> 
> 
> 
> <graycol.gif>John Bauer <horatio at gmail.com>
> 
> 
> John Bauer <horatio at gmail.com>
> 04/18/2011 03:07 PM
> 
> <ecblank.gif>
> To
> <ecblank.gif>
> "C. Clark Ewalt" <CCEWALT at transentric.com>, java-nlp-user at lists.stanford.edu
> <ecblank.gif>
> cc
> <ecblank.gif>
> <ecblank.gif>
> Subject
> <ecblank.gif>
> Re: [java-nlp-user] Multiple tags
> <ecblank.gif>	<ecblank.gif>
> 
> In about 20 minutes or so there should be a description of how you can specify different files under the description for -trainFile at 
> 
> http://www-nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/tagger/maxent/MaxentTagger.html
> 
> Long story short, you want one sentence per line, with words and punctuation separated by white space, and each word should be followed by the tag separator and then the POS tag.  
> 
> John
> 
> On Mon, Apr 18, 2011 at 11:02 AM, C. Clark Ewalt <CCEWALT at transentric.com> wrote:
> 
> Thanks, John, the latter is what I'm looking for, but I can't find documentation on how to format the input. One tag per line, or all tags on one line for the word, with some delimiter?
> Older guy, not too good with newer documentation. Grew up with cookbook-style docs.
> 
> Thanks,
> 
> 
> C. Clark Ewalt
> Transentric
> (402)544-2943
> 
> 
> Not all those who wander are lost.
> 
> 
> 
> 
> John Bauer <horatio at gmail.com>
> 
> John Bauer <horatio at gmail.com>  
> 04/18/2011 12:51 PM
> 
> To
> 
> "C. Clark Ewalt" <CCEWALT at transentric.com>
> cc
> 
> java-nlp-user at lists.stanford.edu
> Subject
> 
> Re: [java-nlp-user] Multiple tags
> <ecblank.gif>	<ecblank.gif>
> 
> I'm not sure what you mean... do you mean you want to have the tagger
> output two tags at once (impossible), or do you want it to recognize
> that a word is eligible for multiple tags, as in
> 
> Please/VB do/VB n't/RB joke/VB about/IN that/DT ./.
> That/DT was/VBD a/DT funny/JJ joke/NN ./.
> 
> For the latter, all you have to do is have different examples of the
> different tags you want the word to be eligible for.
> 
> John
> 
> On Mon, Apr 18, 2011 at 10:30 AM, C. Clark Ewalt
> <CCEWALT at transentric.com> wrote:
> > Can anybody point me to some more extensive documentation for the POS
> > tagger, specifically how to set up a training file with multiple PsOS for a
> > particular word?
> > Thanks,
> >
> > C. Clark Ewalt
> > Transentric
> > (402)544-2943
> >
> >
> >
> >
> > **
> >
> > This email and any attachments may contain information that is confidential
> > and/or privileged for the sole use of the intended recipient. Any use,
> > review, disclosure, copying, distribution or reliance by others, and any
> > forwarding of this email or its contents, without the express permission of
> > the sender is strictly prohibited by law. If you are not the intended
> > recipient, please contact the sender immediately, delete the e-mail and
> > destroy all copies.
> >
> > **
> >
> > _______________________________________________
> > java-nlp-user mailing list
> > java-nlp-user at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/java-nlp-user
> >
> >
> 
> 
> **
> 
> This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.
> 
> **
> 
> 
> **
> 
> This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.
> 
> **
> _______________________________________________
> java-nlp-user mailing list
> java-nlp-user at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/java-nlp-user




More information about the java-nlp-user mailing list