Author Topic: Trouble with zeroes  (Read 1383 times)

errspace

  • Guest
Trouble with zeroes
« on: March 23, 2019, 08:45:30 AM »
How do people handle zeroes in commands which process numbers? I am having trouble getting VA to recognise them, and I'm not sure if I should be identifying them in my commands as '0' or 'zero,' or something else, or if it makes no difference.

I am trying to processes a spoken radio frequency (a 3-digit prefix and 3-digit suffix), and VA recognises the command fine when there are no zeroes involved. If there is a zero it either mis-hears the number, or it hears the number correctly but for some reason doesn't do anything.

So 'radio frequency 125' is recognised, but 'radio frequency 120' gives 'unrecognised: 'radio frequency 120''. Even saying 'zero' results in 'unrecognised: zero.' So it seems to understand me, but for some reason it isn't being processed as a command. I have tried specific handling for '0' and 'zero,' or using an OR conditional that looks for both possibilities, but it never works. I have also trained WSR for how I say zero, in case it's weird. I don't know what else to do.

Edit: lol, I just added '0' to my WSR dictionary (having already added 'zero') and it's fine now. Leaving this in case anyone else has this problem.