Retrieves the Named Entity Recognition (NER) results.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:DescribeInterventionDictionary |
*InterventionDictionary
|
None | None |
Request syntax
GET /v4/openapi/intervention-dictionaries/{name}/ner-results HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| name |
string |
Yes |
The name of the intervention dictionary. |
my_dict |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| query |
string |
Yes |
The keyword to search for. |
soy milk |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
8F780CA8-D4D4-2FFE-B8AC-42040822C554 |
| result |
array<object> |
The NER results. For more information, see Named Entity Recognition (NER). |
|
|
object |
|||
| tag |
string |
The tag of the detected entity.
|
category |
| token |
string |
The detected entity. |
milk |
| order |
integer |
The ordinal number. |
1 |
| tagLabel |
string |
The label of the tag. |
品类 |
Examples
Success response
JSON format
{
"requestId": "8F780CA8-D4D4-2FFE-B8AC-42040822C554",
"result": [
{
"tag": "category",
"token": "milk",
"order": 1,
"tagLabel": "品类"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.