Be the first to rate this file! 41 downloads (last 30 days) File Size: 1.55 KB File ID: #24622

Text Twist Puzzle Solver

by Khaled Hamed

 

02 Jul 2009 (Updated 02 Jul 2009)

Code covered by BSD License  

Gives the solution of a Text Twist Puzzle

Download Now | Watch this File

File Information
Description

This code takes an input string (usually six letters) and displays all meaningful words (according to Microsoft Word dictionary) that can be formed from them. All combinations from three letters up to the full length of the input string are spell-checked to figure out meaningful words.

Example:

>> tt sttaes

Solution:
states
tastes
asset
sates
seats
state
stats
stets
taste
teats
tests
asst
east
eats
etas
sate
seas
seat
seta
sets
sett
stat
stet
tats
teas
teat
test
ass
ate
eat
eta
sat
sea
set
tae
tat
tea
 

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
spellcheck

MATLAB release MATLAB 7.7 (R2008b)
Other requirements Microsoft Word
Zip File Content  
Other Files license.txt,
tt.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
02 Jul 2009

Corrected error in Tags

Tag Activity for this File
Tag Applied By Date/Time
text twist Khaled Hamed 02 Jul 2009 11:38:04
word games Khaled Hamed 02 Jul 2009 11:38:04
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com