LARYNGEALS ARE NO RESONANTS – cuny

This commit is contained in:
Kierán Meinhardt
2020-07-14 11:44:05 +02:00
parent 5bed7d4f93
commit 267f61f340
3 changed files with 8 additions and 6 deletions

View File

@@ -27,7 +27,9 @@ source-repository head
library
exposed-modules:
Lib
Lib,
Phonology,
Util
other-modules:
Paths_pie
hs-source-dirs:

View File

@@ -53,7 +53,7 @@ syllabify = replaceSublist [True, True] [True, False] -- replace VV by VC
. foldr isSonant []
where
hasToBeSyllabic p = features p == Vowel
canBeSyllabic p = features p `elem` [Vowel, Resonant, Laryngeal]
canBeSyllabic p = features p `elem` [Vowel, Resonant]
isSonant current xs = case xs of
[] -> [canBeSyllabic current] -- make last phoneme in word syllabic
previousIsSonant : _ -> if previousIsSonant

View File

@@ -97,9 +97,9 @@ showSyllabic phoneme syllabic = case (phoneme, syllabic) of
(M , True ) -> ""
(R , True ) -> ""
(L , True ) -> ""
(H1, True ) -> "ə₁"
(H2, True ) -> "ə₂"
(H3, True ) -> "ə₃"
(H , True ) -> "ə"
-- (H1, True ) -> "ə₁"
-- (H2, True ) -> "ə₂"
-- (H3, True ) -> "ə₃"
-- (H , True ) -> "ə"
_ -> show phoneme