cp labs to old-labs

This commit is contained in:
Arianna Masciolini
2025-03-21 11:39:09 +01:00
parent 37b39176d9
commit 3d9659d987
70 changed files with 6357 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
concrete CountriesGer of Countries = FactsGer, CountryNamesGer **
open SyntaxGer, ParadigmsGer, SymbolicGer in {
lin
cName name = name ;
capital_Attribute = mkAttribute (mkN "Hauptstadt" "Hauptstädte" feminine) ;
area_Attribute = mkAttribute (mkN "Fläche") ;
population_Attribute = mkAttribute (mkN "Einwohnerzahl" feminine) ;
continent_Attribute = mkAttribute (mkN "Kontinent" "Kontinente" masculine) ;
currency_Attribute = mkAttribute (mkN "Währung") ;
populationFact cname int = mkCl cname have_V2 (mkNP <symb int : Card> (mkN "Einwohner")) ;
continentFact cname name = mkCl cname (mkVP (mkVP (mkV "liegen")) (SyntaxGer.mkAdv in_Prep name)) ;
oper
mkAttribute : N -> CN = \n -> mkCN n ;
}