Skip to main content

Deprecated Method

When setting both profileId and profileWords simultaneously during a speech recognition session request, the words set in profileWords will be saved to the profile at the end of the session. Although this method can be used to save words to a profile, it is no longer recommended. Instead, please use the User Word Registration API.

grammarFileNames={connection engine name} profileId={profile ID} profileWords={registered word list}

For the format of {word registration list}, please see Request-Based Setting Method.

caution
  • When specifying both profileId and profileWords, always specify profileId first.
  • If you want to save words to a profile, do not add a ":" (colon) at the beginning of the profileId. Adding a colon at the beginning will prevent words from being saved to that profile.
  • Words set in profileWords will replace, not add to, the words in the profile.
  • To delete registered words, specify profileId and set profileWords to a single space character.

Below is an example of setting the profile ID as test and the word "AMI あみ" in profileWords for the "会話_汎用" engine (-a-general):

grammarFileNames=-a-general profileId=test profileWords="AMI あみ"

In this case, after the speech recognition process is completed, "AMI あみ" will be saved to the profile named test.