Files
gf-core/lib/resource/catalan/PhonoCat.gf
2007-12-12 20:30:11 +00:00

42 lines
918 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
--# -path=../common:prelude
resource PhonoCat = open Prelude in {
--3 Elision
--
-- The phonological rule of *elision* can be defined as follows in GF.
-- In Catalan it includes both vowels and 'h'.
---TODO: L'elisi— depŽn de la tonicitat.
oper
vocal : Strs = strs {
"a" ; "ˆ" ;
"e" ; "<22>" ; "Ž" ; "o" ; "˜" ; "—" ;
"i" ; "" ; "•" ; "u" ; "œ" ; "Ÿ" ; "h"
} ;
vocalForta : Strs = strs {
"a" ; "ˆ" ; "ha" ; "hˆ" ;
"e" ; "<22>" ; "Ž" ; "he" ; "h<>" ; "hŽ" ;
"o" ; "˜" ; "—" ; "ho" ; "h˜" ; "h—" ;
"" ; "œ" ; "h" ; "hœ" ;
} ;
vocalFeble : Strs = strs {
"i" ; "•" ; "u" ; "Ÿ" ;
"hi" ; "h•" ; "hu" ; "hŸ" ;
} ;
elisDe = pre { "de" ; "d'" / vocal };
elisEl = pre { "el" ; "l'" / vocal } ;
elisLa = pre { "la" ; "l'" / vocalForta } ;
elisEm = pre { "em" ; "m'" / vocal } ;
elisEt = pre { "et" ; "t'" / vocal } ;
elisEs = pre {
pre { "es" ; "s'" / vocal} ;
"se" / strs { "s" } } ;
}