Package ca.phon.phonex
Class EndOfInputTransition
java.lang.Object
ca.phon.fsa.FSATransition<IPAElement>
ca.phon.phonex.PhonexTransition
ca.phon.phonex.EndOfInputTransition
- All Implemented Interfaces:
Cloneable
Transition for matching end of tape input.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
follow
(FSAState<IPAElement> currentState) Determines if the fsa will follow the transition given the current running state.getImage()
int
The number of items matched by this transition default is 1.Methods inherited from class ca.phon.phonex.PhonexTransition
addSecondaryMatcher, getMatcher, getSecondaryMatchers, removeSecondaryMatcher
Methods inherited from class ca.phon.fsa.FSATransition
copyTransitionInfo, getFirstState, getInitGroups, getMatcherGroups, getOffsetType, getToState, getType, setFirstState, setImage, setOffsetType, setToState, setType, setupTransition
-
Constructor Details
-
EndOfInputTransition
public EndOfInputTransition()
-
-
Method Details
-
follow
Description copied from class:FSATransition
Determines if the fsa will follow the transition given the current running state.- Overrides:
follow
in classPhonexTransition
- Parameters:
currentState
- the current machine state- Returns:
true
if this transition can be followed given the current state,false
otherwise
-
getMatchLength
public int getMatchLength()Description copied from class:FSATransition
The number of items matched by this transition default is 1.- Overrides:
getMatchLength
in classFSATransition<IPAElement>
- Returns:
- number of items to match on the tape
-
getImage
- Overrides:
getImage
in classPhonexTransition
-
clone
- Overrides:
clone
in classPhonexTransition
-