Class SyllableTransition
java.lang.Object
ca.phon.fsa.FSATransition<IPAElement>
ca.phon.phonex.PhonexTransition
ca.phon.syllable.phonex.SyllableTransition
- All Implemented Interfaces:
Cloneable
A transition which will match a full syllable unit
or the remainder of a syllable.
-
Constructor Summary
ConstructorsConstructorDescriptionSyllableTransition(PhoneMatcher[] matchers) SyllableTransition(PhoneMatcher[] matchers, Tuple<SyllableConstituentType, SyllableConstituentType> range) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanfollow(FSAState<IPAElement> currentState) Determines if the fsa will follow the transition given the current running state.getImage()intThe number of items matched by this transition default is 1.Methods inherited from class ca.phon.phonex.PhonexTransition
addSecondaryMatcher, getMatcher, getSecondaryMatchers, removeSecondaryMatcherMethods inherited from class ca.phon.fsa.FSATransition
copyTransitionInfo, getFirstState, getInitGroups, getMatcherGroups, getOffsetType, getToState, getType, setFirstState, setImage, setOffsetType, setToState, setType, setupTransition
-
Constructor Details
-
SyllableTransition
public SyllableTransition() -
SyllableTransition
-
SyllableTransition
public SyllableTransition(PhoneMatcher[] matchers, Tuple<SyllableConstituentType, SyllableConstituentType> range)
-
-
Method Details
-
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
-
getImage
- Overrides:
getImagein classPhonexTransition
-
getMatchLength
public int getMatchLength()Description copied from class:FSATransitionThe number of items matched by this transition default is 1.- Overrides:
getMatchLengthin classFSATransition<IPAElement>- Returns:
- number of items to match on the tape
-
clone
- Overrides:
clonein classPhonexTransition
-