D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Xmas perling

 

Can I put each one through Thesaurus in perl and get the Meaning?
does Thesaurus have a look up script?


On Mon, 2008-12-29 at 17:07 +0000, Neil Williams wrote:
> On Mon, 29 Dec 2008 16:58:38 +0000
> kevin <kevin.lucas@xxxxxxxxxxxxxxxxxx> wrote:
> 
> > > > I have the last question of my Family xmas quiz as how many words with
> > > > all the vowels in and in the order of a e i o u 
> 
> In which case, the output is wrong - you can't have words starting "un"
> if you want the vowels in that sequence. More work needed on the
> regular expression.
> ;-)
> 
> > ABSTEMIOUS
> > ABSTEMIOUSLY
> > ABSTEMIOUSNESS
> 
> extra vowel - depending on the interpretation of the rules, that would
> fail in most cases.
> 
> > BACTERIOFLUORESCIN
> > BACTERIOPURPURIN
> > FACETIOUSNESS
> 
> ditto (and a lot more in the list)
> 
> > BEGGAR-MY-NEIGHBOUR
> > HALF-SERIOUS
> > HALF-SERIOUSLY
> 
> Whether those qualify is also debatable. 
> 
> > OVERABSTEMIOUS
> > OVERABSTEMIOUSLY
> > OVERABSTEMIOUSNESS
> 
> regular expression error - o and e precede a.
> 
> > UNABSTEMIOUS
> > UNABSTEMIOUSLY
> > UNABSTEMIOUSNESS
> > UNABSTENTIOUS
> > UNFACETIOUS
> > UNFACETIOUSLY
> > UNFACETIOUSNESS
> 
> ditto
> 
> Regular expressions are such fun.....
> 
Regards

Kevin Lucas
Minions Post Master(Sub) reprieved (possibly!)
Po House, Minions,
Liskeard Cornwall 
PL14 5LE
01579363386


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html