Enabling Japanese for Speech Profiling
To enable prototyping of Japanese speech, you must override the default access control to gain access to the ja-JP speech recognizer object. You can do this either by creating a chicken bit file or by adding files to the SystemOS drive on the development console.
Important In rare instances, overriding the default access control can cause applications that do not support Japanese to crash. Of the two procedures, creating a chicken bit file is less likely to cause a crash.
To enable Japanese speech prototyping by creating a chicken bit file
- At an Xbox One XDK command prompt, issue the following commands:
echo . > %temp%\AllowAllSpeechLanguagesForAllCallers
xbcp %temp%\AllowAllSpeechLanguagesForAllCallers xd:\
- In
AppXManifest.xml, set the speech pipeline version to “1.14.7”.
- Access the Japanese recognizer through the SpeechRecognizerFactory.CreateSpeechRecognizerForLocale method or the InstalledSpeechRecognizers.All property.
To enable Japanese speech prototyping by adding files to the SystemOS drive on the development console
- Create the following two files on your computer. The file contents do not matter; the size of the files can be zero bytes.
d:\UseCurrentSpeechVersionForAllCallers
d:\AllowAllSpeechLanguagesForAllCallers
- Copy the created files to the root directory of the SystemOS drive on the development console by calling File Copy (xbcp.exe).
xbcp /x/system<file> xd:\
- Access the Japanese recognizer through the SpeechRecognizerFactory.CreateSpeechRecognizerForLocale method or the InstalledSpeechRecognizers.All property.