Is there any working example of DictationRecognizer?
Im trying to use Unity's DictationRecognizer but I can't find any working example, and Unity's site doesn't provide the full code (The variables ENV and Cause doesn't have a declaration).
Does anyone have a working example of either DictationRecognizer o GrammarRecognizer?
And does it work on Android and iOS or it's only a Windows thing?
Thanks!
Answer by iohouse · Sep 14, 2016 at 10:00 AM
DictationRecognizer is implemented in UnityEngine.Windows.Speech. So, that answers your question on if it's only a Windows thing or not. But, specifically, it is a Windows 10 thing.
Unity has provided a working example of Windows DictationRecognizer - as well as some other STT APIs - in their Unity Labs Speech-to-Text package on the Unity Asset Store here: https://www.assetstore.unity3d.com/en/#!/content/69399
The Readme is included in the package but you can also read it here (prior to downloading the package maybe... to see what you're getting into): https://bitbucket.org/Unity-Technologies/speech-to-text
There is also a good write-up on "Speech Recognition and VR" on the Unity Labs site here: https://labs.unity.com/article/speech-recognition-and-vr
Have fun!
Your answer
Follow this Question
Related Questions
Using UnityEngine.Windows.Speech without a live microphone 0 Answers
What if a plugin works on Editor but not on build? 0 Answers
output_log.txt not being created in 5.4.0f3 standalone builds 4 Answers
5.5: Unity/local.xxxx/Analytics folder appearing in Persistent Data Path directory (windows) 0 Answers