From c1822917ebfe1fd119c8c99d74bd715b91843167 Mon Sep 17 00:00:00 2001 From: Al Date: Tue, 29 Mar 2016 20:38:55 -0400 Subject: [PATCH] [categories] Adding categories section to the English parser config --- resources/addresses/en.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/resources/addresses/en.yaml b/resources/addresses/en.yaml index f535f8e0..5e0a9a45 100644 --- a/resources/addresses/en.yaml +++ b/resources/addresses/en.yaml @@ -188,6 +188,26 @@ po_box: prefer_abbreviated: true sample: true +# Categories +# ========== +# Use the operators "in" and "near" for building category queries +# such as "restaurants in Hackney, London" + +categories: + near: + canonical: near + alternates: + - around + nearby: + canonical: nearby + alternates: + - near here + - around here + near_me: + canonical: near me + in: + canonical: in + # Directions # ========== # Unit types, stairways, etc. may have a direction associated