每次请求API接口:0.00000 元
接口地址:https://api.xiaotuo.net/api.php?act=Api_send&id=112
返回格式:json
请求方式:GET
请求示例:https://api.xiaotuo.net/api.php?act=Api_send&id=112&apikey=你开通的apikey&text=要分词的内容&type=分词方式,默认nlp,支持nlp,crf,nostopword,index,short,nshort,speed,standard
| 名称 | 必填 | 类型 | 说明 |
|---|---|---|---|
| apikey | 是 | string | 你开通的apikey |
| text | 是 | string | 要分词的内容 |
| type | 否 | string | 分词方式,默认nlp,支持nlp,crf,nostopword,index,short,nshort,speed,standard |
| 名称 | 类型 | 说明 |
|---|---|---|
| text | string | 分词 |
| nature | string | 词性 |
{
"request_id": "828268380683509760",
"success": true,
"message": "success",
"code": 200,
"data": [
{
"text": "第三",
"nature": "m"
},
{
"text": "方",
"nature": "q"
},
{
"text": "噶",
"nature": "v"
},
{
"text": "等",
"nature": "u"
},
{
"text": "哈",
"nature": "j"
},
{
"text": "时空",
"nature": "n"
},
{
"text": "裂痕",
"nature": "n"
},
{
"text": "打卡机",
"nature": "n"
},
{
"text": "撒刚",
"nature": "d"
},
{
"text": "发",
"nature": "v"
},
{
"text": "刷卡机",
"nature": "n"
}
],
"time": 1758434570,
"usage": 0
}
| 错误码 | 说明 |
|---|---|
| 100 | 您的apikey值为空! |
| 101 | 您的apikey值不存在! |
| 102 | 当前来源地址不在白名单内! |
| 103 | 当前接口为实名认证后可用,请您先进行实名! |
| 104 | 当前接口为企业认证后可用,请您先进行企业认证! |
| 105 | 当前接口未通过审核或已停止运营! |
| 106 | 您的余额不足,请及时充值! |
| 107 | 您当前的接口免费期限已过期,请及时续费! |
| 108 | 您的点数包已用完,请及时充值! |
| 109 | 您的账号已被封禁,不可使用任何接口! |