Constructions: languageNP and languageCN ; languagePN removed. Requires the change of lincat from PN to N. Done for 10 languages, not yet Bul and Hin. Enables "my English is bad", "this is bad English"

This commit is contained in:
aarne
2014-11-20 22:10:24 +00:00
parent 5b785bfebd
commit ef59dee4d5
12 changed files with 46 additions and 32 deletions

View File

@@ -67,18 +67,19 @@ lin
oper
pointWeekday : Weekday -> Str = \w -> (SyntaxEst.mkAdv (casePrep essive) (mkNP w.noun)).s ;
lincat Language = PN ;
lincat Language = N ;
--lin InLanguage l = SyntaxEst.mkAdv (mkPrep translative) (mkNP l) ;
lin
weekdayN w = w.noun ;
monthN m = m ;
languagePN l = l ;
languageNP l = mkNP l ;
languageCN l = mkCN l ;
--------------- lexicon of special names
oper mkLanguage : Str -> PN = \s -> mkPN (s ++ "keel") ;
oper mkLanguage : Str -> N = \s -> mkN (s ++ "keel") ;
oper mkWeekday : Str -> Weekday = \d ->
lin Weekday {

View File

@@ -1,3 +1,5 @@
--# -path=.:../abstract:../common:../api:../prelude
-- TODO: include the full GrammarEst
-- The Slash* is currently excluded only for performance reasons.
concrete LangEst of Lang =