I need to convert a written number into an integer value. So, if I type twenty fourteen or two thousand fourteen, I should be able to interpret it as 2014 in my function. I have tried AMAZON.DATE and AMAZON.NUMBER which do not work satisfactorily.
Asked
Active
Viewed 83 times
0
-
To be clear, the year is being recognized, but you either need a library to convert the spoken number text to a number or a slot that recognizes a year and returns a number, correct? – Jim Rush Oct 28 '16 at 20:59
-
Yes, i found out the solution in one of the Amazon's built in slot type. – Ishan Mihir Feb 15 '17 at 06:43
1 Answers
0
Found out the solution, Amazon provides a built in slot type AMAZON.FOUR_DIGIT_NUMBER which solved my purpose.

Ishan Mihir
- 83
- 2
- 9