-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenglishGrammar.xml
65 lines (65 loc) · 1.89 KB
/
englishGrammar.xml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="grammar.xsd" startCat="s">
<rules>
<mother cat="s">
<daughter cat="np"/>
<daughter cat="vp"/>
</mother>
<mother cat="vp">
<daughter cat="vt"/>
<daughter cat="np"/>
</mother>
<mother cat="np">
<daughter cat="dt"/>
<daughter cat="cn"/>
</mother>
<mother cat="np">
<daughter cat="np"/>
<daughter cat="pp"/>
</mother>
<mother cat="np">
<daughter cat="np"/>
<daughter cat="wp"/>
</mother>
<mother cat="cn">
<daughter cat="cn"/>
<daughter cat="wp"/>
</mother>
<mother cat="pp">
<daughter cat="pr"/>
<daughter cat="np"/>
</mother>
<mother cat="wp">
<daughter cat="rp"/>
<daughter cat="vp"/>
</mother>
<mother cat="cn">
<daughter cat="jj"/>
<daughter cat="cn"/>
</mother>
<mother cat="np">
<daughter cat="jj"/>
<daughter cat="np"/>
</mother>
</rules>
<lexicalRules>
<word cat="vp">snores</word>
<word cat="vt">likes</word>
<word cat="np">john</word>
<word cat="np">mary</word>
<word cat="np">tuna</word>
<word cat="cn">boy</word>
<word cat="cn">girl</word>
<word cat="cn">cat</word>
<word cat="cn">tuna</word>
<word cat="dt">the</word>
<word cat="dt">a</word>
<word cat="dt">any</word>
<word cat="dt">every</word>
<word cat="jj">tasty</word>
<word cat="jj">greedy</word>
<word cat="rp">who</word>
<word cat="pr">with</word>
</lexicalRules>
</grammar>