check_yo_spelling 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +4 -0
- data/CHANGELOG.rdoc +2 -0
- data/Gemfile.lock +35 -0
- data/README.md +36 -0
- data/Rakefile +6 -0
- data/check_yo_spelling.gemspec +24 -0
- data/data/.keep +0 -0
- data/data/alabama_cities.yml +553 -0
- data/data/alaska_cities.yml +246 -0
- data/data/arizona_cities.yml +397 -0
- data/data/arkansas_cities.yml +499 -0
- data/data/california_cities.yml +1417 -0
- data/data/colorado_cities.yml +404 -0
- data/data/connecticut_cities.yml +142 -0
- data/data/delaware_cities.yml +76 -0
- data/data/florida_cities.yml +900 -0
- data/data/georgia_cities.yml +609 -0
- data/data/hawaii_cities.yml +146 -0
- data/data/idaho_cities.yml +206 -0
- data/data/illinois_cities.yml +1315 -0
- data/data/indiana_cities.yml +654 -0
- data/data/iowa_cities.yml +869 -0
- data/data/kansas_cities.yml +554 -0
- data/data/kentucky_cities.yml +510 -0
- data/data/louisiana_cities.yml +469 -0
- data/data/maine_cities.yml +132 -0
- data/data/maryland_cities.yml +483 -0
- data/data/massachusetts_cities.yml +243 -0
- data/data/michigan_cities.yml +683 -0
- data/data/minnesota_cities.yml +805 -0
- data/data/mississippi_cities.yml +357 -0
- data/data/missouri_cities.yml +887 -0
- data/data/montana_cities.yml +307 -0
- data/data/nebraska_cities.yml +452 -0
- data/data/nevada_cities.yml +117 -0
- data/data/new_hampshire_cities.yml +97 -0
- data/data/new_jersey_cities.yml +536 -0
- data/data/new_mexico_cities.yml +381 -0
- data/data/new_york_cities.yml +1173 -0
- data/data/north_carolina_cities.yml +721 -0
- data/data/north_dakota_cities.yml +238 -0
- data/data/ohio_cities.yml +1177 -0
- data/data/oklahoma_cities.yml +639 -0
- data/data/oregon_cities.yml +353 -0
- data/data/pennsylvania_cities.yml +1718 -0
- data/data/rhode_island_cities.yml +35 -0
- data/data/south_carolina_cities.yml +378 -0
- data/data/south_dakota_cities.yml +288 -0
- data/data/states.yml +51 -0
- data/data/tennessee_cities.yml +424 -0
- data/data/texas_cities.yml +1619 -0
- data/data/utah_cities.yml +314 -0
- data/data/vermont_cities.yml +118 -0
- data/data/virginia_cities.yml +579 -0
- data/data/washington_cities.yml +599 -0
- data/data/west_virginia_cities.yml +387 -0
- data/data/wisconsin_cities.yml +748 -0
- data/data/wyoming_cities.yml +156 -0
- data/gemfile +6 -0
- data/lib/check_yo_spelling.rb +4 -0
- data/lib/check_yo_spelling/usa.rb +52 -0
- data/lib/check_yo_spelling/version.rb +3 -0
- data/pkg/spell_checker-0.1.0.gem +0 -0
- data/spec/lib/usa_city_checker_spec.rb +16 -0
- data/spec/lib/usa_state_checker_spec.rb +16 -0
- data/spec/spec_helper.rb +3 -0
- metadata +159 -0
data/data/states.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
- alabama
|
3
|
+
- alaska
|
4
|
+
- arizona
|
5
|
+
- arkansas
|
6
|
+
- california
|
7
|
+
- colorado
|
8
|
+
- connecticut
|
9
|
+
- delaware
|
10
|
+
- florida
|
11
|
+
- georgia
|
12
|
+
- hawaii
|
13
|
+
- idaho
|
14
|
+
- illinois
|
15
|
+
- indiana
|
16
|
+
- iowa
|
17
|
+
- kansas
|
18
|
+
- kentucky
|
19
|
+
- louisiana
|
20
|
+
- maine
|
21
|
+
- maryland
|
22
|
+
- massachusetts
|
23
|
+
- michigan
|
24
|
+
- minnesota
|
25
|
+
- mississippi
|
26
|
+
- missouri
|
27
|
+
- montana
|
28
|
+
- nebraska
|
29
|
+
- nevada
|
30
|
+
- new hampshire
|
31
|
+
- new jersey
|
32
|
+
- new mexico
|
33
|
+
- new york
|
34
|
+
- north carolina
|
35
|
+
- north dakota
|
36
|
+
- ohio
|
37
|
+
- oklahoma
|
38
|
+
- oregon
|
39
|
+
- pennsylvania
|
40
|
+
- rhode island
|
41
|
+
- south carolina
|
42
|
+
- south dakota
|
43
|
+
- tennessee
|
44
|
+
- texas
|
45
|
+
- utah
|
46
|
+
- vermont
|
47
|
+
- virginia
|
48
|
+
- washington
|
49
|
+
- west virginia
|
50
|
+
- wisconsin
|
51
|
+
- wyoming
|
@@ -0,0 +1,424 @@
|
|
1
|
+
---
|
2
|
+
- adams
|
3
|
+
- adamsville
|
4
|
+
- alamo
|
5
|
+
- alcoa
|
6
|
+
- alexandria
|
7
|
+
- algood
|
8
|
+
- allardt
|
9
|
+
- altamont
|
10
|
+
- andersonville
|
11
|
+
- apison
|
12
|
+
- ardmore
|
13
|
+
- arlington
|
14
|
+
- ashland city
|
15
|
+
- athens
|
16
|
+
- atoka
|
17
|
+
- atwood
|
18
|
+
- auburntown
|
19
|
+
- baileyton
|
20
|
+
- baneberry
|
21
|
+
- banner hill
|
22
|
+
- bartlett
|
23
|
+
- baxter
|
24
|
+
- bean station
|
25
|
+
- beersheba springs
|
26
|
+
- bell buckle
|
27
|
+
- belle meade
|
28
|
+
- bells
|
29
|
+
- benton
|
30
|
+
- berry hill
|
31
|
+
- bethel springs
|
32
|
+
- bethpage
|
33
|
+
- big sandy
|
34
|
+
- blaine
|
35
|
+
- bloomingdale
|
36
|
+
- blountville
|
37
|
+
- bluff city
|
38
|
+
- bolivar
|
39
|
+
- bon aqua junction
|
40
|
+
- bowman
|
41
|
+
- braden
|
42
|
+
- bradford
|
43
|
+
- bransford
|
44
|
+
- brentwood
|
45
|
+
- brighton
|
46
|
+
- bristol
|
47
|
+
- brownsville
|
48
|
+
- bruceton
|
49
|
+
- bulls gap
|
50
|
+
- burlison
|
51
|
+
- burns
|
52
|
+
- byrdstown
|
53
|
+
- calhoun
|
54
|
+
- camden
|
55
|
+
- carthage
|
56
|
+
- caryville
|
57
|
+
- castalian springs
|
58
|
+
- cedar hill
|
59
|
+
- celina
|
60
|
+
- centertown
|
61
|
+
- centerville
|
62
|
+
- central
|
63
|
+
- chapel hill
|
64
|
+
- charleston
|
65
|
+
- charlotte
|
66
|
+
- chattanooga
|
67
|
+
- chesterfield
|
68
|
+
- church hill
|
69
|
+
- clarkrange
|
70
|
+
- clarksburg
|
71
|
+
- clarksville
|
72
|
+
- cleveland
|
73
|
+
- clifton
|
74
|
+
- clinton
|
75
|
+
- coalfield
|
76
|
+
- coalmont
|
77
|
+
- collegedale
|
78
|
+
- collierville
|
79
|
+
- collinwood
|
80
|
+
- colonial heights
|
81
|
+
- columbia
|
82
|
+
- cookeville
|
83
|
+
- coopertown
|
84
|
+
- copperhill
|
85
|
+
- cornersville
|
86
|
+
- cottontown
|
87
|
+
- covington
|
88
|
+
- cowan
|
89
|
+
- crab orchard
|
90
|
+
- cross plains
|
91
|
+
- crossville
|
92
|
+
- crump
|
93
|
+
- cumberland city
|
94
|
+
- cumberland gap
|
95
|
+
- dandridge
|
96
|
+
- darden
|
97
|
+
- dayton
|
98
|
+
- decatur
|
99
|
+
- decaturville
|
100
|
+
- decherd
|
101
|
+
- dickson
|
102
|
+
- dodson branch
|
103
|
+
- dover
|
104
|
+
- dowelltown
|
105
|
+
- doyle
|
106
|
+
- dresden
|
107
|
+
- ducktown
|
108
|
+
- dunlap
|
109
|
+
- dyer
|
110
|
+
- dyersburg
|
111
|
+
- eagleton village
|
112
|
+
- eagleville
|
113
|
+
- east cleveland
|
114
|
+
- east ridge
|
115
|
+
- eastview
|
116
|
+
- elgin
|
117
|
+
- elizabethton
|
118
|
+
- elkton
|
119
|
+
- englewood
|
120
|
+
- enville
|
121
|
+
- erin
|
122
|
+
- erwin
|
123
|
+
- estill springs
|
124
|
+
- ethridge
|
125
|
+
- etowah
|
126
|
+
- eva
|
127
|
+
- fairfield
|
128
|
+
- fairfield glade
|
129
|
+
- fairgarden
|
130
|
+
- fairmount
|
131
|
+
- fairview
|
132
|
+
- fall branch
|
133
|
+
- falling water
|
134
|
+
- farragut
|
135
|
+
- fayetteville
|
136
|
+
- fincastle
|
137
|
+
- finger
|
138
|
+
- flat top mountain
|
139
|
+
- flintville
|
140
|
+
- forest hills
|
141
|
+
- franklin
|
142
|
+
- friendship
|
143
|
+
- friendsville
|
144
|
+
- gadsden
|
145
|
+
- gainesboro
|
146
|
+
- gallatin
|
147
|
+
- gallaway
|
148
|
+
- garland
|
149
|
+
- gates
|
150
|
+
- gatlinburg
|
151
|
+
- germantown
|
152
|
+
- gibson
|
153
|
+
- gilt edge
|
154
|
+
- gleason
|
155
|
+
- goodlettsville
|
156
|
+
- gordonsville
|
157
|
+
- graball
|
158
|
+
- grand junction
|
159
|
+
- gray
|
160
|
+
- graysville
|
161
|
+
- green hill
|
162
|
+
- greenback
|
163
|
+
- greenbrier
|
164
|
+
- greeneville
|
165
|
+
- greenfield
|
166
|
+
- grimsley
|
167
|
+
- gruetli laager
|
168
|
+
- guys
|
169
|
+
- halls
|
170
|
+
- harriman
|
171
|
+
- harrison
|
172
|
+
- harrogate
|
173
|
+
- hartsville trousdale county
|
174
|
+
- helenwood
|
175
|
+
- henderson
|
176
|
+
- hendersonville
|
177
|
+
- henning
|
178
|
+
- henry
|
179
|
+
- hillsboro
|
180
|
+
- hohenwald
|
181
|
+
- hollow rock
|
182
|
+
- hopewell
|
183
|
+
- hornbeak
|
184
|
+
- hornsby
|
185
|
+
- humboldt
|
186
|
+
- hunter
|
187
|
+
- huntingdon
|
188
|
+
- huntland
|
189
|
+
- huntsville
|
190
|
+
- iron city
|
191
|
+
- jacksboro
|
192
|
+
- jackson
|
193
|
+
- jamestown
|
194
|
+
- jasper
|
195
|
+
- jefferson city
|
196
|
+
- jellico
|
197
|
+
- johnson city
|
198
|
+
- jonesborough
|
199
|
+
- kenton
|
200
|
+
- kimball
|
201
|
+
- kingsport
|
202
|
+
- kingston
|
203
|
+
- kingston springs
|
204
|
+
- knoxville
|
205
|
+
- la follette
|
206
|
+
- la grange
|
207
|
+
- la vergne
|
208
|
+
- lafayette
|
209
|
+
- lake city
|
210
|
+
- lake tansi
|
211
|
+
- lakeland
|
212
|
+
- lakesite
|
213
|
+
- lakewood
|
214
|
+
- lakewood park
|
215
|
+
- lawrenceburg
|
216
|
+
- lebanon
|
217
|
+
- lenoir city
|
218
|
+
- lewisburg
|
219
|
+
- lexington
|
220
|
+
- liberty
|
221
|
+
- linden
|
222
|
+
- livingston
|
223
|
+
- lobelville
|
224
|
+
- lone oak
|
225
|
+
- lookout mountain
|
226
|
+
- loretto
|
227
|
+
- loudon
|
228
|
+
- louisville
|
229
|
+
- luttrell
|
230
|
+
- lyles
|
231
|
+
- lynchburg moore county metropolitan government
|
232
|
+
- lynnville
|
233
|
+
- madisonville
|
234
|
+
- manchester
|
235
|
+
- martin
|
236
|
+
- maryville
|
237
|
+
- mascot
|
238
|
+
- mason
|
239
|
+
- maury city
|
240
|
+
- maynardville
|
241
|
+
- mcewen
|
242
|
+
- mckenzie
|
243
|
+
- mclemoresville
|
244
|
+
- mcminnville
|
245
|
+
- medina
|
246
|
+
- medon
|
247
|
+
- memphis
|
248
|
+
- michie
|
249
|
+
- middle valley
|
250
|
+
- middleton
|
251
|
+
- midtown
|
252
|
+
- milan
|
253
|
+
- milledgeville
|
254
|
+
- millersville
|
255
|
+
- millington
|
256
|
+
- minor hill
|
257
|
+
- mitchellville
|
258
|
+
- monteagle
|
259
|
+
- monterey
|
260
|
+
- mooresburg
|
261
|
+
- morrison
|
262
|
+
- morristown
|
263
|
+
- moscow
|
264
|
+
- mosheim
|
265
|
+
- mount carmel
|
266
|
+
- mount juliet
|
267
|
+
- mount pleasant
|
268
|
+
- mountain city
|
269
|
+
- mowbray mountain
|
270
|
+
- munford
|
271
|
+
- murfreesboro
|
272
|
+
- nashville
|
273
|
+
- new deal
|
274
|
+
- new hope
|
275
|
+
- new johnsonville
|
276
|
+
- new market
|
277
|
+
- new tazewell
|
278
|
+
- new union
|
279
|
+
- newbern
|
280
|
+
- newport
|
281
|
+
- niota
|
282
|
+
- nolensville
|
283
|
+
- normandy
|
284
|
+
- norris
|
285
|
+
- oak grove
|
286
|
+
- oak hill
|
287
|
+
- oak ridge
|
288
|
+
- oakdale
|
289
|
+
- oakland
|
290
|
+
- obion
|
291
|
+
- oliver springs
|
292
|
+
- olivet
|
293
|
+
- oneida
|
294
|
+
- ooltewah
|
295
|
+
- orlinda
|
296
|
+
- orme
|
297
|
+
- palmer
|
298
|
+
- paris
|
299
|
+
- park city
|
300
|
+
- parker's crossroads
|
301
|
+
- parrottsville
|
302
|
+
- parsons
|
303
|
+
- pegram
|
304
|
+
- pelham
|
305
|
+
- petersburg
|
306
|
+
- petros
|
307
|
+
- philadelphia
|
308
|
+
- pigeon forge
|
309
|
+
- pikeville
|
310
|
+
- pine crest
|
311
|
+
- piperton
|
312
|
+
- pittman center
|
313
|
+
- plainview
|
314
|
+
- pleasant hill
|
315
|
+
- pleasant view
|
316
|
+
- portland
|
317
|
+
- powells crossroads
|
318
|
+
- pulaski
|
319
|
+
- puryear
|
320
|
+
- ramer
|
321
|
+
- red bank
|
322
|
+
- red boiling springs
|
323
|
+
- riceville
|
324
|
+
- ridgely
|
325
|
+
- ridgeside
|
326
|
+
- ridgetop
|
327
|
+
- ripley
|
328
|
+
- rives
|
329
|
+
- roan mountain
|
330
|
+
- robbins
|
331
|
+
- rockford
|
332
|
+
- rockwood
|
333
|
+
- rogersville
|
334
|
+
- rossville
|
335
|
+
- rural hill
|
336
|
+
- rutherford
|
337
|
+
- rutledge
|
338
|
+
- sale creek
|
339
|
+
- saltillo
|
340
|
+
- samburg
|
341
|
+
- sardis
|
342
|
+
- savannah
|
343
|
+
- scotts hill
|
344
|
+
- selmer
|
345
|
+
- sevierville
|
346
|
+
- sewanee
|
347
|
+
- seymour
|
348
|
+
- shackle island
|
349
|
+
- sharon
|
350
|
+
- shelbyville
|
351
|
+
- signal mountain
|
352
|
+
- silerton
|
353
|
+
- slayden
|
354
|
+
- smithville
|
355
|
+
- smyrna
|
356
|
+
- sneedville
|
357
|
+
- soddy daisy
|
358
|
+
- somerville
|
359
|
+
- south carthage
|
360
|
+
- south cleveland
|
361
|
+
- south fulton
|
362
|
+
- south pittsburg
|
363
|
+
- sparta
|
364
|
+
- spencer
|
365
|
+
- spring city
|
366
|
+
- spring hill
|
367
|
+
- springfield
|
368
|
+
- spurgeon
|
369
|
+
- st joseph
|
370
|
+
- stanton
|
371
|
+
- stantonville
|
372
|
+
- summertown
|
373
|
+
- sunbright
|
374
|
+
- surgoinsville
|
375
|
+
- sweetwater
|
376
|
+
- tazewell
|
377
|
+
- telford
|
378
|
+
- tellico plains
|
379
|
+
- tellico village
|
380
|
+
- tennessee ridge
|
381
|
+
- thompson's station
|
382
|
+
- three way
|
383
|
+
- tiptonville
|
384
|
+
- toone
|
385
|
+
- townsend
|
386
|
+
- tracy city
|
387
|
+
- trenton
|
388
|
+
- trezevant
|
389
|
+
- trimble
|
390
|
+
- troy
|
391
|
+
- tullahoma
|
392
|
+
- tusculum
|
393
|
+
- unicoi
|
394
|
+
- union city
|
395
|
+
- unionville
|
396
|
+
- vanleer
|
397
|
+
- viola
|
398
|
+
- vonore
|
399
|
+
- walden
|
400
|
+
- walland
|
401
|
+
- walnut grove
|
402
|
+
- walnut hill
|
403
|
+
- walterhill
|
404
|
+
- wartburg
|
405
|
+
- wartrace
|
406
|
+
- watauga
|
407
|
+
- watertown
|
408
|
+
- waverly
|
409
|
+
- waynesboro
|
410
|
+
- westmoreland
|
411
|
+
- white bluff
|
412
|
+
- white house
|
413
|
+
- white pine
|
414
|
+
- whiteville
|
415
|
+
- whitwell
|
416
|
+
- wildwood
|
417
|
+
- wildwood lake
|
418
|
+
- williston
|
419
|
+
- winchester
|
420
|
+
- winfield
|
421
|
+
- woodbury
|
422
|
+
- woodland mills
|
423
|
+
- wrigley
|
424
|
+
- yorkville
|