edu.stanford.nlp.tagger.maxent
Class ExtractorVerbalVBNZero

java.lang.Object
  extended by edu.stanford.nlp.tagger.maxent.Extractor
      extended by edu.stanford.nlp.tagger.maxent.DictionaryExtractor
          extended by edu.stanford.nlp.tagger.maxent.ExtractorVerbalVBNZero
All Implemented Interfaces:
java.io.Serializable

public class ExtractorVerbalVBNZero
extends DictionaryExtractor

Look for verbs selecting a VBN verb. This is now a zeroeth order observed data only feature. But reminiscent of what was done in Toutanova and Manning 2000. It doesn't seem to help tagging performance any more.

Author:
Christopher Manning
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.stanford.nlp.tagger.maxent.DictionaryExtractor
dict
 
Constructor Summary
ExtractorVerbalVBNZero(int bound)
           
 
Method Summary
 boolean precondition(java.lang.String tag)
          This evaluates any precondition for a feature being applicable based on a certain tag.
 java.lang.String toString()
           
 
Methods inherited from class edu.stanford.nlp.tagger.maxent.DictionaryExtractor
setGlobalHolder
 
Methods inherited from class edu.stanford.nlp.tagger.maxent.Extractor
isDynamic, isLocal, leftContext, rightContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtractorVerbalVBNZero

public ExtractorVerbalVBNZero(int bound)
Method Detail

precondition

public boolean precondition(java.lang.String tag)
Description copied from class: Extractor
This evaluates any precondition for a feature being applicable based on a certain tag. It returns true if the feature is applicable. By default an Extractor is applicable everywhere, but some subclasses limit application.

Overrides:
precondition in class Extractor
Parameters:
tag - The possible tag that the feature will be generated for
Returns:
Whether the feature extractor is applicable (true) or not (false)

toString

public java.lang.String toString()
Overrides:
toString in class Extractor


Stanford NLP Group