mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
added pronouns
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
concrete AllFao of AllFaoAbs =
|
concrete AllFao of AllFaoAbs =
|
||||||
LangFao
|
LangFao,
|
||||||
|
ExtendFao
|
||||||
**
|
**
|
||||||
{} ;
|
{} ;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
abstract AllFaoAbs =
|
abstract AllFaoAbs =
|
||||||
Lang
|
Lang,
|
||||||
** {}
|
Extend
|
||||||
|
** {}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ lincat VV,VS,VQ,VA = Verb ;
|
|||||||
lincat V2 = Verb ** {c2 : Compl} ;
|
lincat V2 = Verb ** {c2 : Compl} ;
|
||||||
lincat V3,V2A,V2S,V2Q,V2V = Verb ** {c2,c3 : Compl} ;
|
lincat V3,V2A,V2S,V2Q,V2V = Verb ** {c2,c3 : Compl} ;
|
||||||
lincat Prep = Compl ;
|
lincat Prep = Compl ;
|
||||||
|
lincat Pron = {s : Case => Str; g : Gender; n : Number; p : Person} ;
|
||||||
lincat CN = CommonNoun ;
|
lincat CN = CommonNoun ;
|
||||||
lincat AP = AdjPhrase ;
|
lincat AP = AdjPhrase ;
|
||||||
lincat S = {s : Str} ;
|
lincat S = {s : Str} ;
|
||||||
|
|||||||
13
src/faroese/ExtendFao.gf
Normal file
13
src/faroese/ExtendFao.gf
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
concrete ExtendFao of Extend = CatFao **
|
||||||
|
open ParadigmsFao, ResFao in {
|
||||||
|
|
||||||
|
lin
|
||||||
|
iFem_Pron = mkPron "eg" "meg" "mær" "mín" Masc Sg P1 ;
|
||||||
|
youFem_Pron = mkPron "tú" "teg" "tær" "tín" Masc Sg P2 ;
|
||||||
|
weFem_Pron = mkPron "vit" "okkum" "okkum" "okkara" Masc Pl P1 ;
|
||||||
|
youPlFem_Pron = mkPron "tit" "tykkum" "tykkum" "tykkara" Masc Pl P2 ;
|
||||||
|
theyFem_Pron = mkPron "teir" "teir" "teimum" "teirra" Masc Pl P3 ;
|
||||||
|
youPolFem_Pron = mkPron "tit" "tykkum" "tykkum" "tykkara" Masc Pl P2 ;
|
||||||
|
youPolPl_Pron = mkPron "tit" "tykkum" "tykkum" "tykkara" Masc Pl P2 ;
|
||||||
|
youPolPlFem_Pron = mkPron "tit" "tykkum" "tykkum" "tykkara" Masc Pl P2 ;
|
||||||
|
}
|
||||||
@@ -2,5 +2,6 @@ concrete GrammarFao of Grammar =
|
|||||||
TenseX,
|
TenseX,
|
||||||
PhraseFao,
|
PhraseFao,
|
||||||
NounFao,
|
NounFao,
|
||||||
AdjectiveFao ** {
|
AdjectiveFao,
|
||||||
}
|
StructuralFao ** {
|
||||||
|
}
|
||||||
|
|||||||
@@ -319,6 +319,19 @@ oper
|
|||||||
_ => regN form1
|
_ => regN form1
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
mkPron : (_,_,_,_ : Str) -> Gender -> Number -> Person -> Pron =
|
||||||
|
\nom,acc,dat,gen,g,n,p -> lin Pron {
|
||||||
|
s = table {
|
||||||
|
Nom => nom ;
|
||||||
|
Acc => acc ;
|
||||||
|
Dat => dat ;
|
||||||
|
Gen => gen
|
||||||
|
} ;
|
||||||
|
g = g ;
|
||||||
|
n = n ;
|
||||||
|
p = p
|
||||||
|
} ;
|
||||||
|
|
||||||
regA : Str -> A -- s;Masc;Sg;Nom
|
regA : Str -> A -- s;Masc;Sg;Nom
|
||||||
= \form -> case form of {
|
= \form -> case form of {
|
||||||
_ + "dur" => mkA001 form;
|
_ + "dur" => mkA001 form;
|
||||||
|
|||||||
14
src/faroese/StructuralFao.gf
Normal file
14
src/faroese/StructuralFao.gf
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
concrete StructuralFao of Structural = CatFao **
|
||||||
|
open ParadigmsFao, ResFao in {
|
||||||
|
|
||||||
|
lin
|
||||||
|
i_Pron = mkPron "eg" "meg" "mær" "mín" Masc Sg P1 ;
|
||||||
|
youSg_Pron = mkPron "tú" "teg" "tær" "tín" Masc Sg P2 ;
|
||||||
|
he_Pron = mkPron "hann" "hann" "honum" "hansara" Masc Sg P3 ;
|
||||||
|
she_Pron = mkPron "hon" "hana" "henni" "hennara" Fem Sg P3 ;
|
||||||
|
it_Pron = mkPron "tað" "tað" "tí" "tess" Neuter Sg P3 ;
|
||||||
|
we_Pron = mkPron "vit" "okkum" "okkum" "okkara" Masc Pl P1 ;
|
||||||
|
youPl_Pron = mkPron "tit" "tykkum" "tykkum" "tykkara" Masc Pl P2 ;
|
||||||
|
they_Pron = mkPron "teir" "teir" "teimum" "teirra" Masc Pl P3 ;
|
||||||
|
youPol_Pron = mkPron "tit" "tykkum" "tykkum" "tykkara" Masc Pl P2 ;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user