added weekdays and months to Construction, concrete in ConstructionFin

Works like this:
> p "perjantaisin"
PhrUtt NoPConj (UttAdv (weekdayAdv friday)) NoVoc
This commit is contained in:
inari
2013-12-10 19:25:14 +00:00
parent 4e1df7eb59
commit 7e75878898
2 changed files with 35 additions and 2 deletions

View File

@@ -13,6 +13,10 @@ abstract Construction = Cat ** {
-- The first examples are from the MOLTO Phrasebook
cat
Weekday ;
Month ;
fun
hungry_VP : VP ; -- x is hungry / x a faim (Fre)
thirsty_VP : VP ; -- x is thirsty / x a soif (Fre)
@@ -34,4 +38,13 @@ fun
n_units_AP : Card -> CN -> A -> AP ; -- x inches long
-- weekdayN : Weekday -> N ; --weekdays are already as nouns in Dict
-- monthN : Month -> N --months are already as nouns in Dict
weekdayAdv : Weekday -> Adv ;
monthAdv : Month -> Adv ;
monday,tuesday,wednesday,thursday,friday,sunday : Weekday ;
january,february,march,april,may,june,july : Month ;
august,september,october,november,december : Month ;
}