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 TypeMethodDescriptionvoidGeneric, i.e., fallback, processing method.Get the updated orthographyvoidreset()voidvisitCompoundWord(CompoundWord compoundWord) voidvisitInternalMedia(InternalMedia internalMedia) voidvisitOrthoGroup(OrthoGroup group) voidvisitPhoneticGroup(PhoneticGroup phoneticGroup) voidMethods 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:VisitorAdapterGeneric, i.e., fallback, processing method.- Specified by:
fallbackVisitin 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)
-