[python-uk] word chains: impossible ones
Carles Pina i Estany
carles at pina.cat
Sat Jun 16 16:59:41 CEST 2012
Hi,
A bit in a hurry but code is here:
http://git.pinux.info/?p=misc.git;a=tree;f=wordchain;h=dd945993ebd27f7a372e2a05da1ad09145f2eba1;hb=HEAD
Generated image:
http://git.pinux.info/?p=misc.git;a=blob_plain;f=wordchain/graphic.png;hb=HEAD
The dictionary has 99156 words, which is quite good.
Or:
carles at pinux:~/misc/wordchain$ grep ^...$ british-english | wc -l
844
carles at pinux:~/misc/wordchain$
844 3-letter words, but in the Python code I remove all that they
contain "'" or has capital letters.
I'll write a bit of readme later on...
On Jun/16/2012, Tom Viner wrote:
> That's a nice discovery Carles! Or do you just have a ridiculously unfairly
> gigantic dictionary?
>
> Have you uploaded your code (and dictionary?) somewhere? We could include
> it in the dojo github repo or more likely if you have you're own hosting,
> just fork our readme and add a link.
>
> Cheers,
> Tom
> On Jun 16, 2012 12:54 PM, "Carles Pina i Estany" <carles at pina.cat> wrote:
>
> >
> > Hi,
> >
> > I've re-implemented the wordchain of my team.
> >
> > Using the dictionary that I have here, it seems that there are only two
> > words unconnected to the rest of the 3 letter words:
> > *emu
> > *ems
> >
> > Everything else is connected :-)
> >
> > (and emu and ems obviously are connected)
> >
> > So, if my dictionary is ok and you want to beat someone: ask from emu to
> > something else :-)
> >
> > Regards.
> >
> > --
> > Carles Pina i Estany
> > Web: http://pinux.info || Blog: http://pintant.cat
> > _______________________________________________
> > python-uk mailing list
> > python-uk at python.org
> > http://mail.python.org/mailman/listinfo/python-uk
> >
--
Carles Pina i Estany
Web: http://pinux.info || Blog: http://pintant.cat
More information about the python-uk
mailing list