Class CrossTierAlignment

java.lang.Object
ca.phon.session.alignment.CrossTierAlignment

public class CrossTierAlignment extends Object
Alignment between a target/top tier and one or more other tiers.
  • Constructor Details

  • Method Details

    • getTopTier

      public Tier<?> getTopTier()
    • getBottomTierNames

      public Set<String> getBottomTierNames()
    • getAlignedElements

      public Map<String,Object> getAlignedElements(Object obj)
      Return a map of alignments for the given object
      Parameters:
      obj - an object from the top tier
    • getTopAlignmentElements

      public List<Object> getTopAlignmentElements()
      Returns a list of all top alignment elements across all tiers
      Returns:
      a list of all top alignment elements in the cross tier alignment
    • getTierAlignment

      public TierAlignment getTierAlignment(String tierName)
      Get tier alignment for specified tier
      Parameters:
      tierName -
    • getBottomAlignmentElements

      public List<Object> getBottomAlignmentElements(String tierName)
      Returns a list of all bottom alignment elements for the specified tier
      Parameters:
      tierName -
      Returns:
      alignment elements for tier
    • 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:
      true if alignment is complete, false otherwise