Files
gf-core/lib/src/catalan/PhonoCat.gf
2009-06-22 15:39:08 +00:00

50 lines
1.0 KiB
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 } ;
-- AR after pre syntax change 25/5/2009
elisEs = pre {
vocal => "s'" ;
"s" => "se" ;
_ => "es"
} ;
--elisEs = pre {
-- pre { "es" ; "s'" / vocal} ;
-- "se" / strs { "s" } } ;
}