Package ca.phon.syllable.phonex
Class StressMatcher
java.lang.Object
ca.phon.syllable.phonex.StressMatcher
- All Implemented Interfaces:
PhoneMatcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addType
(SyllableStress type) Add the given stress type to the list of allowed types.boolean
Perform test on given phone.boolean
Does 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: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
-
toString
-