Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: OT: How to find anagrams?

by talexb (Chancellor)
on Apr 28, 2004 at 18:59 UTC ( [id://348916]=note: print w/replies, xml ) Need Help??


in reply to OT: How to find anagrams?

Check out Permute for a useful module and a bunch of relevant links.

You could also run an analysis on how often one letter follows another in /usr/share/dict/words and see if you can use that to skip checking certain combinations .. for example, my words file contains no words with the pattern 'lsn' .. which means you could skip any permutation that contains that pattern.

Alex / talexb / Toronto

Life is short: get busy!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://348916]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-24 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found