Package ca.phon.ipa

Class CoverVisitor

All Implemented Interfaces:
Visitor<IPAElement>

public class CoverVisitor extends VisitorAdapter<IPAElement>
Performs the cover operation on a IPATranscript
  • Constructor Details

    • CoverVisitor

      public CoverVisitor(String symbolMap)
    • CoverVisitor

      public CoverVisitor(String symbolMap, boolean includeStress, boolean includeSyllableBoundaries, boolean insertImplicitSyllableBoundaries, boolean includeDiacritics)
      Parse symbolMap Format: =; ...
      Parameters:
      symbolMap -
      includeStress -
      includeSyllableBoundaries -
      ioncludeDiacritics -
    • CoverVisitor

      public CoverVisitor(List<PhoneMatcher> matchers, Map<PhoneMatcher,Character> symbolMap)
    • CoverVisitor

      public CoverVisitor(List<PhoneMatcher> matchers, Map<PhoneMatcher,Character> symbolMap, boolean includeStress, boolean includeSyllableBoundaries, boolean includeDiacritics)
  • Method Details

    • fallbackVisit

      public void fallbackVisit(IPAElement obj)
      Description copied from class: VisitorAdapter
      Generic, i.e., fallback, processing method.
      Specified by:
      fallbackVisit in class VisitorAdapter<IPAElement>
    • getMatchers

      public List<PhoneMatcher> getMatchers()
    • setMatchers

      public void setMatchers(List<PhoneMatcher> matchers)
    • getSymbolMap

      public Map<PhoneMatcher,Character> getSymbolMap()
    • setSymbolMap

      public void setSymbolMap(Map<PhoneMatcher,Character> symbolMap)
    • isIncludeStress

      public boolean isIncludeStress()
    • setIncludeStress

      public void setIncludeStress(boolean includeStress)
    • isIncludeSyllableBoundaries

      public boolean isIncludeSyllableBoundaries()
    • setIncludeSyllableBoundaries

      public void setIncludeSyllableBoundaries(boolean includeSyllableBoundaries)
    • isInsertImplicitSyllableBoundaries

      public boolean isInsertImplicitSyllableBoundaries()
    • setInsertImplicitSyllableBoundaries

      public void setInsertImplicitSyllableBoundaries(boolean insertImplicitSyllableBoundaries)
    • isIncludeDiacritics

      public boolean isIncludeDiacritics()
    • setIncludeDiacritics

      public void setIncludeDiacritics(boolean includeDiacritics)
    • visitWordBoundary

      @Visits public void visitWordBoundary(WordBoundary wb)
    • visitStressMarker

      @Visits public void visitStressMarker(StressMarker marker)
    • visitSyllableBoundary

      @Visits public void visitSyllableBoundary(SyllableBoundary sb)
    • visitIntraWordPause

      @Visits public void visitIntraWordPause(IntraWordPause wp)
    • visitCompoundPhone

      @Visits public void visitCompoundPhone(CompoundPhone cp)
    • visitPhone

      @Visits public void visitPhone(Phone p)
    • getIPATranscript

      public IPATranscript getIPATranscript()