Class WorTierUpdateVisitor
java.lang.Object
ca.phon.visitor.VisitorAdapter<OrthographyElement>
ca.phon.app.session.intervalTiers.WorTierUpdateVisitor
- All Implemented Interfaces:
Visitor<OrthographyElement>
Generate a new word intervals tier from an orthography tier using the provided
internal media list. The number of words in the orthography tier should match
the number of internal media objects in the list. The internal media objects
will be added to the new word intervals tier in the order they are provided.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Generic, i.e., fallback, processing method.Get the updated orthographyvoid
reset()
void
visitCompoundWord
(CompoundWord compoundWord) void
visitInternalMedia
(InternalMedia internalMedia) void
visitOrthoGroup
(OrthoGroup group) void
visitPhoneticGroup
(PhoneticGroup phoneticGroup) void
Methods inherited from class ca.phon.visitor.VisitorAdapter
visit
-
Constructor Details
-
WorTierUpdateVisitor
-
-
Method Details
-
reset
public void reset() -
visitOrthoGroup
-
visitPhoneticGroup
-
visitWord
-
visitCompoundWord
-
visitInternalMedia
-
fallbackVisit
Description copied from class:VisitorAdapter
Generic, i.e., fallback, processing method.- Specified by:
fallbackVisit
in classVisitorAdapter<OrthographyElement>
- Parameters:
obj
- the object to visit
-
getOrthography
Get the updated orthography- Returns:
- the updated orthography or null if no orthography (should not happen)
-