Text Twist Puzzle Solver
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 (2024). Text Twist Puzzle Solver (https://www.mathworks.com/matlabcentral/fileexchange/24622-text-twist-puzzle-solver), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: spellcheck
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.