title | titleSuffix | description | ms.author | author | manager | ms.service | ms.subservice | ms.topic | ms.date |
---|---|---|---|---|---|---|---|---|---|
Ordinal Prebuilt entity - LUIS |
Azure AI services |
This article contains ordinal prebuilt entity information in Language Understanding (LUIS). |
aahi |
aahill |
nitinme |
azure-ai-language |
azure-ai-luis |
reference |
01/19/2024 |
[!INCLUDE deprecation notice]
Ordinal number is a numeric representation of an object inside a set: first
, second
, third
. Because this entity is already trained, you do not need to add example utterances containing ordinal to the application intents. Ordinal entity is supported in many cultures.
Ordinal is managed from the Recognizers-text GitHub repository
The following entity objects are returned for the query:
Order the second option
The following JSON is with the verbose
parameter set to false
:
"entities": {
"ordinal": [
2
]
}
The following JSON is with the verbose
parameter set to true
:
"entities": {
"ordinal": [
2
],
"$instance": {
"ordinal": [
{
"type": "builtin.ordinal",
"text": "second",
"startIndex": 10,
"length": 6,
"modelTypeId": 2,
"modelType": "Prebuilt Entity Extractor",
"recognitionSources": [
"model"
]
}
]
}
}
The following example shows the resolution of the builtin.ordinal entity.
"entities": [
{
"entity": "second",
"type": "builtin.ordinal",
"startIndex": 10,
"endIndex": 15,
"resolution": {
"value": "2"
}
}
]
Learn about the OrdinalV2, phone number, and temperature entities.