Action category, more doc in Phrasebook

This commit is contained in:
aarne
2010-03-28 19:29:06 +00:00
parent c99ecf2704
commit 13a7954646
22 changed files with 311 additions and 26 deletions

View File

@@ -5,9 +5,9 @@ resource MakeStructuralEng = open CatEng, ParadigmsEng, ResEng, MorphoEng, Prelu
oper
mkSubj : Str -> Subj = \x ->
lin Subj {s = x} ;
mkNP : Str -> Number -> NP = \s,n ->
mkNP : Str -> ParadigmsEng.Number -> NP = \s,n ->
lin NP (regNP s n) ;
mkIDet : Str -> Number -> IDet = \s,n ->
mkIDet : Str -> ParadigmsEng.Number -> IDet = \s,n ->
lin IDet {s = s ; n = n} ;
}

View File

@@ -15,6 +15,8 @@ concrete PhraseEng of Phrase = CatEng ** open Prelude, ResEng in {
UttVP vp = {s = infVP False vp (agrP3 Sg)} ;
UttAdv adv = adv ;
UttCN n = {s = n.s ! Sg ! Nom} ;
UttCard n = {s = n.s ! Nom} ;
UttAP ap = {s = ap.s ! agrP3 Sg} ;
NoPConj = {s = []} ;
PConjConj conj = {s = conj.s2} ; ---