Skip to content

Commit

Permalink
Remove some chars on address
Browse files Browse the repository at this point in the history
  • Loading branch information
atao committed Jan 24, 2024
1 parent 9ece0bc commit 39293ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions geocoder/addresses_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ def standardize_address(address):
"R": "RUE",
}

# Remove ","
address = address.replace(",","").strip()
address = address.replace(";","").strip()

parts = address.split()
if len(parts) > 1:
n = 0
Expand Down

0 comments on commit 39293ad

Please sign in to comment.