LARYNGEALS ARE NO RESONANTS – cuny
This commit is contained in:
@@ -27,7 +27,9 @@ source-repository head
|
|||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
Lib
|
Lib,
|
||||||
|
Phonology,
|
||||||
|
Util
|
||||||
other-modules:
|
other-modules:
|
||||||
Paths_pie
|
Paths_pie
|
||||||
hs-source-dirs:
|
hs-source-dirs:
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ syllabify = replaceSublist [True, True] [True, False] -- replace VV by VC
|
|||||||
. foldr isSonant []
|
. foldr isSonant []
|
||||||
where
|
where
|
||||||
hasToBeSyllabic p = features p == Vowel
|
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
|
isSonant current xs = case xs of
|
||||||
[] -> [canBeSyllabic current] -- make last phoneme in word syllabic
|
[] -> [canBeSyllabic current] -- make last phoneme in word syllabic
|
||||||
previousIsSonant : _ -> if previousIsSonant
|
previousIsSonant : _ -> if previousIsSonant
|
||||||
|
|||||||
@@ -97,9 +97,9 @@ showSyllabic phoneme syllabic = case (phoneme, syllabic) of
|
|||||||
(M , True ) -> "ṃ"
|
(M , True ) -> "ṃ"
|
||||||
(R , True ) -> "ṛ"
|
(R , True ) -> "ṛ"
|
||||||
(L , True ) -> "ḷ"
|
(L , True ) -> "ḷ"
|
||||||
(H1, True ) -> "ə₁"
|
-- (H1, True ) -> "ə₁"
|
||||||
(H2, True ) -> "ə₂"
|
-- (H2, True ) -> "ə₂"
|
||||||
(H3, True ) -> "ə₃"
|
-- (H3, True ) -> "ə₃"
|
||||||
(H , True ) -> "ə"
|
-- (H , True ) -> "ə"
|
||||||
_ -> show phoneme
|
_ -> show phoneme
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user