We do not currently know of any synonyms for sweet william.
The noun sweet william is defined as:
A flowering plant, Dianthus barbatus, in the family Caryophyllaceae, native to the mountains of southern Europe from the Pyrenees east to the Carpathians and the Balkans.