Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69920

Re: Keeping track of things with dictionaries

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 <rosuav@gmail.com>
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 <bqjjdsF3qvfU1@mid.individual.net>
References <534105ce$0$1365$4fafbaef@reader1.news.tin.it> <21ef5159-ad95-4d43-a2d6-7ecda941d978@googlegroups.com> <CAPTjJmqFBt2XX+BDfNHz0gaGOrDkhtpBzrR29DUWN36girzcSw@mail.gmail.com> <li07kt$4cl$1@ger.gmane.org> <CAPTjJmpK-rqX0fp6_4vXYUS2Z34Vc5fQ_qNTj+Q9+Kn8Y5UPAA@mail.gmail.com> <li0bri$2t9$1@ger.gmane.org> <mailman.9004.1396946112.18130.python-list@python.org> <bqjjdsF3qvfU1@mid.individual.net>
Date Wed, 9 Apr 2014 12:33:28 +1000
Subject Re: Keeping track of things with dictionaries
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9051.1397010817.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Wed, Apr 9, 2014 at 10:43 AM, Gregory Ewing
<greg.ewing@canterbury.ac.nz> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Keeping track of things with dictionaries Giuliano Bertoletti <gbe32241@libero.it> - 2014-04-06 09:44 +0200
  Re: Keeping track of things with dictionaries Peter Otten <__peter__@web.de> - 2014-04-06 10:23 +0200
  Re: Keeping track of things with dictionaries Josh English <Joshua.R.English@gmail.com> - 2014-04-07 21:02 -0700
    Re: Keeping track of things with dictionaries Chris Angelico <rosuav@gmail.com> - 2014-04-08 14:08 +1000
      Re: Keeping track of things with dictionaries Josh English <Joshua.R.English@gmail.com> - 2014-04-07 23:22 -0700
    Re: Keeping track of things with dictionaries "Frank Millman" <frank@chagford.com> - 2014-04-08 09:14 +0200
      Re: Keeping track of things with dictionaries Steven D'Aprano <steve@pearwood.info> - 2014-04-08 07:47 +0000
    Re: Keeping track of things with dictionaries Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-08 01:53 -0600
    Re: Keeping track of things with dictionaries Chris Angelico <rosuav@gmail.com> - 2014-04-08 18:00 +1000
    Re: Keeping track of things with dictionaries Peter Otten <__peter__@web.de> - 2014-04-08 10:21 +0200
    Re: Keeping track of things with dictionaries "Frank Millman" <frank@chagford.com> - 2014-04-08 10:26 +0200
    Re: Keeping track of things with dictionaries "Frank Millman" <frank@chagford.com> - 2014-04-08 10:31 +0200
      Re: Keeping track of things with dictionaries alex23 <wuwei23@gmail.com> - 2014-04-09 12:34 +1000
    Re: Keeping track of things with dictionaries Chris Angelico <rosuav@gmail.com> - 2014-04-08 18:35 +1000
      Re: Keeping track of things with dictionaries Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2014-04-09 12:43 +1200
        Re: Keeping track of things with dictionaries Chris Angelico <rosuav@gmail.com> - 2014-04-09 12:33 +1000
          Re: Keeping track of things with dictionaries alex23 <wuwei23@gmail.com> - 2014-04-09 12:45 +1000
            Re: Keeping track of things with dictionaries Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-08 21:19 -0600
            Re: Keeping track of things with dictionaries Gene Heskett <gheskett@wdtv.com> - 2014-04-08 23:31 -0400
            Re: Keeping track of things with dictionaries Ian Kelly <ian.g.kelly@gmail.com> - 2014-04-08 21:37 -0600
    Re: Keeping track of things with dictionaries "Frank Millman" <frank@chagford.com> - 2014-04-08 11:28 +0200
    Re: Keeping track of things with dictionaries Chris Angelico <rosuav@gmail.com> - 2014-04-08 19:34 +1000
    Re: Keeping track of things with dictionaries "Frank Millman" <frank@chagford.com> - 2014-04-08 11:41 +0200
  Re: Keeping track of things with dictionaries Gene Heskett <gheskett@wdtv.com> - 2014-04-09 05:51 -0400

csiph-web