mirror of https://github.com/pelias/docker.git
Julian Simioni
6 years ago
1 changed files with 35 additions and 0 deletions
@ -0,0 +1,35 @@ |
|||||||
|
{ |
||||||
|
"name": "/v1/search address", |
||||||
|
"description": "addresses in Portland, OR", |
||||||
|
"priorityThresh": 1, |
||||||
|
"normalizers": { |
||||||
|
"name": [ |
||||||
|
"toUpperCase", |
||||||
|
"removeOrdinals", |
||||||
|
"stripPunctuation", |
||||||
|
"abbreviateDirectionals", |
||||||
|
"abbreviateStreetSuffixes" |
||||||
|
] |
||||||
|
}, |
||||||
|
"tests": [ |
||||||
|
{ |
||||||
|
"id": 1, |
||||||
|
"status": "pass", |
||||||
|
"in": { |
||||||
|
"text": "4004 SW Beaverton-Hillsdale, Portland" |
||||||
|
}, |
||||||
|
"issue": "https://github.com/OpenTransitTools/trimet-mod-pelias/issues/20", |
||||||
|
"description": "libpostal does not handle street directionals in some cases", |
||||||
|
"expected": { |
||||||
|
"properties": [ |
||||||
|
{ |
||||||
|
"name": "4004 SW Beaverton Hillsdale Hwy", |
||||||
|
"locality": "Portland", |
||||||
|
"region": "Oregon", |
||||||
|
"region_a": "OR" |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
] |
||||||
|
} |
Loading…
Reference in new issue