Generating anagrams from multiple core strings employing user-defined vocabularies and orthographic parameters.
Anagrams are used widely in psychological research. However, generating a range of strings with the same letter content is an inherently difficult and time-consuming task for humans, and current computer-based anagram generators do not provide the controls necessary for psychological research. In this article, we present a computational algorithm that overcomes these problems. Specifically, the algorithm processes automatically each word in a user-defined source vocabulary and outputs, for each word, all possible anagrams that exist as words (or as nonwords, if required) as defined by the same source vocabulary. Moreover, we show how the output of the algorithm can be filtered to produce anagrams within specific user-defined orthographic parameters. For example, the anagrams produced can be filtered to produce words that share, with each other or with other words in the source vocabulary, letters in only certain positions. Finally, we provide free access to the complete Windows-based program and source code containing these facilities for anagram generation.
Jordan
Timothy R
TR
School of Psychology, University of Nottingham, Nottingham, England. trj@psychology.nottingham.ac.uk
Monteiro
Axel
A
D000465:Algorithms; D020407:Internet; D011589:Psychology, Experimental / Q000379:methods*; D014825:Vocabulary