Learn
Use Synonyms in Voice Interaction
Review

Nice work! You just learned how you can use synonyms to allow a user to speak in a natural way.

Let’s review what we learned:

  • Using synonyms is a great way to improve the voice design of your Alexa skill, and add flexibility to the user interaction.
  • You add synonyms for your slots through the Skill Builder on Amazon Developer Console.
  • The synonym and the resolved value are passed to your skill through the JSON request.
  • If what the user said is successfully matched to one of the synonyms, the resolutions node in the JSON request contains the status code of ER_SUCCESS_MATCH.
  • If what the user said is not successfully matched to any of the synonyms, the resolutions node in the JSON request contains the status code of ER_SUCCESS_NO_MATCH.
  • ER in ER_SUCCESS_MATCH stands for Entity Resolution.
  • Alexa’s Entity Resolution allows us to create synonyms for our slot values so that we can receive consistent data in our code, but still allows a user to speak in the way that makes sense for them.
Folder Icon

Take this course for free

Already have an account?