Class CrossTierAlignment
java.lang.Object
ca.phon.session.alignment.CrossTierAlignment
Alignment between a target/top tier and one or more other tiers.
-
Constructor Summary
ConstructorsConstructorDescriptionCrossTierAlignment(Tier<?> topTier, Map<String, TierAlignment> alignmentMap, Transcriber transcriber) -
Method Summary
Modifier and TypeMethodDescriptiongetAlignedElements(Object obj) Return a map of alignments for the given objectgetBottomAlignmentElements(String tierName) Returns a list of all bottom alignment elements for the specified tiergetTierAlignment(String tierName) Get tier alignment for specified tierReturns a list of all top alignment elements across all tiersTier<?> booleanDetermine if the alignment is complete for all tiers.
-
Constructor Details
-
CrossTierAlignment
public CrossTierAlignment(Tier<?> topTier, Map<String, TierAlignment> alignmentMap, Transcriber transcriber)
-
-
Method Details
-
getTopTier
-
getBottomTierNames
-
getAlignedElements
-
getTopAlignmentElements
-
getTierAlignment
Get tier alignment for specified tier- Parameters:
tierName-
-
getBottomAlignmentElements
-
isComplete
public boolean isComplete()Determine if the alignment is complete for all tiers. This means that all tiers have the correct number of align-able elements with respect to the top tier.- Returns:
trueif alignment is complete,falseotherwise
-