Class FlatHarmonyDetector
java.lang.Object
ca.phon.query.detectors.FlatHarmonyDetector
Detects harmony on single
IPATranscripts. This is useful for
babbling data.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckHarmony(IPAElement ele1, IPAElement ele2, PhoneDimension... dimensions) Detect consonant harmony within the given ipaDetect vowel harmony within the given ipabooleanisConsonantHarmony(IPAElement p1, IPAElement p2) A harmony exists between the two phones if both place and manner dimensions are the same.booleanisVowelHarmony(IPAElement ele1, IPAElement ele2)
-
Constructor Details
-
FlatHarmonyDetector
public FlatHarmonyDetector()
-
-
Method Details
-
detectConsonantHarmony
Detect consonant harmony within the given ipa- Returns:
- list of harmony locations
-
detectVowelHarmony
Detect vowel harmony within the given ipa- Parameters:
ipa-- Returns:
- list of harmony locations
-
isConsonantHarmony
A harmony exists between the two phones if both place and manner dimensions are the same.- Parameters:
p1-p2-- Returns:
-
isVowelHarmony
-
checkHarmony
-