Package ca.phon.query.detectors
Class FlatHarmonyDetector
java.lang.Object
ca.phon.query.detectors.FlatHarmonyDetector
Detects harmony on single
IPATranscript
s. This is useful for
babbling data.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkHarmony
(IPAElement ele1, IPAElement ele2, PhoneDimension... dimensions) Detect consonant harmony within the given ipaDetect vowel harmony within the given ipaboolean
isConsonantHarmony
(IPAElement p1, IPAElement p2) A harmony exists between the two phones if both place and manner dimensions are the same.boolean
isVowelHarmony
(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
-