Class SonorityDistancePhoneMatcher

java.lang.Object
ca.phon.syllabifier.phonex.SonorityDistancePhoneMatcher
All Implemented Interfaces:
PhoneMatcher

public class SonorityDistancePhoneMatcher extends Object implements PhoneMatcher
Phone matcher for sonority distance.
  • Constructor Details

    • SonorityDistancePhoneMatcher

      public SonorityDistancePhoneMatcher()
    • SonorityDistancePhoneMatcher

      public SonorityDistancePhoneMatcher(int min)
    • SonorityDistancePhoneMatcher

      public SonorityDistancePhoneMatcher(int min, boolean allowFlat)
  • Method Details

    • matches

      public boolean matches(IPAElement p)
      Description copied from interface: PhoneMatcher
      Perform test on given phone.
      Specified by:
      matches in interface PhoneMatcher
    • 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 interface PhoneMatcher