mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 17:12:50 -06:00
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:
@@ -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 {
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user