opennlp.grok.preprocess.postag
Class EnglishPOSTaggerME

java.lang.Object
  |
  +--opennlp.grok.preprocess.postag.POSTaggerME
        |
        +--opennlp.grok.preprocess.postag.EnglishPOSTaggerME
All Implemented Interfaces:
opennlp.maxent.Evalable, opennlp.common.preprocess.Pipelink, opennlp.common.preprocess.POSTagger

public class EnglishPOSTaggerME
extends POSTaggerME

A part of speech tagger that uses a model trained on English data from the Wall Street Journal and the Brown corpus. The latest model created achieved >96% accuracy on unseen data.

Version:
$Revision: 1.5 $, $Date: 2002/04/25 15:22:38 $
Author:
Gann Bierner

Field Summary
 
Fields inherited from class opennlp.grok.preprocess.postag.POSTaggerME
_closedClassTagsFilter, _contextGen, _posModel, _useClosedClassTagsFilter
 
Constructor Summary
EnglishPOSTaggerME()
          No-arg constructor which loads the English POS tagging model transparently.
 
Method Summary
static void main(java.lang.String[] args)
          Part-of-speech tag a string passed in on the command line.
 
Methods inherited from class opennlp.grok.preprocess.postag.POSTaggerME
bestSequence, getEventCollector, getNegativeOutcome, localEval, process, requires, tag, tag, tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnglishPOSTaggerME

public EnglishPOSTaggerME()
No-arg constructor which loads the English POS tagging model transparently.

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException

Part-of-speech tag a string passed in on the command line. For example:

java opennlp.grok.preprocess.postag.EnglishPOSTaggerME -test "Mr. Smith gave a car to his son on Friday."

java.io.IOException


Copyright © 2003 Jason Baldridge and Gann Bierner. All Rights Reserved.