edu.stanford.nlp.tagger.maxent
Class ExtractorLastVerb

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

public class ExtractorLastVerb
extends Extractor

See Also:
Serialized Form

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

Constructor Detail

ExtractorLastVerb

public ExtractorLastVerb()

ExtractorLastVerb

public ExtractorLastVerb(int bound)
Method Detail

precondition

public boolean precondition(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)


Stanford NLP Group