edu.stanford.nlp.tagger.maxent
Class ExtractorParticlesChris

java.lang.Object
  extended by edu.stanford.nlp.tagger.maxent.Extractor
      extended by 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

Constructor Summary
ExtractorParticlesChris()
           
ExtractorParticlesChris(int bound)
           
 
Method Summary
 boolean isPartikleTakingVerb(String lastverb, String cWord)
           
 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

ExtractorParticlesChris

public ExtractorParticlesChris()

ExtractorParticlesChris

public ExtractorParticlesChris(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)

isPartikleTakingVerb

public boolean isPartikleTakingVerb(String lastverb,
                                    String cWord)


Stanford NLP Group