edu.washington.cs.knowitall
Class Token.StringExpression

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

protected static class Token.StringExpression
extends Token.Expression

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

Author:
schmmd

Constructor Summary
Token.StringExpression(String string)
           
Token.StringExpression(String string, int flags)
           
 
Method Summary
 boolean apply(Token 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

Token.StringExpression

public Token.StringExpression(String string,
                              int flags)

Token.StringExpression

public Token.StringExpression(String string)
Method Detail

apply

public boolean apply(Token token)


Copyright © 2011 University of Washington CSE. All Rights Reserved.