Class TierDescription

java.lang.Object
ca.phon.extensions.ExtendableObject
ca.phon.session.TierDescription
All Implemented Interfaces:
IExtendable

public final class TierDescription extends ExtendableObject
Description of a tier including name, type, parameters and alignment rules.
  • Method Details

    • getName

      public String getName()
    • getDeclaredType

      public Class<?> getDeclaredType()
    • getTierParameters

      public Map<String,String> getTierParameters()
      Parameters for the tier description. Parameters are defined by individual tier types. For example, the IPA tiers include an optional parameter for syllabifier language.
      Returns:
      map of tier parameters
    • isExcludeFromAlignment

      public boolean isExcludeFromAlignment()
      Should this tier be excluded from cross tier alignment
      Returns:
      true if tier is not part of cross tier alignment
    • isBlind

      public boolean isBlind()
      Is this tier a 'blind' tier or included in blind transcription. Blind tiers are invisible for different transcribers (if blind mode is active) and may be validated when not in blind mode.
      Returns:
      true if tier is included in blind transcription
    • setBlind

      public void setBlind(boolean blind)
      Set the blind status for this tier
      Parameters:
      blind -
    • hasSubtypeInformation

      public boolean hasSubtypeInformation()
      Does this tier have subtype information. This means either subtypeDelim or subtypeExpr have been specified.
      Returns:
      true if subtype delimiters or regular expression is available and the declared type of the tier is TierData
    • hasSubtypeDelim

      public boolean hasSubtypeDelim()
      Return true if this tier include subtype delimiters
      Returns:
      true if the number of subtype delimiters > 0
    • hasSubtypeExpr

      public boolean hasSubtypeExpr()
      Return true if a subtype expression has been specified.
      Returns:
      true if this tier specified a subtype expression
    • getSubtypeDelim

      public List<String> getSubtypeDelim()
      Get subtype delimiters (if any)
      Returns:
      list of subtype delimiters
    • getSubtypeExpr

      public String getSubtypeExpr()
      Get subtype regluar expression. Groups in the expression will be used to identify part of the expression to use
      Returns:
      subtype expr or null if not set