[OSM-dev] phonetic gazateer, would be cool feature for nominatim
Raphaël Jacquot
sxpert at sxpert.org
Tue Jan 26 14:57:13 GMT 2010
On Tue, 2010-01-26 at 14:49 +0000, Brian Quinion wrote:
> On Fri, Jan 15, 2010 at 2:09 AM, Brian Quinion
> <openstreetmap at brian.quinion.co.uk> wrote:
> >> Lucene uses Double Metaphone[1] (amongst others) and it works really
> >> nice across multiple languages. Certainly the best I've seen so far
> >> and the one OSMdoc is using in the next version.
>
> A bit of experimenting later I've made this live:
>
> http://nominatim.openstreetmap.org/?q=sheffeild
>
> however it is far from fool proof both because double metaphone isn't
> great with typos - only with phonetic spelling - and because the size
> of the database makes for a very large number of potential hits.
this is usually handled by using a specific language spelling =>
phonemes translator.
so that would need a setting for 'language of the destination'
which can be found automatically if a country name can be found in the
text
> --
> Brian
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
More information about the dev
mailing list