Hi - utterances for my skill include a for date - month, day and year. AMAZON.DATE seems to work only when you say the name of the month, and the full year. In other words you have to say "December thirty first, nineteen ninety six" - you can't say "twelve thirty-one ninety-six". I'd like to implement support for the latter, if I can, and am looking for suggestions as to how to do so.
1. I've tried creating slots of type AMAZON.NUMBER for the month, day and year, and using the sample utterance: myIntent the date is {month}{day}{year}.
This won't even save/compile - I get an error saying the sample utterance is invalid.
2. I've tried using a single AMAZON.NUMBER slot for the whole date: myIntent the date is {numericDate}
This sort of works - "twelve thirty one ninety six" correctly gives me a slot value of 123196. The problem is, I can't always accurately parse that result. 11/1/96 would give me 11196, for example. Is that November 1 or Jan 11?
3. I've tried a custom slot, "date" with values of 1 through 99, and sample utterance: myIntent the date is {date}
In this case "twelve thirty one ninety six" returns "12 3,196". I don't think I can use that.
4. My next attempt will be to try to do something with AMAZON.LITERAL, though I've never used that. Not sure how it will go.
Thanks for any suggestions...
Scott