On Tue, 2010-01-26 at 14:49 +0000, Brian Quinion wrote: > On Fri, Jan 15, 2010 at 2:09 AM, Brian Quinion > <[email protected]> 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 > [email protected] > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

