Package ca.phon.syllable.phonex
Class DiphthongMatcher
java.lang.Object
ca.phon.syllable.phonex.DiphthongMatcher
- All Implemented Interfaces:
PhoneMatcher
Tests nucleus membership in diphthongs.
-
Constructor Summary
-
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
-
DiphthongMatcher
public DiphthongMatcher() -
DiphthongMatcher
public DiphthongMatcher(boolean diphthong)
-
-
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
-