Package ca.phon.ipa
Class PunctuationFilter
- All Implemented Interfaces:
Visitor<IPAElement>
Phone visitor for filtering punctuation in transcriptions.
Flag to ignore or include word boundaries can be set during
construction.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fallbackVisit
(IPAElement obj) Generic, i.e., fallback, processing method.void
visitCompoundWordMarker
(CompoundWordMarker wordMarker) void
visitSandhi
(Sandhi sandhi) void
visitStressMarker
(StressMarker stressMarker) void
visitSyllableBoundaryMarker
(SyllableBoundary boundary) void
Methods inherited from class ca.phon.visitor.VisitorAdapter
visit
-
Constructor Details
-
PunctuationFilter
public PunctuationFilter() -
PunctuationFilter
public PunctuationFilter(boolean ignoreWordBoundaries)
-
-
Method Details
-
fallbackVisit
Description copied from class:VisitorAdapter
Generic, i.e., fallback, processing method.- Specified by:
fallbackVisit
in classVisitorAdapter<IPAElement>
-
visitStressMarker
-
visitSyllableBoundaryMarker
-
visitSandhi
-
visitCompoundWordMarker
-
visitWordBoundary
-
getIPATranscript
-