edu.stanford.nlp.ling.tokensregex
Class SequenceMatchRules.AnnotationMatchedFilter

java.lang.Object
  extended by edu.stanford.nlp.ling.tokensregex.SequenceMatchRules.AnnotationMatchedFilter
All Implemented Interfaces:
Filter<MatchedExpression>, java.io.Serializable
Enclosing class:
SequenceMatchRules

public static class SequenceMatchRules.AnnotationMatchedFilter
extends java.lang.Object
implements Filter<MatchedExpression>

See Also:
Serialized Form

Constructor Summary
SequenceMatchRules.AnnotationMatchedFilter(MatchedExpression.SingleAnnotationExtractor extractor)
           
 
Method Summary
 boolean accept(MatchedExpression me)
          Checks if the given object passes the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceMatchRules.AnnotationMatchedFilter

public SequenceMatchRules.AnnotationMatchedFilter(MatchedExpression.SingleAnnotationExtractor extractor)
Method Detail

accept

public boolean accept(MatchedExpression me)
Description copied from interface: Filter
Checks if the given object passes the filter.

Specified by:
accept in interface Filter<MatchedExpression>
Parameters:
me - an object to test
Returns:
Whether the object should be accepted (for some processing)


Stanford NLP Group