Class ToneNumberMatcher

java.lang.Object
ca.phon.syllable.phonex.ToneNumberMatcher
All Implemented Interfaces:
PhoneMatcher

public class ToneNumberMatcher extends Object implements PhoneMatcher
Matcher for tone information in SyllabificationInfo
  • Field Details

  • Constructor Details

    • ToneNumberMatcher

      public ToneNumberMatcher(List<String> toneNumbers, boolean isNot)
  • 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