Package ca.phon.syllabifier.phonex
Class SonorityDistancePhoneMatcher
java.lang.Object
ca.phon.syllabifier.phonex.SonorityDistancePhoneMatcher
- All Implemented Interfaces:
PhoneMatcher
Phone matcher for sonority distance.
-
Constructor Summary
ConstructorDescriptionSonorityDistancePhoneMatcher
(int min) SonorityDistancePhoneMatcher
(int min, boolean allowFlat) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Perform test on given phone.boolean
Does 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:PhoneMatcher
Perform test on given phone.- Specified by:
matches
in interfacePhoneMatcher
-
matchesAnything
public boolean matchesAnything()Description copied from interface:PhoneMatcher
Does this matcher match anything? Used at runtime to help determine proper backtracking paths.- Specified by:
matchesAnything
in interfacePhoneMatcher
-