summaryrefslogtreecommitdiff
path: root/data/sample-grammars/media.gram
blob: f3a1c98f5c1109fd2d26de5ede40170e8546f4d3 (plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[media-company] [television-station]
	[radio-station]
	[newspaper]

pragma initial-rule [media-company]

[television-station] [chan+name] on channel [2..45]
	[chan+name] on channel [2..12]

[chan+name] k [chan-name2]
	w [chan-name2]

[chan-name2] [letter] [letter] [letter] -tv

[radio-station] [radio+name] on frequency [radio+chan]

[radio+name] k [radio+name2]
	w [radio+name2]

[radio+name2] [letter] [letter] [letter] [chan-type]

[chan-type] -fm {chantype=fm}
	-am {chantype=am}

[radio+chan] 9 [radio-9chan]
	[$chantype-1chan]

[radio-9chan] [digit] . [digit]

[fm-1chan] 1 [digit] [digit] . [digit]

[am-1chan] 10 [digit] [digit]

[newspaper] the [newspaper-pair1] - [newspaper-pair2]
	the [newspaper-pair1] - [newspaper-pair2] - [newspaper-pair2]
	the daily [newspaper-pair1] [newspaper-pair2]
	the [newspaper-pair1] [newspaper-pair2]
	[city] [newspaper-pair1] - [newspaper-pair2]
	[city] [newspaper-pair1] [newspaper-pair2]
	[city] [newspaper-pair2]
	[city] [newspaper-pair1]
	[real-city] [newspaper-pair1] - [newspaper-pair2]
	[town-name] [newspaper-pair2]
	the [cardinal] [us-stateadj]
	[us-stateadj] [newspaper-pair1] - [newspaper-pair2]
	[cardinal] [us-state] [newspaper-pair1] [newspaper-pair2]

[newspaper-pair1] southern
	northern
	eastern
	western
	democratic
	republic
	liberty
	freedom
	sun
	patriot
	river
	mountain
	plains
	american
	news
	post
	morning
	evening
	star
	daily
	new
	old
	responsible
	ethical
	pulp
	events
	banner
	standard
	world
	register

[newspaper-pair2] daily
	weekly
	evening
	republic
	american
	democrat
	republican
	leader
	ledger
	journal
	bulletin
	advertiser
	dispatch
	intelligencier
	inquirer
	post
	times
	review
	star
	justice
	record
	press
	tribune
	gazette
	chronicle
	herald
	bugle
	arrow
	statesman
	monitor
	globe
	planet
	register

pragma export-rule [newspaper-pair2]

[cardinal] [act-cardinal]
	[act-cardinal]
	[act-cardinal] by [act-cardinal]
	[2+cardinal]

[act-cardinal] north
	west
	east
	south
	northeast
	northwest
	southeast
	southwest

[2+cardinal] [act-cardinal] - [act-cardinal]

pragma export-rule [cardinal]

[real-newspaper] new york times
	la times
	chicago tribune
	usa today
	st. louis post-dispatch
	washington post
	houston chronicle
	kansas city star
	denver post
	seattle times

[tech-publication] wired news
	infoworld
	computerworld
	pc week
	windows magazine
	salon.com
	abcnews.com
	the register

[biz-publication] forbes
	industry standard
	business week
	wall street journal
	f@stcompany
	motley fool
	the economist
	fortune

pragma export-rule [television-station]
pragma export-rule [radio-station]
pragma export-rule [newspaper]