Author Topic: Recognizing Japanese sentences  (Read 1991 times)

cube611

  • Guest
Recognizing Japanese sentences
« on: April 20, 2019, 07:09:13 AM »
Hello, I'm using VA with HCS voice pack Alix and custom voice triggers
As the subject says, I'm trying to use VA with Japanese voice recognition function.
On VA, my voice is recognized as Japanese characters.
Using single command with Japanese is working well. VA accepts Japanese sentence and do its job.
But when I use multiple commands in single line, such as "Disengage supercruise, on my mark", this does not work.
System log in VA shows correct sentence,which I said in Japanese, but VA says "Unrecognized".

Here is an example image: https://imgur.com/a/lEAz3Fm

Is there any fix for this? or should I wait patch? Maybe, I should practice English pronunciation... (but Ls and Rs...)
If information about Japanese language or my setting is needed, please let me know.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Recognizing Japanese sentences
« Reply #1 on: April 20, 2019, 07:20:43 AM »
I'm not personally familiar with HCS's products, but if this "Customiser" allows you to input custom phrases, have you tried removing that space?

cube611

  • Guest
Re: Recognizing Japanese sentences
« Reply #2 on: April 20, 2019, 10:37:30 AM »
I'm not personally familiar with HCS's products, but if this "Customiser" allows you to input custom phrases, have you tried removing that space?
Yes, I removed spaces in "Customiser" but still it gets space in phrases which triggers a command. This does not matter which language you use. I'm setting like this.
{TXT:hcsvt_StandBy}'Japanese word here'{TXT:hcsvt_OnMyMark};

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Recognizing Japanese sentences
« Reply #3 on: April 22, 2019, 09:01:40 PM »
VoiceAttack does add in spaces between dynamic command sections, if you're using those(or this "Customiser" does).

E.G. "{TXT:hcsvt_StandBy}'Japanese word here'{TXT:hcsvt_OnMyMark}" should not have any spaces in the final phrase, but "{TXT:hcsvt_StandBy}'Japanese word here'[{TXT:hcsvt_OnMyMark};On my mark]" would have one before "on my mark".

cube611

  • Guest
Re: Recognizing Japanese sentences
« Reply #4 on: April 24, 2019, 07:37:52 AM »
VoiceAttack does add in spaces between dynamic command sections, if you're using those(or this "Customiser" does).

E.G. "{TXT:hcsvt_StandBy}'Japanese word here'{TXT:hcsvt_OnMyMark}" should not have any spaces in the final phrase, but "{TXT:hcsvt_StandBy}'Japanese word here'[{TXT:hcsvt_OnMyMark};On my mark]" would have one before "on my mark".

Does that mean I should not use dynamic commands in current VA version?
If dynamic commands are adding spaces, it will not work with Japanese language since the language does not use spaces at all.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Recognizing Japanese sentences
« Reply #5 on: April 24, 2019, 09:44:08 AM »
That would be the only way to do this currently. 

I can add an option to a later release to not regulate spacing.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Recognizing Japanese sentences
« Reply #6 on: April 24, 2019, 07:46:35 PM »
I added a command-line parameter called, '-nodynamicspace' that will prevent a space from being placed between words in a dynamic phrase.  I'm unable to test whether or not this works for your situation, however.

Once the VoiceAttack main site is finished being restored, I will try to get out the next beta version of VA which this will contain.  I've left it undocumented for now, since I don't know whether or not it will stay (if it works for you, it will stay ;)).

cube611

  • Guest
Re: Recognizing Japanese sentences
« Reply #7 on: April 24, 2019, 09:02:40 PM »
I added a command-line parameter called, '-nodynamicspace' that will prevent a space from being placed between words in a dynamic phrase.  I'm unable to test whether or not this works for your situation, however.

Once the VoiceAttack main site is finished being restored, I will try to get out the next beta version of VA which this will contain.  I've left it undocumented for now, since I don't know whether or not it will stay (if it works for you, it will stay ;)).

Thank you! :D
I'm gonna test the command-line option when it's released on beta branch. This will help lots of Japanese users and (hopefully) Chinese users!