edu.stanford.nlp.tagger.maxent
Class ExtractorParticlesChris
java.lang.Object
edu.stanford.nlp.tagger.maxent.Extractor
edu.stanford.nlp.tagger.maxent.ExtractorParticlesChris
- All Implemented Interfaces:
- Serializable
public class ExtractorParticlesChris
- extends Extractor
A class that detects and provides features for common verb particle pairs.
- Author:
- Kristina Toutanova
- See Also:
- Serialized Form
ExtractorParticlesChris
public ExtractorParticlesChris()
ExtractorParticlesChris
public ExtractorParticlesChris(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)
isPartikleTakingVerb
public boolean isPartikleTakingVerb(String lastverb,
String cWord)
Stanford NLP Group