Class SonorityDistancePhoneMatcher
java.lang.Object
ca.phon.syllabifier.phonex.SonorityDistancePhoneMatcher
- All Implemented Interfaces:
PhoneMatcher
Phone matcher for sonority distance.
-
Constructor Summary
ConstructorsConstructorDescriptionSonorityDistancePhoneMatcher(int min) SonorityDistancePhoneMatcher(int min, boolean allowFlat) -
Method Summary
Modifier and TypeMethodDescriptionbooleanPerform test on given phone.booleanDoes this matcher match anything? Used at runtime to help determine proper backtracking paths.
-
Constructor Details
-
SonorityDistancePhoneMatcher
public SonorityDistancePhoneMatcher() -
SonorityDistancePhoneMatcher
public SonorityDistancePhoneMatcher(int min) -
SonorityDistancePhoneMatcher
public SonorityDistancePhoneMatcher(int min, boolean allowFlat)
-
-
Method Details
-
matches
Description copied from interface:PhoneMatcherPerform test on given phone.- Specified by:
matchesin interfacePhoneMatcher
-
matchesAnything
public boolean matchesAnything()Description copied from interface:PhoneMatcherDoes this matcher match anything? Used at runtime to help determine proper backtracking paths.- Specified by:
matchesAnythingin interfacePhoneMatcher
-