Reading scrambled words

This program tests (not very scientific) the hypothesis that we are capable of understanding a text when each word have the first X letters and last Y letters inplace and the rest is either sorted or scrambled randomly. (Well, almost random, since I check that the generated substring is not equal to the original substring. This is of course only be possible for words with length >= X + Y + 2 and where the characters in the substring is not the same.)

The first Swedish examples I saw are here (with X=2, Y=2, from September 1 2003) and here (X=1,Y=1, from September 15 2003) respectively. For an english text see this blog thread.

The sorting option was inspired by Niklas Johansson's comment (in Swedish). He is inclined to think that the word seems to be less understandable when the no-fixed characters are sorted. I tend to agree with him.

Instructions

Type in a text in the text area, change the number of characters to keep at the start and the end of the words. Also choose if the no-fixed words should be sorted. Then click on "OK" to proceed. The scrambled text will be shown below. How readable is it?

Test the program with an english text here.



Number of beginning characters (X, default 2):
Number of ending characters (Y, default 2):
Sort no-fixed characters: yes no

Type the text here:

Scrambled text

Parameters: X = 2, Y = 2

Inaesstrnt!
En vektlpanseig unkriesnödng gjord vid ett unvreisitet i Enalgnd har visat att utfiall de två fösrta och de två sista botrsevkäna i alla orden i en text är rikitgt plaeacrde, splear det liten roll i viklen orösnlfigndjd de övirga bokerävtsna i orden kommer. Tetxen är fullt läbsar t.o.m. om de andra boksrävtena kommer humurelollbler! Detta efsertom vi inte läser varje ensikld botksav, utan ser bidlen av ordet som hehlet.

Maybe there are some comments of my (Swedish) blog post announcing the program.
Also, see the related program Generate spelling errors
Back to my other useless programs
Back to my homepage
Created by Hakan Kjellerstrand hakank@gmail.com