Package ca.phon.ipa
Class CoverVisitor
- All Implemented Interfaces:
Visitor<IPAElement>
Performs the cover operation on a
IPATranscript
-
Constructor Summary
ConstructorDescriptionCoverVisitor
(String symbolMap) CoverVisitor
(String symbolMap, boolean includeStress, boolean includeSyllableBoundaries, boolean insertImplicitSyllableBoundaries, boolean includeDiacritics) Parse symbolMap Format:= ; ... CoverVisitor
(List<PhoneMatcher> matchers, Map<PhoneMatcher, Character> symbolMap) CoverVisitor
(List<PhoneMatcher> matchers, Map<PhoneMatcher, Character> symbolMap, boolean includeStress, boolean includeSyllableBoundaries, boolean includeDiacritics) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fallbackVisit
(IPAElement obj) Generic, i.e., fallback, processing method.boolean
boolean
boolean
boolean
void
setIncludeDiacritics
(boolean includeDiacritics) void
setIncludeStress
(boolean includeStress) void
setIncludeSyllableBoundaries
(boolean includeSyllableBoundaries) void
setInsertImplicitSyllableBoundaries
(boolean insertImplicitSyllableBoundaries) void
setMatchers
(List<PhoneMatcher> matchers) void
setSymbolMap
(Map<PhoneMatcher, Character> symbolMap) void
void
void
visitPhone
(Phone p) void
visitStressMarker
(StressMarker marker) void
void
Methods inherited from class ca.phon.visitor.VisitorAdapter
visit
-
Constructor Details
-
CoverVisitor
-
CoverVisitor
public CoverVisitor(String symbolMap, boolean includeStress, boolean includeSyllableBoundaries, boolean insertImplicitSyllableBoundaries, boolean includeDiacritics) Parse symbolMap Format:= ; ... - Parameters:
symbolMap
-includeStress
-includeSyllableBoundaries
-ioncludeDiacritics
-
-
CoverVisitor
-
CoverVisitor
public CoverVisitor(List<PhoneMatcher> matchers, Map<PhoneMatcher, Character> symbolMap, boolean includeStress, boolean includeSyllableBoundaries, boolean includeDiacritics)
-
-
Method Details
-
fallbackVisit
Description copied from class:VisitorAdapter
Generic, i.e., fallback, processing method.- Specified by:
fallbackVisit
in classVisitorAdapter<IPAElement>
-
getMatchers
-
setMatchers
-
getSymbolMap
-
setSymbolMap
-
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
-
visitStressMarker
-
visitSyllableBoundary
-
visitIntraWordPause
-
visitCompoundPhone
-
visitPhone
-
getIPATranscript
-