image thumbnail

Text Twist Puzzle Solver

version 1.1.0.0 (1.55 KB) by Khaled Hamed
Gives the solution of a Text Twist Puzzle

2.2K Downloads

Updated 02 Jul 2009

View License

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

Cite As

Khaled Hamed (2022). Text Twist Puzzle Solver (https://www.mathworks.com/matlabcentral/fileexchange/24622-text-twist-puzzle-solver), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Acknowledgements

Inspired by: spellcheck

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!