Class PhonexTransition
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
BackReferenceTransition,BeginningOfInputTransition,EmptyTransition,EndOfInputTransition,NamedReferenceTransition,SyllableBoundaryTransition,SyllableTransition,WordBoundaryTransition
Transitions using
PhoneMatchers.-
Constructor Summary
ConstructorsConstructorDescriptionPhonexTransition(PhoneMatcher matcher) Create a new transition with the given base phone matcherPhonexTransition(PhoneMatcher matcher, PhoneMatcher... secondaryMatchers) Create a new transitions with the given base matcher and secondary matchers -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSecondaryMatcher(PhoneMatcher typeMatcher) Set the type matcherclone()booleanfollow(FSAState<IPAElement> currentState) Determines if the fsa will follow the transition given the current running state.getImage()Get the base phone matcherGet the secondary matchersvoidremoveSecondaryMatcher(PhoneMatcher matcher) Remove secondary matcherMethods inherited from class ca.phon.fsa.FSATransition
copyTransitionInfo, getFirstState, getInitGroups, getMatcherGroups, getMatchLength, getOffsetType, getToState, getType, setFirstState, setImage, setOffsetType, setToState, setType, setupTransition
-
Constructor Details
-
PhonexTransition
Create a new transition with the given base phone matcher- Parameters:
matcher-
-
PhonexTransition
Create a new transitions with the given base matcher and secondary matchers- Parameters:
matcher-secondaryMatchers-
-
-
Method Details
-
getMatcher
-
getSecondaryMatchers
Get the secondary matchers- Returns:
- the list secondary
PhoneMatchermatcher
-
addSecondaryMatcher
Set the type matcher- Parameters:
typeMatcher-
-
removeSecondaryMatcher
Remove secondary matcher- Parameters:
matcher-
-
follow
Description copied from class:FSATransitionDetermines if the fsa will follow the transition given the current running state.- Specified by:
followin classFSATransition<IPAElement>- Parameters:
currentState- the current machine state- Returns:
trueif this transition can be followed given the current state,falseotherwise
-
getImage
- Overrides:
getImagein classFSATransition<IPAElement>
-
clone
-