mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-12 20:52:50 -06:00
Add InvQuestCl in ExtraSpa; fix convertir in LexiconSpa; add phonetic changes to feminine article in PhonoSpa
This commit is contained in:
@@ -10,5 +10,29 @@ oper
|
||||
"a" ; "e" ; "h" ; "i" ; "o" ; "u"
|
||||
} ;
|
||||
|
||||
--Feminine nouns that start with stressed a use the masculine article el for phonetic reasons:
|
||||
--e.g. "el agua pura" but "la pura agua".
|
||||
--To prevent "el aguamarina", we list explicitly words that begin with these words
|
||||
falseAWords : pattern Str = #("aguam"|"aguaf"|"almac"|"alab"|"alac"|"alam"|"alan"|"alar") ;
|
||||
aWords : pattern Str = #("agua" | "alma" | "ala") ;
|
||||
|
||||
chooseLa = pre {
|
||||
falseAWords => "la" ;
|
||||
aWords => "el" ;
|
||||
"á" => "el" ;
|
||||
_ => "la"
|
||||
} ;
|
||||
chooseDeLa = pre {
|
||||
falseAWords => "de la" ;
|
||||
aWords => "del" ;
|
||||
"á" => "del" ;
|
||||
_ => "de la"
|
||||
} ;
|
||||
|
||||
chooseALa = pre {
|
||||
falseAWords => "a la" ;
|
||||
aWords => "al" ;
|
||||
"á" => "al" ;
|
||||
_ => "a la"
|
||||
} ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user