Skip to content

Commit

Permalink
Fix use of normalizers that causes problems
Browse files Browse the repository at this point in the history
  • Loading branch information
orangejulius committed Sep 24, 2021
1 parent 886bf99 commit c830210
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions test_cases/san_diego_transit.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"source": "OSM",
"normalizers": {
"name": [
"toLowerCase",
"toUpperCase",
"removeOrdinals",
"stripPunctuation",
"abbreviateDirectionals"
"abbreviateDirectionals",
"toLowerCase"
]
},
"tests": [
Expand Down Expand Up @@ -738,4 +739,4 @@
}
}
]
}
}
7 changes: 4 additions & 3 deletions test_cases/top_us_cities.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"source": "Wikipedia",
"normalizers": {
"name": [
"toLowerCase",
"toUpperCase",
"removeOrdinals",
"stripPunctuation",
"abbreviateDirectionals"
"abbreviateDirectionals",
"toLowerCase"
]
},
"tests": [
Expand Down Expand Up @@ -13515,4 +13516,4 @@
}
}
]
}
}
7 changes: 4 additions & 3 deletions test_cases/us_states.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
"source": "Wikipedia",
"normalizers": {
"name": [
"toLowerCase",
"toUpperCase",
"removeOrdinals",
"stripPunctuation",
"abbreviateDirectionals"
"abbreviateDirectionals",
"toLowerCase"
]
},
"tests": [
Expand Down Expand Up @@ -863,4 +864,4 @@
}
}
]
}
}

0 comments on commit c830210

Please sign in to comment.