Updated on 2024-10-12 GMT+08:00

/chatbot/rest/tuc/v1/nlp/detectRegularEntity

Function

Rule (address) entity recognition interface.

Input Parameters

Parameter

Type

Mandatory (Yes/No)

Description

language

String

Yes

Language. The option is zh_CN.

sentence

String

Yes

Recognition text.

Output Parameters

Parameter

Type

Description

addr1

List<String>

User-defined address entity.

addr2

List<String>

User-defined address entity (layer 2).

Request Example

{
   "language": "${language}",
   "sentence": "${sentence}"
}