Half the implementation of Numerals. However, pot2plus still problematic. Ordinal numerals also problematic

This commit is contained in:
David Bamutura
2019-05-06 01:29:47 +02:00
parent 7d49c87d1e
commit 5af7fd2fa9
6 changed files with 166 additions and 5 deletions
+4 -3
View File
@@ -43,6 +43,10 @@ lin
-- AdvVP : VP -> Adv -> VP ; -- sleep here
-- VerbPhrase: Type = {s:Str; morphs: VMorphs ; comp:Str ; isCompApStem : Bool; agr : AgrExist};
AdvVP vp adv ={s=vp.s; morphs = vp.morphs; comp = adv.s; isCompApStem = False; agr = AgrNo};
{-
--1 The construction of verb phrases
@@ -55,9 +59,6 @@ abstract Verb = Cat ** {
-- Verb phrases are constructed from verbs by providing their
-- complements. There is one rule for each verb category.
data
UseV : V -> VP ; -- sleep
ComplVV : VV -> VP -> VP ; -- want to run
ComplVS : VS -> S -> VP ; -- say that she runs
ComplVQ : VQ -> QS -> VP ; -- wonder who runs