lecture synopsis in README.md, material in each subcategory

This commit is contained in:
Aarne Ranta
2025-04-01 15:37:37 +02:00
parent a4d54aa048
commit e407a2b584
5 changed files with 123 additions and 2 deletions

View File

@@ -0,0 +1,30 @@
abstract Intro = {
cat
S ;
NP ;
VP ;
CN ;
AP ;
Det ;
Pron ;
N ;
A ;
V2 ;
fun
PredVP : NP -> VP -> S ;
ComplV2 : V2 -> NP -> VP ;
DetCN : Det -> CN -> NP ;
AdjCN : AP -> CN -> CN ;
UseN : N -> CN ;
UseA : A -> AP ;
UsePron : Pron -> NP ;
the_Det : Det ;
black_A : A ;
cat_N : N ;
see_V2 : V2 ;
we_Pron : Pron ;
}

View File

@@ -0,0 +1,30 @@
concrete IntroEng of Intro = {
lincat
S = Str ;
NP = Str ;
VP = Str ;
CN = Str ;
AP = Str ;
Det = Str ;
Pron = Str ;
N = Str ;
A = Str ;
V2 = Str ;
lin
PredVP np vp = np ++ vp ;
ComplV2 v2 np = v2 ++ np ;
DetCN det cn = det ++ cn ;
AdjCN ap cn = ap ++ cn ;
UseN n = n ;
UseA a = a ;
UsePron pron = pron ;
the_Det = "the" ;
black_A = "black" ;
cat_N = "cat" ;
see_V2 = "sees" ;
we_Pron = "us" ;
}

View File

@@ -0,0 +1,30 @@
concrete IntroIta of Intro = {
lincat
S = Str ;
NP = Str ;
VP = Str ;
CN = Str ;
AP = Str ;
Det = Str ;
Pron = Str ;
N = Str ;
A = Str ;
V2 = Str ;
lin
PredVP np vp = np ++ vp ;
ComplV2 v2 np = np ++ v2 ;
DetCN det cn = det ++ cn ;
AdjCN ap cn = cn ++ ap ;
UseN n = n ;
UseA a = a ;
UsePron pron = pron ;
the_Det = "il" ;
black_A = "nero" ;
cat_N = "gatto" ;
see_V2 = "vede" ;
we_Pron = "ci" ;
}

View File

@@ -1,14 +1,14 @@
S ::= NP VP ;
NP ::= Det CN ;
NP ::= Pron ;
CN ::= N ;
CN ::= AP CN ;
CN ::= N ;
VP ::= V2 NP ;
AP ::= A ;
Det ::= "the" ;
Pron ::= "us" ;
N ::= "cat" ;
A ::= "black" ;
V2 ::= "sees" ;
Pron ::= "us" ;