org.encog.parse.recognize
Class Recognize
java.lang.Object
org.encog.parse.recognize.Recognize
public class Recognize
- extends java.lang.Object
Holds the template of something that the parser should recognize. This
consists of a collection of RecognizeElement objects that define the
structure of what is to be recognized.
- Author:
- jheaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Recognize
public Recognize()
Recognize
public Recognize(java.lang.String type)
add
public void add(RecognizeElement re)
createElement
public RecognizeElement createElement(int allow)
getIgnore
public boolean getIgnore()
getPattern
public java.util.List<RecognizeElement> getPattern()
- Returns:
- the pattern
getSignalClass
public java.lang.Class getSignalClass()
recognize
public boolean recognize(Signal signal)
recognizeIteration
protected boolean recognizeIteration(Signal signal)
setIgnore
public void setIgnore(boolean ignore)
setSignalClass
public void setSignalClass(java.lang.Class signalClass)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object