<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<br><br>wouldn't it be easier to let mkgmap report those words<br>which appear in more than n (e.g. 20) roads and use that list to <br>produce a user-defined list of stop-words?<br><br>Gerd<br><br><br><div>&gt; From: paco.tyson@free.fr<br>&gt; Date: Sat, 14 Feb 2015 15:06:16 +0100<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Subject: Re: [mkgmap-dev] mixed index branch merge<br>&gt; <br>&gt; Hi all,<br>&gt; <br>&gt; In French, from the top of my head, I can think of : <br>&gt; <br>&gt; Rue, Ruelle, Avenue, Boulevard, Quai, Chaussée, Route, Cour, Cours, Cité, Chemin, Place, Esplanade, Passage, Allée, Carrefour, Sentier, Square, Villa.<br>&gt; <br>&gt; This list is without a doubt not complete but should cover more than 95% of named addresses in France.<br>&gt; <br>&gt; They should only be ignored from index if they're in the first place and followed by anything else.<br>&gt; <br>&gt; <br>&gt; Cheers,<br>&gt; Paco<br>&gt; <br>&gt; Le 14 févr. 2015 ā 08:50, Marko Mäkelä &lt;marko.makela@iki.fi&gt; a écrit :<br>&gt; <br>&gt; &gt; On Thu, Feb 12, 2015 at 01:24:29PM +0000, Steve Ratcliffe wrote:<br>&gt; &gt;&gt; So finally I will merge the mixed index branch.<br>&gt; &gt; <br>&gt; &gt; I believe that the database terminology for this is 'inverted index' or 'fulltext index'.<br>&gt; &gt; <br>&gt; &gt;&gt; I think it would be best to selectively enable it per country along with lists of names to avoid. This would be best done by people from or familiar with the countries in question.<br>&gt; &gt; <br>&gt; &gt; In fulltext search, these are called 'stopwords'.<br>&gt; &gt; <br>&gt; &gt; It might not be necessary to do anything to for countries where street names are commonly written as a single word. Example: "Main Street" would be "Hauptstrasse" in German, "Huvudgatan" in Sweden and "Päätie" in Finnish. Only if the first part of the street name is a proper name such as a person's name, the second part could be written as a separate word, separated by a space or dash.<br>&gt; &gt; <br>&gt; &gt; That said, I guess it would still make sense to introduce some stopwords. Words that I can think of:<br>&gt; &gt; <br>&gt; &gt; Swedish: gata, gatan, gränd, gränden, stig, stigen, (stråk, stråket)<br>&gt; &gt; Finnish: tie, katu, polku, kuja, (raitti, taival)<br>&gt; &gt; German: Straße, Strasse, Weg, Allee, Chaussee<br>&gt; &gt; Estonian: mnt, maantee, tn, tänav, pst, puiestee<br>&gt; &gt; <br>&gt; &gt; In Estonia, it seems to be common to write the tn, mnt or pst as a separate word.<br>&gt; &gt; <br>&gt; &gt; I could be missing some stopwords in Estonian and for German-speaking countries. Also, it could be that the French loan words Allee and Chaussee are sometimes accented.<br>&gt; &gt; <br>&gt; &gt; The Finnish and Swedish words that I have put in parenthesis should be very rare, typically used for ways for non-motorized traffic.  I don't think that including them would pollute the index much. You might in fact want to search for such a name when you are looking for a nice walking or cycling route (i.e., you expect there to exist some random-famous-person-name-stråket, but you do not know the random name).<br>&gt; &gt; <br>&gt; &gt;         Marko<br>&gt; &gt; _______________________________________________<br>&gt; &gt; mkgmap-dev mailing list<br>&gt; &gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; &gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>&gt; <br>&gt; _______________________________________________<br>&gt; mkgmap-dev mailing list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                               </div></body>
</html>