device for encoding Synonyms