public class PatternsStates extends GenericStates
Constructor and Description |
---|
PatternsStates() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
checkMatching(GenericTextAnnotation anno,
boolean weAreInOutOfContext)
Matches the input data with different patterns
|
java.util.List<java.lang.String> |
getlCommands()
Gets lists of commands
|
java.util.ArrayList<PatternsState> |
getListOfPatternsStates()
Gets the list of all pattern states
|
int |
getNext()
gets next pattern
|
PatternsState |
getPatternsState(int i)
gets one pattern state
|
boolean |
getWeMatchedStepI()
Check if a match happened on the step
|
getFileName, getNumberOfStates, getStatesElements, init
public java.util.ArrayList<PatternsState> getListOfPatternsStates()
public int getNext()
public java.util.List<java.lang.String> getlCommands()
public PatternsState getPatternsState(int i)
i
- indexpublic boolean getWeMatchedStepI()
public java.lang.String checkMatching(GenericTextAnnotation anno, boolean weAreInOutOfContext)
anno
- input annotated dataweAreInOutOfContext
- check if system is looking in out of context patterns or in original scenario of the story.