自然语言处理

自然语言处理

官方自营

自然语言处理(Natural Language Processing)是帮助用户高效处理文本的人工智能技术,这项技术可以帮助用户进行舆情内容识别,情感属性量化分析,电商领域文本翻译,文本关键信息抽取,文本快速分类,词性语法分析,相似度检测等。

已选规格
50.00
自购买起有效期 12 个月
专用资源包
支持通用资源包:充值通用资源包后可直接调用含本接口在内的全站付费接口,无需单独购买专用资源包去充值 ›
分词
接入点说明
能够识别出文本串中的基本词汇,并标注词性
接口地址
https://route.showapi.com/1750-1?appKey={your_appKey}查看密钥调用帮助
返回格式JSON
请求方式POST/GET
请求参数
Header 参数
Post 表单
返回参数
该接口返回经 showapi_res_body 系统封装,业务数据均位于该对象内;系统级字段见
返回体
cURL
curl -X POST "https://route.showapi.com/1750-1?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -d "text=%E5%85%AC%E5%8F%B8%E6%A0%B8%E5%BF%83%E4%BA%A7%E5%93%81%E2%80%9C%E4%B8%87%E7%BB%B4%E6%98%93%E6%BA%90%E2%80%9D%EF%BC%8C%E6%84%8F%E6%8C%87%E5%AE%B9%E6%98%93%E8%8E%B7%E5%8F%96%E7%9A%84%E6%95%B0%E6%8D%AE%E6%BA%90%E3%80%82%E8%B5%84%E6%BA%90%E5%9C%A8%E7%BD%91%E7%BB%9C%E4%B8%8A%E6%9C%80%E7%BB%88%E7%9A%84%E5%B1%95%E7%8E%B0%E5%BD%A2%E5%BC%8F%E6%98%AF%E6%8E%A5%E5%8F%A3%EF%BC%8C%E5%B0%86%E6%8E%A5%E5%8F%A3%E7%BA%B3%E5%85%A5%E7%BB%9F%E4%B8%80%E7%9A%84%E6%8E%A5%E5%8F%A3%E6%B1%A0%EF%BC%8C%E5%B9%B6%E9%85%8D%E4%BB%A5%E7%BB%9F%E4%B8%80%E7%9A%84%E8%AE%BF%E9%97%AE%E5%92%8C%E6%8E%A7%E5%88%B6%E6%96%B9%E5%BC%8F%E4%B9%9F%E5%B0%B1%E6%9C%80%E5%A4%A7%E9%99%90%E5%BA%A6%E5%9C%B0%E6%89%93%E7%A0%B4%E4%BA%86%E8%B5%84%E6%BA%90%E5%A3%81%E5%9E%92%E3%80%82"
返回示例
JSON
{
	"showapi_res_code": 0,
	"showapi_res_error": "",
	"showapi_res_id":"ce135f6739294c63be0c021b76b6fbff",
    "showapi_res_body": {
		"remark": "查询成功!",
    "data": {
      "items": [
        {
          "byte_offset": 0,
          "item": "异乡",
          "basic_words": [
            "异乡"
          ],
          "ne": "",
          "pos": "n",
          "byte_length": 4,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 4,
          "item": "的",
          "basic_words": [
            "的"
          ],
          "ne": "",
          "pos": "u",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 6,
          "item": "过客",
          "basic_words": [
            "过客"
          ],
          "ne": "",
          "pos": "n",
          "byte_length": 4,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 10,
          "item": "啊",
          "basic_words": [
            "啊"
          ],
          "ne": "",
          "pos": "xc",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 12,
          "item": ",",
          "basic_words": [
            ","
          ],
          "ne": "",
          "pos": "w",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 14,
          "item": "请",
          "basic_words": [
            "请"
          ],
          "ne": "",
          "pos": "v",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 16,
          "item": "带",
          "basic_words": [
            "带"
          ],
          "ne": "",
          "pos": "v",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 18,
          "item": "话",
          "basic_words": [
            "话"
          ],
          "ne": "",
          "pos": "n",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 20,
          "item": "给",
          "basic_words": [
            "给"
          ],
          "ne": "",
          "pos": "v",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 22,
          "item": "斯巴达",
          "basic_words": [
            "斯巴达"
          ],
          "ne": "",
          "pos": "ns",
          "byte_length": 6,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 28,
          "item": "人",
          "basic_words": [
            "人"
          ],
          "ne": "",
          "pos": "n",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 30,
          "item": ",",
          "basic_words": [
            ","
          ],
          "ne": "",
          "pos": "w",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 32,
          "item": "说",
          "basic_words": [
            "说"
          ],
          "ne": "",
          "pos": "v",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 34,
          "item": "我们",
          "basic_words": [
            "我们"
          ],
          "ne": "",
          "pos": "r",
          "byte_length": 4,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 38,
          "item": "踏实",
          "basic_words": [
            "踏实"
          ],
          "ne": "",
          "pos": "a",
          "byte_length": 4,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 42,
          "item": "地",
          "basic_words": [
            "地"
          ],
          "ne": "",
          "pos": "u",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 44,
          "item": "履行",
          "basic_words": [
            "履行"
          ],
          "ne": "",
          "pos": "v",
          "byte_length": 4,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 48,
          "item": "了",
          "basic_words": [
            "了"
          ],
          "ne": "",
          "pos": "u",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 50,
          "item": "诺言",
          "basic_words": [
            "诺言"
          ],
          "ne": "",
          "pos": "n",
          "byte_length": 4,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 54,
          "item": ",",
          "basic_words": [
            ","
          ],
          "ne": "",
          "pos": "w",
          "byte_length": 2,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 56,
          "item": "长眠",
          "basic_words": [
            "长眠"
          ],
          "ne": "",
          "pos": "v",
          "byte_length": 4,
          "formal": "",
          "loc_details": [],
          "uri": ""
        },
        {
          "byte_offset": 60,
          "item": "在这里",
          "basic_words": [
            "在",
            "这里"
          ],
          "ne": "",
          "pos": "d",
          "byte_length": 6,
          "formal": "",
          "loc_details": [],
          "uri": ""
        }
      ],
      "text": "异乡的过客啊,请带话给斯巴达人,说我们踏实地履行了诺言,长眠在这里"
    },
    "ret_code": 0
	}
}
MCP 服务集成接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。

MCP JSON
{
  "mcpServers": {
    "showapi-mcp-1750": {
      "url": "http://www.showapi.com.cn/mcp/1750/{your_appKey}"
    }
  }
}
OpenAPI 文档接口级

标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。