Automatic word and phrase substitution for simple codes