-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefinitions.grammar
32 lines (23 loc) · 1.28 KB
/
definitions.grammar
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# syntax
Def -> NP
Def -> NP
Def -> NP - DefP
NP -> Art AdjN
NP -> Art AdjN NCompl
NP -> Art N
Art -> a
AdjN -> Adj N | Adj Adj N
NCompl -> PP | that VP
PP -> Prep NP
VP -> V NP
VP -> V
DefP -> Adv DefVP
DefVP -> DefV DefNpl
# lexicon
N -> cybercafe | hurdle | lineman | locket | slug | goiter | schoolfriend | platoon | dogma | sniper | bacon | misunderstanding | noise | swatch | recital | darkness | redundancy | primate | platypus | viceroyship | bird | rondeau | nitrobacteria | paleogeography
Adj -> puffy | copious | misfortunate | subaqueous | gross | precocious | veracious | nauseous | powdery | consecutive | pyramidal | lexicalized | choleric | contradictory | thoughtful | mystical
V -> smashes | proofs | lip-synchs | twitters | shares | challenges | abridges | instructs | passes | bluffs | circulates | drives | combusts | foresees | kicks | belches
Prep -> in | on | over | under | outside | inside | around | encompassing | nowhere near | concerning | of | consisting of | near
Adv -> commonly | usually | sometimes | rarely
DefV -> said of | described as | attributed to | known as
DefNpl -> locusts | voltmeters | branches | pickets | crafters | limes | dynamos | hitches | chestnuts | borders | designs | hours | prosecutors | furuncles | hailstorms | pterodactyls | youths | yardarms