Mnemonic device generator