Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'differently': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'spelling': 0.09; 'subject:trying': 0.09; 'tismer': 0.09; 'python': 0.11; 'bug': 0.12; 'fuzzy': 0.16; 'ideally,': 0.16; 'intellect': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:non': 0.16; 'language': 0.16; 'wrote:': 0.18; 'wed,': 0.18; '>>>': 0.22; 'programming': 0.22; 'header:User-Agent:1': 0.23; "shouldn't": 0.24; 'non': 0.24; 'handling': 0.26; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'google,': 0.29; 'errors': 0.30; "i'm": 0.30; 'gives': 0.31; '-0700,': 0.31; "d'aprano": 0.31; 'depth': 0.31; 'letter.': 0.31; 'steven': 0.31; 'supposed': 0.32; 'tool': 0.35; 'something': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; "didn't": 0.36; 'should': 0.36; 'wrong': 0.37; 'christian': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'world.': 0.61; "you're": 0.61; 'different': 0.65; 'results': 0.69; 'superior': 0.69; 'special': 0.74; 'glad': 0.83; 'bow': 0.84; 'received:2': 0.84; 'subject:.. ': 0.84; 'tolerant': 0.84; 'wanted,': 0.84; 'absolutely': 0.87; 'engines.': 0.91; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: trying to strip out non ascii.. or rather convert non ascii Date: Thu, 31 Oct 2013 07:23:47 +0000 References: <526c412a$0$29972$c3e8da3$5496439d@news.astraweb.com> <526f46a2$0$6512$c3e8da3$5496439d@news.astraweb.com> <5272025a$0$29862$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-2-98-193-129.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <5272025a$0$29862$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 42 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1383204246 news.xs4all.nl 15869 [2001:888:2000:d::a6]:55500 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:58153 On 31/10/2013 07:10, Steven D'Aprano wrote: > On Wed, 30 Oct 2013 01:49:28 -0700, wxjmfauth wrote: > >>> The right solution to that is to treat it no differently from other >>> fuzzy >>> searches. A good search engine should be tolerant of spelling errors >>> and >>> alternative spellings for any letter, not just those with diacritics. >>> Ideally, a good search engine would successfully match all three of >>> "naïve", "naive" and "niave", and it shouldn't rely on special handling >>> of diacritics. >> >> This is a non sense. The purpose of a diacritical mark is to make a >> letter a different letter. If a tool is supposed to match an ô, there is >> absolutely no reason to match something else. > > > I'm glad that you know so much better than Google, Bing, Yahoo, and other > search engines. When I search for "mispealled" Google gives me: > > Showing results for misspelled > Search instead for mispealled > > > But I see now that this is nonsense and there is *absolutely no reason* > to match something other than the ecaxt wrods I typed. > > Perhaps you should submit a bug report to Google: > > "When I mistype a word, Google correctly gives me the search results I > wanted, instead of the wrong results I didn't want." > I'm sorry Steven but you're completely out of your depth here. Please bow down to the superior intellect of jmf, where jm is for Joseph McCarthy. -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence