Interface TierElementFilter
- All Known Implementing Classes:
IPATierElementFilter,OrthographyTierElementFilter,PhoneIntervalsElementFilter,UserTierElementFilter,WorElementFilter
public interface TierElementFilter
Filter for tier elements for cross tier alignment
-
Method Summary
Modifier and TypeMethodDescriptionstatic TierElementFilterdefaultElementFilterForAlignedTypes(Class<?> tierType, Class<?> alignedType) Create default element filter for given tier typesstatic TierElementFilterGrasp filter for alignment with morpheme tierstatic TierElementFilterMorpheme filter for alignment with morpheme tierstatic UserTierElementFilterIPA filter for alignment with morpheme tierstatic TierElementFilterfilterForAlignedTiers(Tier<?> tier1, Tier<?> tier2) Create default element filter for given tiersList<?> filterTier(Tier<?> tier, Transcriber transcriber) Filter tier elements for cross tier alignmentstatic IPATierElementFilterIPA filter for alignment with another IPA tierstatic IPATierElementFilterIPA filter for alignment with orthography tierstatic IPATierElementFilterIPA filter for alignment with user defined tierstatic TierElementFilterMorpheme filter for alignment with grasp tier.static OrthographyTierElementFilterOrthography filter for alignment with IPA tierstatic OrthographyTierElementFilterOrthography filter for alignment with morpheme tierstatic OrthographyTierElementFilterOrthography filter for alignment with another orthography tierstatic OrthographyTierElementFilterOrthography filter for alignment with user defined tierstatic TierElementFilterFilter for the phone intervals tier.static TierElementFilterWord and interval filter for the word intervals tier.
-
Method Details
-
filterForAlignedTiers
Create default element filter for given tiers- Parameters:
tier1- the top tiertier2- 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 typealignedType- the aligned tier type- Returns:
- default element filter for given tier types
-
orthographyFilterForOrthographyAlignment
Orthography filter for alignment with another orthography tier- Returns:
- orthography filter for alignment with another orthography tier
-
orthographyFilterForIPAAlignment
Orthography filter for alignment with IPA tier- Returns:
- orthography filter for alignment with IPA tier
-
orthographyFilterForUserTierAlignment
Orthography filter for alignment with user defined tier- Returns:
- orthography filter for alignment with user defined tier
-
orthographyFilterForMorTierAlignment
Orthography filter for alignment with morpheme tier- Returns:
- orthography filter for alignment with morpheme tier
-
ipaFilterForIPAAlignment
IPA filter for alignment with another IPA tier- Returns:
- IPA filter for alignment with another IPA tier
-
ipaFilterForOOrthographyAlignment
IPA filter for alignment with orthography tier- Returns:
- IPA filter for alignment with orthography tier
-
ipaFilterForUserTierAlignment
IPA filter for alignment with user defined tier- Returns:
- IPA filter for alignment with user defined tier
-
defaultUserTierElementFilter
IPA filter for alignment with morpheme tier- Returns:
- IPA filter for alignment with morpheme tier
-
defaultMorTierElementFilter
Morpheme filter for alignment with morpheme tier- Returns:
- morpheme filter for alignment with morpheme tier
-
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
Grasp filter for alignment with morpheme tier- Returns:
- grasp filter for alignment with morpheme tier
-
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
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
Filter tier elements for cross tier alignment- Parameters:
tier-- Returns:
- list of alignable elements in tier
-