-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBMoviePlaces.py
249 lines (234 loc) · 7.69 KB
/
BMoviePlaces.py
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
#!/usr/bin/env python
from BMovieConstants import *
from WeightedTuple import WeightedTuple
placeWordLists = {
namePlaceModifier : WeightedTuple( [
"Central", 1,
"Darkest", 1,
"Deepest", 1,
"Depths of", 1,
"Inner", 1,
"Lower", 1,
"Outer", 1,
"The Bottom of", 1,
"The Depths of", 1,
"The Edge of", 1,
"The Furthest Reaches of", 1,
"The Inside of", 1,
"The Outside of", 1,
"The Top of", 1,
"Upper", 1,
] ),
namePlaceArchitectureSingular : WeightedTuple( [
"Castle", 2,
"Cathedral", 1,
"Cemetary", 1,
"Circus", 1,
"Crypt", 1,
"Dungeon", 1,
"Fortress", 2,
"Inner Sanctum", 1,
"Mausoleum", 1,
"Palace", 2,
"Stronghold", 2,
"Temple", 2,
"Tower", 2,
] ),
namePlaceArchitecturePlural : WeightedTuple( [
"Castles", 2,
"Cathedrals", 1,
"Dungeons", 1,
"Palaces", 2,
"Temples", 2,
"Towers", 2,
] ),
namePlaceTerritorySingular : WeightedTuple( [
"City", 1,
"Empire", 1,
"Kingdom", 1,
"Republic", 1,
"Territory", 1,
"City-State", 1,
] ),
namePlaceTerritoryPlural : WeightedTuple( [
"Cities", 1,
"Empires", 1,
"Kingdoms", 1,
"Republics", 1,
"Territories", 1,
"City-States", 1,
] ),
namePlaceGeographySingular : WeightedTuple( [
"Cave", 1,
"Cavern", 1,
"Continent", 1,
"Desert", 1,
"Dimension", 1,
"Forest", 1,
"Galaxy", 1,
"Jungle", 1,
"Land", 1,
"March", 1,
"Marsh", 1,
"Mountain", 1,
"Netherworld", 1,
"Ocean", 1,
"Plain", 1,
"Planet", 1,
"Sea", 1,
"Swamp", 1,
"Underworld", 1,
"Universe", 1,
"Volcano", 1,
"Wasteland", 1,
] ),
namePlaceGeographyPlural : WeightedTuple( [
"Caverns", 1,
"Caves", 1,
"Deserts", 1,
"Dimensions", 1,
"Forests", 1,
"Galaxies", 1,
"Jungles", 1,
"Lands", 1,
"Marches", 1,
"Marshes", 1,
"Mountains", 1,
"Oceans", 1,
"Plains", 1,
"Planets", 1,
"Seas", 1,
"Swamps", 1,
"Wastelands", 1,
] ),
namePlaceCommon : WeightedTuple( [
namePlaceArchitecturePlural, 1,
namePlaceArchitectureSingular, 1,
namePlaceGeographyPlural, 2,
namePlaceGeographySingular, 2,
namePlaceTerritoryPlural, 1,
namePlaceTerritorySingular, 2,
] ),
namePlaceProper : WeightedTuple( [
namePlaceProperSimple, 6,
[ namePlaceModifier, namePlaceProperSimple ], 2,
[ 'The', namePlaceProperArticle ], 6,
[ 'The', adjectivePlace, namePlaceCommon ], 4,
[ 'The', adjectivePlace, namePlaceProperArticle ], 4,
[ 'The', namePlaceCommon, 'of', nameConcept ], 2,
[ 'The', namePlaceCommon, 'of', namePlaceProperSimple ], 1,
[ 'The', namePlaceCommon, 'of The', namePlaceProperArticle ], 1,
] ),
namePlaceProperSimple : WeightedTuple( (
"Africa",
"Aldebaran",
"Altair",
"America",
"Andromeda",
"Antarctica",
"Antares",
"Arcturus",
"Asia",
"Athens",
"Atlantis",
"Babylon",
"Baghdad",
"Beijing",
"Betelgeuse",
"Camelot",
"China",
"Deep Space",
"Djibouti",
"Earth",
"Egypt",
"Europe",
"India",
"Inner Space",
"Japan",
"Jupiter",
"London",
"Los Angeles",
"Marathon",
"Mars",
"Mercury",
"Mount Everest",
"Navarone",
"Neptune",
"New York",
"Orion",
"Outer Space",
"Paris",
"Planet X",
"Pluto",
"Poughkeepsie",
"Prehistoric Times",
"Rigel",
"Russia",
"Saturn",
"Sirius",
"Space",
"Stonehenge",
"Texas",
"Timbuktu",
"Tokyo",
"Uranus",
"Vega",
"Venus",
"Washington",
"Wongo Wongo",
) ),
namePlaceProperArticle : WeightedTuple( [
"Amazon", 2,
"Andes", 1,
"Andromeda Galaxy", 1,
"Beginning of Time", 2,
"Burmuda Triangle", 1,
"Congo", 1,
"Distant Future", 1,
"Distant Past", 1,
"Eighth Dimension", 1,
"Eighth Planet", 1,
"Eleventh Planet", 1,
"End of Time", 2,
"Fifth Dimension", 1,
"Fourth Dimension", 1,
"Future", 2,
"Himalayas", 1,
"Jungle", 1,
"Land Before Time", 1,
"Land of Oz", 1,
"Lost World", 2,
"Marianas Trench", 1,
"Milky Way", 1,
"Moon", 1,
"New World", 1,
"Ninth Dimension", 1,
"Ninth Planet", 1,
"North Pole", 1,
"Occident", 1,
"OK Corral", 1,
"Old World", 1,
"Orient", 1,
"Outback", 1,
"Past", 2,
"Pleiades", 1,
"River Kwai", 1,
"Sargasso Sea", 1,
"Seven Seas", 3,
"Seventh Dimension", 1,
"Sixth Dimension", 1,
"South Pole", 3,
"Tenth Planet", 1,
"Thirteenth Planet", 1,
"Twelfth Planet", 1,
"Wild West", 3,
[ "City of", nameConcept ], 1,
[ "Forest of", nameConcept ], 1,
[ "Island of", nameConcept ], 1,
[ "Lost City of", nameConcept ], 1,
[ "Mountain of", nameConcept ], 1,
[ "Mountains of", nameConcept ], 1,
[ "Ocean of", nameConcept ], 1,
[ "River of", nameConcept ], 1,
] ),
}