Find hidden words

This program tests of how easy it is to locate a (unknown or known) word in a random string.

How the program works

First a word is generated from a word list, then a random string is built from an n-gram distribution (where n can be changed below), which means that the probability of getting a common n-gram is larger than getting an more uncommon n-gram. The word is then hidden somewhere in the random string. Note that some real word can accidently be generated randomly. If you find too many words in the string, please either change the minimim length of the hidden word to a larger value or set the option of showing the length of the hidden word.

If the hint option is yes then the generated word is also shown, which will make it easier, but maybe not that simple in a very long random string. The option Show all matched words will also show all the words that is found in the generated string. This option will take some seconds longer to run.

Generate a hidden word
Select language: Swedish English
Length of full string (random + hidden, max 100):
Size of n-gram (2, 3, 4 or 5, default 2):
Hint (show hidden word): Yes No
Minimum hidden word length (1..15, default 5):
Show length of hidden word: Yes No
Show all matched words: Yes No



Maybe there is more information about the program in this blog thread
Back to my other useless programs
Back to my homepage
Created by Hakan Kjellerstrand hakank@gmail.com