Skip to content

Experiment with typoglycemia using plain-text input and output.

License

Notifications You must be signed in to change notification settings

linguini1/jumbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jumbler

Thanks to the phenomena of "Typoglycemia", the human brain is able to read text where each word has the order of its letters shuffled, so long as the first and last letter remain in place.

Try running some plain-text through this program and reading the jumbled output.

Building

Clone the repository and make all.

Usage

To get usage hints with jumbler, you can use the -h help flag.

Here are some things to try to get you started:

echo "Your text goes here. Try using some unusually lengthy and complicated words." | jumbler
cat LICENSE.txt | jumbler
jumbler -i LICENSE.txt
jumbler -i LICENSE.txt -o JUMBLEDLICENSE.txt

How it Works

The jumbler program makes use of the following finite state machine to jumble text:

Interesting to Know

There is some controversy surrounding the science behind this phenomena. It is also referred to as the transposed letter effect. Regardless, it's a fun experiment.

Due to the properties of the translation, you can run the same text through jumbler several times, and the effect will be equivalent to running it through jumbler only once. In other words:

cat LICENSE.txt | jumbler

and

cat LICENSE.txt | jumbler | jumbler | jumbler | jumbler | jumbler | jumbler

are equivalent.