Interface TierElementFilter

All Known Implementing Classes:
IPATierElementFilter, OrthographyTierElementFilter, PhoneIntervalsElementFilter, UserTierElementFilter, WorElementFilter

public interface TierElementFilter
Filter for tier elements for cross tier alignment
  • Method Details

    • filterForAlignedTiers

      static TierElementFilter filterForAlignedTiers(Tier<?> tier1, Tier<?> tier2)
      Create default element filter for given tiers
      Parameters:
      tier1 - the top tier
      tier2 - the aligned tier
      Returns:
      default element filter for given tiers
    • defaultElementFilterForAlignedTypes

      static TierElementFilter defaultElementFilterForAlignedTypes(Class<?> tierType, Class<?> alignedType)
      Create default element filter for given tier types
      Parameters:
      tierType - the top tier type
      alignedType - the aligned tier type
      Returns:
      default element filter for given tier types
    • orthographyFilterForOrthographyAlignment

      static OrthographyTierElementFilter orthographyFilterForOrthographyAlignment()
      Orthography filter for alignment with another orthography tier
      Returns:
      orthography filter for alignment with another orthography tier
    • orthographyFilterForIPAAlignment

      static OrthographyTierElementFilter orthographyFilterForIPAAlignment()
      Orthography filter for alignment with IPA tier
      Returns:
      orthography filter for alignment with IPA tier
    • orthographyFilterForUserTierAlignment

      static OrthographyTierElementFilter orthographyFilterForUserTierAlignment()
      Orthography filter for alignment with user defined tier
      Returns:
      orthography filter for alignment with user defined tier
    • orthographyFilterForMorTierAlignment

      static OrthographyTierElementFilter orthographyFilterForMorTierAlignment()
      Orthography filter for alignment with morpheme tier
      Returns:
      orthography filter for alignment with morpheme tier
    • ipaFilterForIPAAlignment

      static IPATierElementFilter ipaFilterForIPAAlignment()
      IPA filter for alignment with another IPA tier
      Returns:
      IPA filter for alignment with another IPA tier
    • ipaFilterForOOrthographyAlignment

      static IPATierElementFilter ipaFilterForOOrthographyAlignment()
      IPA filter for alignment with orthography tier
      Returns:
      IPA filter for alignment with orthography tier
    • ipaFilterForUserTierAlignment

      static IPATierElementFilter ipaFilterForUserTierAlignment()
      IPA filter for alignment with user defined tier
      Returns:
      IPA filter for alignment with user defined tier
    • defaultUserTierElementFilter

      static UserTierElementFilter defaultUserTierElementFilter()
      IPA filter for alignment with morpheme tier
      Returns:
      IPA filter for alignment with morpheme tier
    • defaultMorTierElementFilter

      static TierElementFilter defaultMorTierElementFilter()
      Morpheme filter for alignment with morpheme tier
      Returns:
      morpheme filter for alignment with morpheme tier
    • morFilterForGraspTierAlignment

      static TierElementFilter morFilterForGraspTierAlignment()
      Morpheme filter for alignment with grasp tier. Grasp tiers are aligned with the morpheme tier, which in turn is aligned with the main line
      Returns:
      morpheme filter for alignment with grasp tier
    • defaultGraTierElementFilter

      static TierElementFilter defaultGraTierElementFilter()
      Grasp filter for alignment with morpheme tier
      Returns:
      grasp filter for alignment with morpheme tier
    • worElementFilter

      static TierElementFilter worElementFilter()
      Word and interval filter for the word intervals tier. This filter will return a list of Orthography objects which are slices of the original Orthography object. The slices are the words and their associated intervals.
      Returns:
      word intervals filter
    • phoneIntervalsElementFilter

      static TierElementFilter phoneIntervalsElementFilter()
      Filter for the phone intervals tier. This filter will return a list of TierData objects which are slices of the original TierData object. The slices are the phones for a single word and their associated intervals. There should be one slice for each alignable element in the IPA Actual tier.
      Returns:
      phone intervals filter
    • filterTier

      List<?> filterTier(Tier<?> tier)
      Filter tier elements for cross tier alignment
      Parameters:
      tier -
      Returns:
      list of alignable elements in tier