Class UnicodeIPAParserListener
- All Implemented Interfaces:
UnicodeIPAListener
,org.antlr.v4.runtime.tree.ParseTreeListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Exit a parse tree produced byUnicodeIPAParser.alignment()
.void
Exit a parse tree produced by theCompoundPhone
labeled alternative inUnicodeIPAParser.phone()
.void
Exit a parse tree produced by theCompoundWordMarker
labeled alternative inUnicodeIPAParser.compound_word_marker()
.void
Exit a parse tree produced by theGroupNameRef
labeled alternative inUnicodeIPAParser.phonex_matcher_ref()
.void
Exit a parse tree produced by theGroupNumberRef
labeled alternative inUnicodeIPAParser.phonex_matcher_ref()
.void
Exit a parse tree produced byUnicodeIPAParser.intra_word_pause()
.void
Exit a parse tree produced by theLongPause
labeled alternative inUnicodeIPAParser.pause_length()
.void
Exit a parse tree produced by theMajorGroup
labeled alternative inUnicodeIPAParser.syllable_boundary()
.void
Exit a parse tree produced by theMediumPause
labeled alternative inUnicodeIPAParser.pause_length()
.void
Exit a parse tree produced by theMinorGroup
labeled alternative inUnicodeIPAParser.syllable_boundary()
.void
Exit a parse tree produced byUnicodeIPAParser.phone_length()
.void
Exit a parse tree produced by thePrefixDiacritic
labeled alternative inUnicodeIPAParser.prefix_diacritic()
.void
Exit a parse tree produced by thePrefixDiacriticLigature
labeled alternative inUnicodeIPAParser.prefix_diacritic()
.void
Exit a parse tree produced by thePrefixDiacriticRoleReversed
labeled alternative inUnicodeIPAParser.prefix_diacritic()
.void
Exit a parse tree produced by thePrimaryStress
labeled alternative inUnicodeIPAParser.stress()
.void
Exit a parse tree produced by theSandhiMarker
labeled alternative inUnicodeIPAParser.sandhi()
.void
Exit a parse tree produced byUnicodeIPAParser.sctype()
.void
Exit a parse tree produced by theSecondaryStress
labeled alternative inUnicodeIPAParser.stress()
.void
Exit a parse tree produced by theShortPause
labeled alternative inUnicodeIPAParser.pause_length()
.void
Exit a parse tree produced by theSinglePhone
labeled alternative inUnicodeIPAParser.phone()
.void
Exit a parse tree produced byUnicodeIPAParser.start()
.void
Exit a parse tree produced by theSuffixDiacritic
labeled alternative inUnicodeIPAParser.suffix_diacritic()
.void
Exit a parse tree produced by theSuffixDiacriticLigature
labeled alternative inUnicodeIPAParser.suffix_diacritic()
.void
Exit a parse tree produced by theSuffixDiacriticRoleReversed
labeled alternative inUnicodeIPAParser.suffix_diacritic()
.void
Exit a parse tree produced by theSyllableBoundary
labeled alternative inUnicodeIPAParser.syllable_boundary()
.void
Exit a parse tree produced byUnicodeIPAParser.tone_number()
.void
Exit a parse tree produced by theWhiteSpace
labeled alternative inUnicodeIPAParser.word_boundary()
.Get the IPATranscript created by this listener.void
visitErrorNode
(org.antlr.v4.runtime.tree.ErrorNode errorNode) Methods inherited from class ca.phon.ipa.parser.UnicodeIPABaseListener
enterAlignment, enterBase_phone, enterCompoundPhone, enterCompoundWord, enterCompoundWordMarker, enterEveryRule, enterGroupNameRef, enterGroupNumberRef, enterIntra_word_pause, enterIpa_element, enterLongPause, enterMajorGroup, enterMediumPause, enterMinorGroup, enterPause, enterPhone_length, enterPrefix_section, enterPrefixDiacritic, enterPrefixDiacriticLigature, enterPrefixDiacriticRoleReversed, enterPrimaryStress, enterSandhiMarker, enterSctype, enterSecondaryStress, enterShortPause, enterSimpleWord, enterSinglePhone, enterStart, enterSuffix_section, enterSuffixDiacritic, enterSuffixDiacriticLigature, enterSuffixDiacriticRoleReversed, enterSyllableBoundary, enterTone_number, enterTranscription, enterWhiteSpace, enterWordPause, exitBase_phone, exitCompoundWord, exitEveryRule, exitIpa_element, exitPause, exitPrefix_section, exitSimpleWord, exitSuffix_section, exitTranscription, exitWordPause, visitTerminal
-
Constructor Details
-
UnicodeIPAParserListener
public UnicodeIPAParserListener()
-
-
Method Details
-
getBuilder
-
getParserErrors
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode errorNode) Description copied from class:UnicodeIPABaseListener
The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
- Overrides:
visitErrorNode
in classUnicodeIPABaseListener
-
exitStart
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced byUnicodeIPAParser.start()
.The default implementation does nothing.
- Specified by:
exitStart
in interfaceUnicodeIPAListener
- Overrides:
exitStart
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitPrimaryStress
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by thePrimaryStress
labeled alternative inUnicodeIPAParser.stress()
.The default implementation does nothing.
- Specified by:
exitPrimaryStress
in interfaceUnicodeIPAListener
- Overrides:
exitPrimaryStress
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitSecondaryStress
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theSecondaryStress
labeled alternative inUnicodeIPAParser.stress()
.The default implementation does nothing.
- Specified by:
exitSecondaryStress
in interfaceUnicodeIPAListener
- Overrides:
exitSecondaryStress
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitSyllableBoundary
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theSyllableBoundary
labeled alternative inUnicodeIPAParser.syllable_boundary()
.The default implementation does nothing.
- Specified by:
exitSyllableBoundary
in interfaceUnicodeIPAListener
- Overrides:
exitSyllableBoundary
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitIntra_word_pause
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced byUnicodeIPAParser.intra_word_pause()
.The default implementation does nothing.
- Specified by:
exitIntra_word_pause
in interfaceUnicodeIPAListener
- Overrides:
exitIntra_word_pause
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitWhiteSpace
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theWhiteSpace
labeled alternative inUnicodeIPAParser.word_boundary()
.The default implementation does nothing.
- Specified by:
exitWhiteSpace
in interfaceUnicodeIPAListener
- Overrides:
exitWhiteSpace
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitCompoundWordMarker
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theCompoundWordMarker
labeled alternative inUnicodeIPAParser.compound_word_marker()
.The default implementation does nothing.
- Specified by:
exitCompoundWordMarker
in interfaceUnicodeIPAListener
- Overrides:
exitCompoundWordMarker
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitSandhiMarker
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theSandhiMarker
labeled alternative inUnicodeIPAParser.sandhi()
.The default implementation does nothing.
- Specified by:
exitSandhiMarker
in interfaceUnicodeIPAListener
- Overrides:
exitSandhiMarker
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitGroupNumberRef
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theGroupNumberRef
labeled alternative inUnicodeIPAParser.phonex_matcher_ref()
.The default implementation does nothing.
- Specified by:
exitGroupNumberRef
in interfaceUnicodeIPAListener
- Overrides:
exitGroupNumberRef
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitGroupNameRef
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theGroupNameRef
labeled alternative inUnicodeIPAParser.phonex_matcher_ref()
.The default implementation does nothing.
- Specified by:
exitGroupNameRef
in interfaceUnicodeIPAListener
- Overrides:
exitGroupNameRef
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitSctype
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced byUnicodeIPAParser.sctype()
.The default implementation does nothing.
- Specified by:
exitSctype
in interfaceUnicodeIPAListener
- Overrides:
exitSctype
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitSinglePhone
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theSinglePhone
labeled alternative inUnicodeIPAParser.phone()
.The default implementation does nothing.
- Specified by:
exitSinglePhone
in interfaceUnicodeIPAListener
- Overrides:
exitSinglePhone
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitPhone_length
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced byUnicodeIPAParser.phone_length()
.The default implementation does nothing.
- Specified by:
exitPhone_length
in interfaceUnicodeIPAListener
- Overrides:
exitPhone_length
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitPrefixDiacritic
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by thePrefixDiacritic
labeled alternative inUnicodeIPAParser.prefix_diacritic()
.The default implementation does nothing.
- Specified by:
exitPrefixDiacritic
in interfaceUnicodeIPAListener
- Overrides:
exitPrefixDiacritic
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitPrefixDiacriticRoleReversed
public void exitPrefixDiacriticRoleReversed(UnicodeIPAParser.PrefixDiacriticRoleReversedContext ctx) Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by thePrefixDiacriticRoleReversed
labeled alternative inUnicodeIPAParser.prefix_diacritic()
.The default implementation does nothing.
- Specified by:
exitPrefixDiacriticRoleReversed
in interfaceUnicodeIPAListener
- Overrides:
exitPrefixDiacriticRoleReversed
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitPrefixDiacriticLigature
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by thePrefixDiacriticLigature
labeled alternative inUnicodeIPAParser.prefix_diacritic()
.The default implementation does nothing.
- Specified by:
exitPrefixDiacriticLigature
in interfaceUnicodeIPAListener
- Overrides:
exitPrefixDiacriticLigature
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitSuffixDiacritic
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theSuffixDiacritic
labeled alternative inUnicodeIPAParser.suffix_diacritic()
.The default implementation does nothing.
- Specified by:
exitSuffixDiacritic
in interfaceUnicodeIPAListener
- Overrides:
exitSuffixDiacritic
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitSuffixDiacriticRoleReversed
public void exitSuffixDiacriticRoleReversed(UnicodeIPAParser.SuffixDiacriticRoleReversedContext ctx) Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theSuffixDiacriticRoleReversed
labeled alternative inUnicodeIPAParser.suffix_diacritic()
.The default implementation does nothing.
- Specified by:
exitSuffixDiacriticRoleReversed
in interfaceUnicodeIPAListener
- Overrides:
exitSuffixDiacriticRoleReversed
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitSuffixDiacriticLigature
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theSuffixDiacriticLigature
labeled alternative inUnicodeIPAParser.suffix_diacritic()
.The default implementation does nothing.
- Specified by:
exitSuffixDiacriticLigature
in interfaceUnicodeIPAListener
- Overrides:
exitSuffixDiacriticLigature
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitTone_number
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced byUnicodeIPAParser.tone_number()
.The default implementation does nothing.
- Specified by:
exitTone_number
in interfaceUnicodeIPAListener
- Overrides:
exitTone_number
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitMinorGroup
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theMinorGroup
labeled alternative inUnicodeIPAParser.syllable_boundary()
.The default implementation does nothing.
- Specified by:
exitMinorGroup
in interfaceUnicodeIPAListener
- Overrides:
exitMinorGroup
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitMajorGroup
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theMajorGroup
labeled alternative inUnicodeIPAParser.syllable_boundary()
.The default implementation does nothing.
- Specified by:
exitMajorGroup
in interfaceUnicodeIPAListener
- Overrides:
exitMajorGroup
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitCompoundPhone
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theCompoundPhone
labeled alternative inUnicodeIPAParser.phone()
.The default implementation does nothing.
- Specified by:
exitCompoundPhone
in interfaceUnicodeIPAListener
- Overrides:
exitCompoundPhone
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitShortPause
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theShortPause
labeled alternative inUnicodeIPAParser.pause_length()
.The default implementation does nothing.
- Specified by:
exitShortPause
in interfaceUnicodeIPAListener
- Overrides:
exitShortPause
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitMediumPause
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theMediumPause
labeled alternative inUnicodeIPAParser.pause_length()
.The default implementation does nothing.
- Specified by:
exitMediumPause
in interfaceUnicodeIPAListener
- Overrides:
exitMediumPause
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitLongPause
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced by theLongPause
labeled alternative inUnicodeIPAParser.pause_length()
.The default implementation does nothing.
- Specified by:
exitLongPause
in interfaceUnicodeIPAListener
- Overrides:
exitLongPause
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
exitAlignment
Description copied from class:UnicodeIPABaseListener
Exit a parse tree produced byUnicodeIPAParser.alignment()
.The default implementation does nothing.
- Specified by:
exitAlignment
in interfaceUnicodeIPAListener
- Overrides:
exitAlignment
in classUnicodeIPABaseListener
- Parameters:
ctx
- the parse tree
-
getTranscript
Get the IPATranscript created by this listener.- Returns:
- ipa
-