<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Sep 15, 2015 at 11:13 PM, Gerard Meijssen <span dir="ltr"><<a href="mailto:gerard.meijssen@gmail.com" target="_blank">gerard.meijssen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>One question, when you search for <span style="font-size:12.8px"> ''Ревест-Сен-Мартен", why did you not consider every language that uses the Cyrillic script? It is as likely to find something in Serbian, Macedonian, Belarusian etc ...</span></div><div><span style="font-size:12.8px">Thanks,</span></div><div><span style="font-size:12.8px">     GerardM</span></div></div><div class=""><div class="h5"><div class="gmail_extra"><br></div></div></div></blockquote><div> </div><div>The rest of the discussion is happening on the phab ticket, but i'll answer this here.  We are using a language detection algorithm that has been trained against tweets. Tweets are not, on average, as short as  the searches we are detecting the language of but it does an ok job. Trey did a great job putting together an analysis[1] of this language detection algo.  We will also be using his work there to evaluate other language detection methods and perhaps change what we are using in the future.</div><div><br></div><div>So the short of it is, we chose russian instead of serbian because the machine learning algorithm said so.</div><div><br></div><div>[1] <a href="https://www.mediawiki.org/wiki/User:TJones_(WMF)/Notes/Language_Detection_Evaluation">https://www.mediawiki.org/wiki/User:TJones_(WMF)/Notes/Language_Detection_Evaluation</a></div></div></div></div>