Skip to content

Commit

Permalink
Merge pull request #200 from pelias/abbreviations
Browse files Browse the repository at this point in the history
feat(normalizers): add more abbreviations
  • Loading branch information
orangejulius authored Jun 3, 2020
2 parents df5c2c0 + 8b4451e commit 3f40b7f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/normalizers.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,18 @@ module.exports.abbreviateStreetSuffixes = function(val) {
}

var terms = {
'LOOP': 'LP',
'LANE': 'LN',
'COURT': 'CT',
'CIRCLE': 'CIR',
'JUNIOR': 'JR',
'WAY': 'WY',
'STREET': 'ST',
'AVENUE': 'AVE',
'PLACE': 'PL',
'AVENUE': 'AV',
'AVE': 'AV',
'TERRACE': 'TERR',
'PARKWAY': 'PKWY',
'BOULEVARD': 'BLVD',
'ROAD': 'RD',
'DRIVE': 'DR'
Expand Down

0 comments on commit 3f40b7f

Please sign in to comment.