Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.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.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'excluding': 0.09; 'used.': 0.09; 'yeah,': 0.09; 'cc:addr:python-list': 0.11; 'dict': 0.16; 'dictionary.': 0.16; 'entries.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'macosx': 0.16; 'multiple,': 0.16; 'should.': 0.16; 'subject:dictionaries': 0.16; 'symlink': 0.16; 'words.': 0.16; 'yours!': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'entries': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'words': 0.29; 'bigger': 0.30; 'message- id:@mail.gmail.com': 0.30; 'went': 0.31; 'everyone': 0.33; 'subject:with': 0.35; 'knows': 0.35; 'skip:u 20': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'should': 0.36; 'list': 0.37; 'list.': 0.37; 'skip:u 10': 0.60; 'medical': 0.61; 'such': 0.63; 'american': 0.66; 'here': 0.66; 'money': 0.72; '10:43': 0.84; 'back?': 0.84; 'characters,': 0.84; 'longest': 0.84; 'skip:/ 30': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=EvGbFfAUQl9Ymf9tViasTRLcKSA5YXgNguHYKkUzwxQ=; b=VwbwOA7KKsf845JMxMzIp4JVF5Rb3j8Rk8IMAcRpf4VSCEnVLwKUaumQCKhLs07CKe OUIJ3eqF4n0szLi9R+ND8rQOkS8aeIJFWlfI4VjKQ3ApztnsUZftglUOx1nBOk+m7nPt A5mVJyHyqYR+s/u5XZNJDE6G3yA2RQLcUJwJqdQp+MMRtKo6JU3v5QgGzzZePHZ9LhIU mzO7oUHz+K1pmqBZnboCgAVx2Eap8KnUU+D10N5HgNxJee9JlznY+tn+28I/lG4iAD/P dRgVcYf5EIYG1XPlG18G2ZmJM5P7bp0nTuENPjX0RfgCpTDROxQ+ggG9xzCTeqPWT7h/ 20xw== MIME-Version: 1.0 X-Received: by 10.68.201.10 with SMTP id jw10mr8621169pbc.25.1397010808651; Tue, 08 Apr 2014 19:33:28 -0700 (PDT) In-Reply-To: References: <534105ce$0$1365$4fafbaef@reader1.news.tin.it> <21ef5159-ad95-4d43-a2d6-7ecda941d978@googlegroups.com> Date: Wed, 9 Apr 2014 12:33:28 +1000 Subject: Re: Keeping track of things with dictionaries From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1397010817 news.xs4all.nl 2943 [2001:888:2000:d::a6]:54521 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69920 On Wed, Apr 9, 2014 at 10:43 AM, Gregory Ewing wrote: > Chris Angelico wrote: >> >> in the dictionary I >> have here (Debian Wheezy, using an American English dictionary - it's >> a symlink to (ultimately) /usr/share/dict/american-english), there are >> five entries in that list. > > > Mine's bigger than yours! On MacOSX 10.6 I get 41 words. > (I think someone must have fed a medical dictionary into > it... my list includes such obviously indispensible terms > as laparocolpohysterotomy, thyroparathyroidectomy and > ureterocystanastomosis.) Yeah, it'll vary based on the exact dictionary used. I went for something with multiple, but not prolific, entries. > Unfortunately I seem to be missing antidisestablishmentarianism, > because the longest words in my dict are only 24 characters, > excluding the '\n'. Should I ask for my money back? I think you should. That's a fundamental flaw in the dictionary. Everyone knows that word's the longest! ChrisA