X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/65afe13f0a9f6632a9de063e9df6202360a714d6..c504ec523cd815d920528bcdc9b915a83f2fd64a:/settings/defaults.php diff --git a/settings/defaults.php b/settings/defaults.php index 16711542..9f694c89 100644 --- a/settings/defaults.php +++ b/settings/defaults.php @@ -17,6 +17,10 @@ if (isset($_GET['debug']) && $_GET['debug']) @define('CONST_Debug', true); // codes, to restrict import to a subset of languages. // Currently only affects the import of country names and special phrases. @define('CONST_Languages', false); +// Rules for normalizing terms for comparison before doing comparisons. +// The default is to remove accents and punctuation and to lower-case the +// term. Spaces are kept but collapsed to one standard space. +@define('CONST_Term_Normalization_Rules', ":: NFD (); [:Nonspacing Mark:] >; :: lower (); [[:Punctuation:][:Space:]]+ > ' '; :: NFC ();"); // Set to false to avoid importing extra postcodes for the US. @define('CONST_Use_Extra_US_Postcodes', true);