If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead.
If you are using Amazon Lex V1, we recommend upgrading your bots to Amazon Lex V2. We are no longer adding new features to V1 and strongly recommend using V2 for all new bots.
AMAZON.SpeedUnit
Converts words that represent speed units into the
corresponding abbreviation. For example, "miles per hour" is
converted to mph
.
This slot type is available only in the English (US) (en-US) locale.
The following examples show how the
AMAZON.SpeedUnit
slot type captures speed
units.
Speed unit | Abbreviation |
---|---|
miles per hour, mph, MPH, m/h |
mph |
kilometers per hour, km per hour, kmph, KMPH, km/h |
kmph |
meters per second, mps, MPS, m/s |
mps |
nautical miles per hour, knots, knot | knot |