Hello,
I understand how synonyms work. I saw below example
question: do you like ice hockeyresponse: Yes, I like ice hockey.required: like hockey
and then in synonyms file
word: likesynonyms: love luv play