re(moved) unused/non-lab files

This commit is contained in:
Arianna Masciolini
2025-03-26 15:10:59 +01:00
parent 1a184f6937
commit 32612a7bf7
44 changed files with 3 additions and 2343 deletions

37
intro/english.cf Normal file
View File

@@ -0,0 +1,37 @@
-- a tiny context-free grammar for English
-- subcategories with _ in them are an unscalable hack
-- combination rules
S ::= NP_subj_3 VP_3 | NP_subj VP | S Adv ;
VP ::= V2 NP_obj ;
VP_3 ::= V2_3 NP_obj ;
NP_subj_3 ::= Det CN | Pron_subj_3 ;
NP_subj ::= Pron_subj ;
NP_obj ::= Det CN | Pron_obj ;
CN ::= A N ;
Adv ::= Subj S ;
-- structural words
Det ::= "the" ;
Pron_subj ::= "we" ;
Pron_obj ::= "us" ;
Subj ::= "because" ;
-- content words
N ::= "cat" ;
A ::= "black" ;
V2_3 ::= "sees" ;
V2 ::= "see" ;
Adv ::= "now" ;