文本相似度
检测两段文本的相似程度
GET
https://www.pa95.com/API/text_similarity.php
请求方式
GET
返回格式
application/json
调用方式
免费公开
调用次数
22 次
请求示例
https://www.pa95.com/API/text_similarity.php?text1=hello&text2=hello
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| text1 | string | 必填 | 文本1 |
| text2 | string | 必填 | 文本2 |
返回示例
{
"code": 200,
"data": {
"message": "请求成功",
"endpoint": "text_similarity"
}
}
在线调试
相关接口