edu.stanford.nlp.tagger.maxent
Class ExtractorLastVerb
java.lang.Object
edu.stanford.nlp.tagger.maxent.Extractor
edu.stanford.nlp.tagger.maxent.ExtractorLastVerb
- All Implemented Interfaces:
- Serializable
public class ExtractorLastVerb
- extends Extractor
- See Also:
- Serialized Form
Method Summary |
boolean |
precondition(String tag)
This evaluates any precondition for a feature being applicable based
on a certain tag. |
ExtractorLastVerb
public ExtractorLastVerb()
ExtractorLastVerb
public ExtractorLastVerb(int bound)
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