forked from GitHub/gf-rgl
Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl
This commit is contained in:
@@ -616,6 +616,8 @@ mkVoc s = lin Voc (ss s) ;
|
|||||||
us_britishV : Str -> V = \s -> case s of {
|
us_britishV : Str -> V = \s -> case s of {
|
||||||
_ + ("el" | "al" | "ol") => regV s | mkV s (s + "s") (s + "led") (s + "led") (s + "ling") ;
|
_ + ("el" | "al" | "ol") => regV s | mkV s (s + "s") (s + "led") (s + "led") (s + "ling") ;
|
||||||
_ + "or" => regV s | regV (Predef.tk 2 s + "our") ;
|
_ + "or" => regV s | regV (Predef.tk 2 s + "our") ;
|
||||||
|
_ + "ise" => regV (Predef.tk 2 s + "ze") | regV s ;
|
||||||
|
_ + "ize" => regV s | regV (Predef.tk 2 s + "se") ;
|
||||||
_ => regV s
|
_ => regV s
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
concrete ConstructionMay of Construction = CatMay ** open ParadigmsMay in {
|
concrete ConstructionMay of Construction = CatMay ** open ParadigmsMay, (L=LexiconMay), SyntaxMay in {
|
||||||
|
|
||||||
lincat
|
lincat
|
||||||
Timeunit = N ;
|
Timeunit = N ;
|
||||||
@@ -6,9 +6,16 @@ lincat
|
|||||||
Monthday = NP ;
|
Monthday = NP ;
|
||||||
Month = N ;
|
Month = N ;
|
||||||
Year = NP ;
|
Year = NP ;
|
||||||
{-
|
|
||||||
lin
|
lin
|
||||||
|
|
||||||
|
has_age_VP card = mkVP umur_V2 (mkNP <lin Card card : Card> L.year_N) ;
|
||||||
|
|
||||||
|
oper
|
||||||
|
umur_V2 : V2 = mkV2 (mkV "umur") noPrep ;
|
||||||
|
|
||||||
|
{-
|
||||||
|
|
||||||
timeunitAdv n time =
|
timeunitAdv n time =
|
||||||
let n_card : Card = n ;
|
let n_card : Card = n ;
|
||||||
n_hours_NP : NP = mkNP n_card time ;
|
n_hours_NP : NP = mkNP n_card time ;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
resource MissingMay = open GrammarMay, Prelude in {
|
resource MissingMay = open GrammarMay, Prelude in {
|
||||||
oper AdAP : AdA -> AP -> AP = notYet "AdAP" ;
|
oper AdAP : AdA -> AP -> AP = notYet "AdAP" ;
|
||||||
oper AdAdv : AdA -> Adv -> Adv = notYet "AdAdv" ;
|
oper AdAdv : AdA -> Adv -> Adv = notYet "AdAdv" ;
|
||||||
oper AdNum : AdN -> Card -> Card = notYet "AdNum" ;
|
|
||||||
oper AdVVP : AdV -> VP -> VP = notYet "AdVVP" ;
|
oper AdVVP : AdV -> VP -> VP = notYet "AdVVP" ;
|
||||||
oper AdVVPSlash : AdV -> VPSlash -> VPSlash = notYet "AdVVPSlash" ;
|
oper AdVVPSlash : AdV -> VPSlash -> VPSlash = notYet "AdVVPSlash" ;
|
||||||
oper AddAdvQVP : QVP -> IAdv -> QVP = notYet "AddAdvQVP" ;
|
oper AddAdvQVP : QVP -> IAdv -> QVP = notYet "AddAdvQVP" ;
|
||||||
@@ -54,7 +53,6 @@ oper IdetQuant : IQuant -> Num -> IDet = notYet "IdetQuant" ;
|
|||||||
oper ImpP3 : NP -> VP -> Utt = notYet "ImpP3" ;
|
oper ImpP3 : NP -> VP -> Utt = notYet "ImpP3" ;
|
||||||
oper ImpPl1 : VP -> Utt = notYet "ImpPl1" ;
|
oper ImpPl1 : VP -> Utt = notYet "ImpPl1" ;
|
||||||
oper ImpVP : VP -> Imp = notYet "ImpVP" ;
|
oper ImpVP : VP -> Imp = notYet "ImpVP" ;
|
||||||
oper OrdDigits : Digits -> Ord = notYet "OrdDigits" ;
|
|
||||||
oper OrdNumeral : Numeral -> Ord = notYet "OrdNumeral" ;
|
oper OrdNumeral : Numeral -> Ord = notYet "OrdNumeral" ;
|
||||||
oper OrdNumeralSuperl : Numeral -> A -> Ord = notYet "OrdNumeralSuperl" ;
|
oper OrdNumeralSuperl : Numeral -> A -> Ord = notYet "OrdNumeralSuperl" ;
|
||||||
oper OrdSuperl : A -> Ord = notYet "OrdSuperl" ;
|
oper OrdSuperl : A -> Ord = notYet "OrdSuperl" ;
|
||||||
@@ -113,14 +111,11 @@ oper art_N : N = notYet "art_N" ;
|
|||||||
oper as_CAdv : CAdv = notYet "as_CAdv" ;
|
oper as_CAdv : CAdv = notYet "as_CAdv" ;
|
||||||
oper ashes_N : N = notYet "ashes_N" ;
|
oper ashes_N : N = notYet "ashes_N" ;
|
||||||
oper ask_V2Q : V2Q = notYet "ask_V2Q" ;
|
oper ask_V2Q : V2Q = notYet "ask_V2Q" ;
|
||||||
oper at_least_AdN : AdN = notYet "at_least_AdN" ;
|
|
||||||
oper at_most_AdN : AdN = notYet "at_most_AdN" ;
|
|
||||||
oper baby_N : N = notYet "baby_N" ;
|
oper baby_N : N = notYet "baby_N" ;
|
||||||
oper back_N : N = notYet "back_N" ;
|
oper back_N : N = notYet "back_N" ;
|
||||||
oper bad_A : A = notYet "bad_A" ;
|
oper bad_A : A = notYet "bad_A" ;
|
||||||
oper bank_N : N = notYet "bank_N" ;
|
oper bank_N : N = notYet "bank_N" ;
|
||||||
oper bark_N : N = notYet "bark_N" ;
|
oper bark_N : N = notYet "bark_N" ;
|
||||||
oper because_Subj : Subj = notYet "because_Subj" ;
|
|
||||||
oper become_VA : VA = notYet "become_VA" ;
|
oper become_VA : VA = notYet "become_VA" ;
|
||||||
oper beer_N : N = notYet "beer_N" ;
|
oper beer_N : N = notYet "beer_N" ;
|
||||||
oper before_Prep : Prep = notYet "before_Prep" ;
|
oper before_Prep : Prep = notYet "before_Prep" ;
|
||||||
|
|||||||
@@ -104,13 +104,13 @@ concrete NounMay of Noun = CatMay ** open ResMay, Prelude in {
|
|||||||
-- : Numeral -> Card ;
|
-- : Numeral -> Card ;
|
||||||
NumNumeral num = num ;
|
NumNumeral num = num ;
|
||||||
|
|
||||||
{-
|
|
||||||
-- : AdN -> Card -> Card ;
|
-- : AdN -> Card -> Card ;
|
||||||
AdNum adn card = card ** { s = adn.s ++ card.s } ;
|
AdNum adn card = card ** { s = adn.s ++ card.s } ;
|
||||||
|
|
||||||
-- : Digits -> Ord ;
|
-- : Digits -> Ord ;
|
||||||
OrdDigits digs = digs ** { s = digs.s ! NOrd } ;
|
OrdDigits digs = digs ** { s = digs.s ! NOrd } ;
|
||||||
-}
|
|
||||||
-- : Numeral -> Ord ;
|
-- : Numeral -> Ord ;
|
||||||
OrdNumeral num = {
|
OrdNumeral num = {
|
||||||
s = num.ord
|
s = num.ord
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ concrete StructuralMay of Structural = CatMay **
|
|||||||
|
|
||||||
-------
|
-------
|
||||||
-- Ad*
|
-- Ad*
|
||||||
|
lin at_least_AdN = ss "sekurangnya" ;
|
||||||
|
lin at_most_AdN = ss "paling tua" ;
|
||||||
{-
|
{-
|
||||||
lin almost_AdA = mkAdA "" ;
|
lin almost_AdA = mkAdA "" ;
|
||||||
lin almost_AdN = ss "" ;
|
lin almost_AdN = ss "" ;
|
||||||
lin at_least_AdN = ss "" ;
|
|
||||||
lin at_most_AdN = ss "" ;
|
|
||||||
lin so_AdA = ss "" ;
|
lin so_AdA = ss "" ;
|
||||||
lin too_AdA = ss "" ;
|
lin too_AdA = ss "" ;
|
||||||
lin very_AdA = mkAdA "" ;
|
lin very_AdA = mkAdA "" ;
|
||||||
@@ -154,7 +154,7 @@ lin whoSg_IP = mkIP "siapa";
|
|||||||
-- Subj
|
-- Subj
|
||||||
|
|
||||||
-- lin although_Subj =
|
-- lin although_Subj =
|
||||||
-- lin because_Subj =
|
lin because_Subj = ss "kerana" ;
|
||||||
lin if_Subj = ss "sekiranya" ;
|
lin if_Subj = ss "sekiranya" ;
|
||||||
lin that_Subj = ss "yang" ;
|
lin that_Subj = ss "yang" ;
|
||||||
lin when_Subj = ss "kalau" ;
|
lin when_Subj = ss "kalau" ;
|
||||||
|
|||||||
Reference in New Issue
Block a user