Search Unity

KeywordRecognizer in other languages

Discussion in 'Windows' started by hitoruna, Aug 30, 2017.

  1. hitoruna

    hitoruna

    Joined:
    Jul 11, 2017
    Posts:
    19
    I have been reading several tutorials (i.e. Hololens Academy with unity ) where they use unity KeywordRecognizer to recognize voice commands. I also read the documentation for this class.
    I tried a program that recognizes commands such as "Reset World" or "Drop Sphere", they work well.

    My question is, how can I use this class to recognize commands in other languages?
     
  2. JPhilipp

    JPhilipp

    Joined:
    Oct 7, 2014
    Posts:
    56
    Just a heads up: KeywordRecognizer does actually use the local operating system language at times, e.g. when listening for "1 2 3" it needs to be spoken German for some German users. I know this because I'm actually facing the opposite problem, in that I want to restrict it to always-English independent of the OS.
     
    rvsc likes this.
  3. rvsc

    rvsc

    Joined:
    Sep 1, 2022
    Posts:
    1
    I changed the computer's language and it really worked. Thanks @JPhillipp