3 ms·
OSM nominally assigns the "name" tag to the name locally used, and there are also "name:en", "name:fr" tags, etc. Presumably you could search through all of th
by kragen 11y ago
OSM nominally assigns the "name" tag to the name locally used, and there are also "name:en", "name:fr" tags, etc. Presumably you could search through all of them, using an inverted index and a Bayesian prior for how likely words like "CEP" are to occur in addresses. Bag-of-words should do just about everything except distinguish ZIP codes from street numbers, and possibly distinguish between street and city.
OsmAnd~'s interface for this is absolutely terrible.
A corpus of address searches to test against would be really helpful for this kind of development.
I suspect there is a good book or web site or FAQ about geographic name matching, but you have to be a Googler to see it.