Replace words with different synonyms and print each combination in a text file

How are you sourcing your synonims are you using a dictionary of sort?