edu.stanford.nlp.ling.tokensregex
Class CoreMapNodePattern.StringAnnotationRegexPattern
java.lang.Object
edu.stanford.nlp.ling.tokensregex.NodePattern<java.lang.String>
edu.stanford.nlp.ling.tokensregex.CoreMapNodePattern.StringAnnotationRegexPattern
- Enclosing class:
- CoreMapNodePattern
public static class CoreMapNodePattern.StringAnnotationRegexPattern
- extends NodePattern<java.lang.String>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CoreMapNodePattern.StringAnnotationRegexPattern
public CoreMapNodePattern.StringAnnotationRegexPattern(java.util.regex.Pattern pattern)
CoreMapNodePattern.StringAnnotationRegexPattern
public CoreMapNodePattern.StringAnnotationRegexPattern(java.lang.String regex,
int flags)
getPattern
public java.util.regex.Pattern getPattern()
matcher
public java.util.regex.Matcher matcher(java.lang.String str)
match
public boolean match(java.lang.String str)
- Specified by:
match in class NodePattern<java.lang.String>
matchWithResult
public java.lang.Object matchWithResult(java.lang.String str)
- Overrides:
matchWithResult in class NodePattern<java.lang.String>
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Stanford NLP Group