edu.washington.cs.knowitall.nlp
Class ChunkedSentenceToken.PosTagExpression

java.lang.Object
  extended by edu.washington.cs.knowitall.nlp.ChunkedSentenceToken.Expression
      extended by edu.washington.cs.knowitall.nlp.ChunkedSentenceToken.PosTagExpression
All Implemented Interfaces:
com.google.common.base.Predicate<ChunkedSentenceToken>
Enclosing class:
ChunkedSentenceToken

protected static class ChunkedSentenceToken.PosTagExpression
extends ChunkedSentenceToken.Expression

A regular expression that is evaluated against the POS tag portion of a token.

Author:
schmmd

Constructor Summary
ChunkedSentenceToken.PosTagExpression(String string)
           
ChunkedSentenceToken.PosTagExpression(String string, int flags)
           
 
Method Summary
 boolean apply(ChunkedSentenceToken token)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Constructor Detail

ChunkedSentenceToken.PosTagExpression

public ChunkedSentenceToken.PosTagExpression(String string,
                                             int flags)

ChunkedSentenceToken.PosTagExpression

public ChunkedSentenceToken.PosTagExpression(String string)
Method Detail

apply

public boolean apply(ChunkedSentenceToken token)


Copyright © 2010-2012 University of Washington CSE. All Rights Reserved.