forked from munibanust/febrl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddress_corr.lst
More file actions
222 lines (214 loc) · 8.58 KB
/
address_corr.lst
File metadata and controls
222 lines (214 loc) · 8.58 KB
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
# =============================================================================
# address_corr.lst - Correction list for locality component
#
# Source: - NSW Health Department AutoStan pattern and classification files
#
# Last update: 12/09/2002, Peter Christen
#
# Entries in the file are of the form:
#
# replacement := values
#
# where 'values' can be one word or character or a comma separated list of
# words or characters. Each value will be replaced by the 'replacement'
# string on the left side.
# Both the replacement string and each of the value strings must be enclosed
# in either single or double quotes.
#
# =============================================================================
# Freely extensible biomedical record linkage (Febrl) Version 0.2.2
# See http://datamining.anu.edu.au/projects/linkage.html
#
# AUSTRALIAN NATIONAL UNIVERSITY OPEN SOURCE LICENSE (ANUOS LICENSE)
# VERSION 1.1
#
# The contents of this file are subject to the ANUOS License Version 1.1 (the
# "License"); you may not use this file except in compliance with the License.
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
# the specific language governing rights and limitations under the License.
# The Original Software is "address_corr.lst".
# The Initial Developers of the Original Software are Dr Peter Christen
# (Department of Computer Science, Australian National University) and Dr Tim
# Churches (Centre for Epidemiology and Research, New South Wales Department
# of Health). Copyright (C) 2002, 2003 the Australian National University and
# others. All Rights Reserved.
# Contributors:
#
# =============================================================================
# Remove characters and words from input
' ' := '.', '?', '~', '-', '_', ':', ';', '^', '=', ' na ',
' n/a ', ' n.a.', ' c/o ', ' c/- ', 'also ', ' name ',
' only ', ' abbrev ', ' locked ', ' on ', ' of ',
' unk ', ' unkn ', ' missing ', '*',
' unknown ', ' fc ', ' bc ', ' c / ', ' xx '
# Correct words and symbols
' roman catholic ' := ' r/c ', ' r / c ', ' rc '
' church of england ' := ' c/e ', ' c / e ', ' c of e '
' no fixed address ' := ' nfa ', 'n/f/a ', ' n.f.a.', ' n f a '
' nursing home ' := ' n / home '
' other territory ' := ' o/t ', ' o.t.'
' and ' := '+', '&'
' / ' := '\', '/'
' | ' := '<', '>', '(', ')', '[', ']', '{', '}', '"', "'"
# Remove ' from o'brian etc
' a' := " a'"
' o' := " o'"
' d' := " d'"
' l' := " l'"
' i' := " i'"
'-a' := "-a'"
'-d' := "-d'"
'-o' := "-o'"
'-l' := "-l'"
'-i' := "-i'"
's ' := "'s "
# Correct roman numbers
' 1 ' := ' i '
' 2 ' := ' ii '
' 3 ' := ' iii '
' 4 ' := ' iv '
' 5 ' := ' v '
' 6 ' := ' vi '
' 7 ' := ' vii '
' 8 ' := ' viii '
' 9 ' := ' ix '
' 10 ' := ' x '
' 11 ' := ' xi '
' 12 ' := ' xii '
' 13 ' := ' xiii '
' 14 ' := ' xiv '
' 15 ' := ' xv '
' 16 ' := ' xvi '
' 17 ' := ' xvii '
' 18 ' := ' xviii '
' 19 ' := ' xix '
' 20 ' := ' xx '
# Correct ordinal numbers
' first ' := ' 1st '
' second ' := ' 2nd '
' third ' := ' 3rd '
' fourth ' := ' 4th '
' fifth ' := ' 5th '
' sixth ' := ' 6th '
' seventh ' := ' 7th '
' eighth ' := ' 8th '
' ninth ' := ' 9th '
' tenth ' := ' 10th '
' eleventh ' := ' 11th '
' twelfth ' := ' 12th '
' thirteenth ' := ' 13th '
' fourteenth ' := ' 14th '
' fifteenth ' := ' 15th '
' sixteenth ' := ' 16th '
' seventeenth ' := ' 17th '
' eighteenth ' := ' 18th '
' nineteenth ' := ' 19th '
' twentieth ' := ' 20th '
' thirtieth ' := ' 30th '
' fortieth ' := ' 40th '
' fiftieth ' := ' 50th '
' sixtieth ' := ' 60th '
' seventieth ' := ' 70th '
' eightieth ' := ' 80th '
' ninetieth ' := ' 90th '
' hundredth ' := ' 100th '
# Australian state and territory words
' australia ' := ' aus ', ' aust ', ' austr ', ' autr '
' capital ' := ' cap ', ' capit ', ' capitol ', ' capt '
' land ' := ' lnd '
' territory ' := ' teritory '
' wales ' := ' wals ', ' wal '
# Geographical locations
' alpine ' := ' alpint ', ' apline '
' cove ' := ' coe '
' county ' := ' cnty ', ' coun '
' creek ' := ' ck ', ' crk '
' dale ' := ' dell '
' dam ' := ' dame '
' dock ' := ' dck ', ' dk '
' fairway ' := ' fawy '
' falls ' := ' fals ', ' flls ', ' fls '
' field ' := ' fiedls ', ' field ', ' fields ', ' fiels ',
' filds ', ' filed ', ' fileds ', ' flds '
' forest ' := ' fores ', ' forrest ', ' frest '
' glade ' := ' gld '
' grange ' := ' gra '
' green ' := ' grn ', ' greeen '
' gully ' := ' gly ', ' glly '
' head ' := ' hd '
' heads ' := ' hds '
' hill ' := ' gill ', ' hil ', ' hilll ', ' hiull '
' hills ' := ' hillss ', ' hils ', ' hiolls ', ' hlls ', ' holls '
' inlet ' := ' inley ', ' innlet '
' island ' := ' ils ', ' is ', ' isl '
' lake ' := ' lk ', ' lke '
' lakes ' := ' lks ', ' lkes '
' lookout ' := ' lkt '
' meander ' := ' mndr '
' meadow ' := ' mdw ', ' meado ', ' medow '
' meadows ' := ' mdws ', ' medows '
' midway ' := ' midwy '
' mount ' := ' mnt ', ' mout ', ' mt '
' oaks ' := ' oak ', ' oakes '
' outlook ' := ' otlk '
' parklands ' := ' parkland ', ' pkld ', ' pklds '
' pass ' := ' ps '
' plains ' := ' plain ', ' planes ', ' plians ', ' plns '
' plateau ' := ' plat ', ' platau ', ' platea ', ' platteau ',
' platue ', ' plt ', ' pltu '
' pier ' := ' pir '
' polar ' := ' pola '
' port ' := ' prt '
' range ' := ' rnge '
' ridge ' := ' ridg ', ' rdge '
' river ' := ' riv ', ' rivr ', ' rvr '
' riviera ' := ' rvra '
' rocky ' := ' rockey '
' sands ' := ' sandes '
' slope ' := ' slpe '
' sound ' := ' snd '
' stony ' := ' stoney '
' vale ' := ' vle '
' valley ' := ' valey ', ' vlley ', ' vally ', ' vlly ', ' vly ',
' valleys ', ' vlys '
' wells ' := ' wls ', ' well '
# Various words
' access ' := ' acc ', ' accs '
' amble ' := ' ambl '
' anchorage ' := ' ancg '
' approach ' := ' app '
' artery ' := ' art '
' bayou ' := ' bayoo '
' brace ' := ' brce '
' branch ' := ' br ', ' brnch '
' break ' := ' braek ', ' brk '
' deviation ' := ' devn '
' elbow ' := ' elb '
' foreshore ' := ' fhsr '
' formation ' := ' form '
' front ' := ' frnt '
' frontage ' := ' frtg '
' ground ' := ' grnd '
' key ' := ' ky '
' centennial ' := ' centenial '
' double ' := ' doule '
' hall ' := ' ahll ', ' haqll '
' keys ' := ' keyes '
' kings ' := ' king ', ' kingl ', ' kingsl ', ' kinks ', ' kins '
' nest ' := ' neest '
' neutral ' := ' neutrl '
' pleasant ' := ' plaesant ', ' pleasent ', ' pleasnt ', ' plesant '
' quadrangle ' := ' qdgl '
' quadrant ' := ' qdrt '
' ramble ' := ' rmbl '
' reach ' := ' rch '
' ronde ' := ' rnde '
' rosebowl ' := ' rsbl '
' round ' := ' rnd '
' siding ' := ' sdng '
' stairs ' := ' strs '
' steps ' := ' stps '
' triangle ' := ' tri '
' view ' := ' veiw ', ' vw ', ' views ', ' vws '
' vista ' := ' vis ', ' vist ', ' vst ', ' vsta '