Class NamedReferenceTransition
java.lang.Object
ca.phon.fsa.FSATransition<IPAElement>
ca.phon.phonex.PhonexTransition
ca.phon.phonex.NamedReferenceTransition
- All Implemented Interfaces:
Cloneable
Transition for named references in phonex expressions. (e.g., \{1}, \{C}).
The group reference may be negated (e.g., \{^1}, \{^C}).
When used in aligned expressions, the group reference may be a group which is not
currently matched. In this case, the fsa will initially follow the transition and
defer the match until the information is available. This is possible because aligned
expressions will never increase the tape position and execute on a different tape consisting
of the aligned elements.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfollow(FSAState<IPAElement> currentState) Determines if the fsa will follow the transition given the current running state.intbooleantoString()Methods inherited from class ca.phon.phonex.PhonexTransition
addSecondaryMatcher, clone, getImage, getMatcher, getSecondaryMatchers, removeSecondaryMatcherMethods inherited from class ca.phon.fsa.FSATransition
copyTransitionInfo, getFirstState, getInitGroups, getMatcherGroups, getMatchLength, getOffsetType, getToState, getType, setFirstState, setImage, setOffsetType, setToState, setType, setupTransition
-
Constructor Details
-
NamedReferenceTransition
-
-
Method Details
-
getGroupIndex
public int getGroupIndex() -
getGroupName
-
isNegated
public boolean isNegated() -
follow
Description copied from class:FSATransitionDetermines if the fsa will follow the transition given the current running state.- Overrides:
followin classPhonexTransition- Parameters:
currentState- the current machine state- Returns:
trueif this transition can be followed given the current state,falseotherwise
-
toString
-