1
0
forked from GitHub/gf-core

indefinite article in Catalan: use uns/unes only in substantival case (like in Spanish)

This commit is contained in:
aarne
2014-12-03 12:47:06 +00:00
parent 718f09bc8c
commit 04a80d40d9
2 changed files with 4 additions and 6 deletions

View File

@@ -45,15 +45,15 @@ oper
artIndef = \isNP,g,n,c -> case isNP of {
_ => case <n,c> of {
<Sg,CPrep P_de> => genForms ["d' un"] ["d' una"] ! g ;
True => case <n,c> of {
<Sg,CPrep P_de> => genForms ["d' ++ Predef.BIND ++ un"] ["d' ++ Predef.BIND ++ una"] ! g ;
<Sg,_> => prepCase c ++ genForms "un" "una" ! g ;
<Pl,CPrep P_de> => genForms ["d' ++ Predef.BIND ++ uns"] ["d' ++ Predef.BIND ++ unes"] ! g ; -- AR 3/12/2014
<Pl,_> => prepCase c ++ genForms "uns" "unes" ! g
} ;
_ => case <n,c> of {
<Sg,CPrep P_de> => genForms ["d' un"] ["d' una"] ! g ;
<Sg,CPrep P_de> => genForms ["d' ++ Predef.BIND ++ un"] ["d' ++ Predef.BIND ++ una"] ! g ;
<Sg,_> => prepCase c ++ genForms "un" "una" ! g ;
--- <Pl,CPrep P_de> => genForms ["d' uns"] ["d' unes"] ! g ;
<Pl,_> => prepCase c --- ++ genForms "uns" "unes" ! g --- take this as a determiner
}
} ;

View File

@@ -49,8 +49,6 @@ instance DiffSpa of DiffRomance - [partAgr,vpAgrSubj,vpAgrClits] = open CommonRo
}
} ;
-- In these two, "de de/du/des" becomes "de".
artIndef = \isNP,g,n,c -> case isNP of {
True => case n of {
Sg => prepCase c ++ genForms "uno" "una" ! g ;