The 
Mathematica Journal
Volume 9, Issue 1

Search

In This Issue
Tricks of the Trade
In and Out
Trott's Corner
New Products
New Publications
Calendar
News Bulletins
New Resources
Classifieds

Download This Issue 

About the journal
Editorial Policy
Staff
Submissions
Subscriptions
Advertising
Back Issues
Contact Information

Tricks of the Trade
Edited by Paul Abbott

Anagrams

Roger Germundsson

roger@wolfram.com

It is straightforward to produce all the anagrams of a given string.

The Version 4 notebook interface includes spell checking and hyphenation (see www.wolfram.com/products/mathematica/history.html). You can call on the extensive dictionary, using NotebookGetMisspellingsPacket, to filter human language anagrams.

Because NotebookGetMisspellingsPacket works with notebooks, the text to be filtered is put into an invisible notebook, which is closed after the spelling errors have been determined. Now we can produce all the human language anagrams of a given string.

International dictionaries, available at store.wolfram.com/view/app/dictionaries, allow one to produce human language anagrams in a range of languages.



     
About Mathematica  Download Mathematica Player
Copyright © Wolfram Media, Inc. All rights reserved.