Class StressMatcher
java.lang.Object
ca.phon.syllable.phonex.StressMatcher
- All Implemented Interfaces:
PhoneMatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddType(SyllableStress type) Add the given stress type to the list of allowed types.booleanPerform test on given phone.booleanDoes this matcher match anything? Used at runtime to help determine proper backtracking paths.toString()
-
Constructor Details
-
StressMatcher
public StressMatcher()
-
-
Method Details
-
addType
Add the given stress type to the list of allowed types.- Parameters:
type-
-
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
-
toString
-