The “millenium1” voice input mode allows performing a voice input transaction expecting two pairs of digits.
The user should say in the same sentence two numbers from 00 to 99 each. I/e: “twelve, forty eight” for 1248.
If the number is lower then 10, the leading zero will be announced: I/e: “zero one, nineteen” for 0119.
The output is done
Some pronunciation examples:
- 5602, “fifty-six, zero two”
- 4812, “forty-eight, twelve”
- 0102, “zero one, zero two”
- 0000, “zero zero, zero zero”
- 9954, “ninety-nine, fifty-four”
A check of the content can be done through the “Expected” option, that will contain four values (of two digits each) as “Min1-Max1,Min2-Max2”.
- Min1, the minimum value of the first couple of digits.
- Max1, the maximum value of the first couple of digits.
- Min2, the minimum value of the second couple of digits.
- Max2, the maximum value of the second couple of digits.
To allow all the possible combinations, the configuration should be: “Expected=00-99,00-99”
I/e: If you wish to input a date as “Month-day”, the configuration should be: “Expected=01-12,01-31”. In this way, you can restrict the input to valid month and days (of course the input will not check that February has 28 days…).
The associated grammar in the “bnf” file is “<millenium1>”.