Class PhoneAlignmentConstants

java.lang.Object
ca.phon.ipa.alignment.PhoneAlignmentConstants

public class PhoneAlignmentConstants extends Object
Constants for rewards and penalties during alignment
  • Field Details

    • RSpacerToSpacer

      public static final int RSpacerToSpacer
      Reward for aligning spacers with spacers
      See Also:
    • RPrimaryStressMatch

      public static final int RPrimaryStressMatch
      Reward for aligning primary stress
      See Also:
    • RPrimaryToSecondaryStress

      public static final int RPrimaryToSecondaryStress
      Reward for aligning primary stress with secondary stress
      See Also:
    • RSecondaryStressMatch

      public static final int RSecondaryStressMatch
      Reward for aligning secondary stress
      See Also:
    • RPhoneMatch

      public static final int RPhoneMatch
      Reward for aligning identical phones
      See Also:
    • RStressedVowel

      public static final int RStressedVowel
      Reward for vowels in stressed syllables (syllabic alignment)
      See Also:
    • RStressedVowelOnly

      public static final int RStressedVowelOnly
      Reward for aligning stressed vowels (segmental alignment)
      See Also:
    • RSyllableConstituent

      public static final int RSyllableConstituent
      Reward for phones in the same syllable constituent
      See Also:
    • RArticulationMatch

      public static final int RArticulationMatch
      Reward for phones sharing the same position
      See Also:
    • RVowel

      public static final int RVowel
      Reward for aligning vowels
      See Also:
    • PSpacerToIndel

      public static final int PSpacerToIndel
      Penalty for aligning a spacer with an index
      See Also:
    • PSpacerToPhone

      public static final int PSpacerToPhone
      Penalty for aligning a spacer with a phone
      See Also:
    • PIndel

      public static final int PIndel
      Penalty for indels
      See Also:
    • PDiphthong

      public static final int PDiphthong
      Diphthong penalty
      See Also:
    • PVowelToConsonant

      public static final int PVowelToConsonant
      Penalty for aligning a vowel with a consonant
      See Also:
    • FeatureMultiplier

      public static final int FeatureMultiplier
      Value by which the cound of common features is multiplies
      See Also:
    • StressSyllableScore

      public static final double StressSyllableScore
      Stress syllable score
      See Also:
  • Constructor Details

    • PhoneAlignmentConstants

      public PhoneAlignmentConstants()