[mkgmap-dev] multi-word street search
From Michał Rogala michal.rogala at gmail.com on Wed Feb 27 00:01:31 GMT 2013
I think that its worth introducing some internal variable, like mkgmap:stop_words where you can specify your custom wordlist instead of hard-coding it. In my example from the first post there is no problem with the "street" word because it is not included in OSM street names in Poland - main difficulty with searching is because street can have two different, yet totally valid names: Miroslawa Dutka - name and surname of a person Dutka - just surname of course in OSM we enter full name and surname, but 99% of people use just surname for specifying an address. Indexing every word in street name would solve this problem :). best regards Michal Rogala 2013/2/26 Thorsten Kukuk <kukuk at suse.de> > On Tue, Feb 26, Steve Ratcliffe wrote: > > > So you can construct the index with as many name,offset pairs > > as you like, with the only downside being that the index > > could easily double in size if you just make every word > > indexable. > > One idea I have here: > > Add all words indexable except they are "Street", "Avenue", "Road" > or whatever else we have in the world which is part of nearly every > street in a country. And Ignore all words which contains only 3 or > less letters (Rd, Ave, Str, ...). > > I think this would be a great help if you search for a street. > > Thorsten > > -- > Thorsten Kukuk, Project Manager/Release Manager SLES > SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg > GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130227/be68777a/attachment.html
- Previous message: [mkgmap-dev] multi-word street search
- Next message: [mkgmap-dev] multi-word street search
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list