edu.washington.cs.knowitall.util
Class RepeatedPatternizedMatcher

java.lang.Object
  extended by edu.washington.cs.knowitall.util.RepeatedPatternizedMatcher
All Implemented Interfaces:
PatternMatcher

public class RepeatedPatternizedMatcher
extends java.lang.Object
implements PatternMatcher


Constructor Summary
RepeatedPatternizedMatcher(java.lang.String patternStr)
           
 
Method Summary
 java.util.Collection<Range> getMatches(java.lang.String patternized)
           
 int getMaxRepeats()
           
 int getMinRepeats()
           
 java.util.regex.Pattern getPattern(int repeats)
           
 java.lang.String getPatternString()
           
 void setMaxRepeats(int maxRepeats)
           
 void setMinRepeats(int minRepeats)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepeatedPatternizedMatcher

public RepeatedPatternizedMatcher(java.lang.String patternStr)
Method Detail

getPatternString

public java.lang.String getPatternString()

setMinRepeats

public void setMinRepeats(int minRepeats)

setMaxRepeats

public void setMaxRepeats(int maxRepeats)

getMaxRepeats

public int getMaxRepeats()

getMinRepeats

public int getMinRepeats()

getPattern

public java.util.regex.Pattern getPattern(int repeats)

getMatches

public java.util.Collection<Range> getMatches(java.lang.String patternized)
Specified by:
getMatches in interface PatternMatcher