# Generated by ShowAPI OpenAPI generator
# source: market/269
# generated-at: 2026-06-28T06:30:41.078Z
openapi: 3.0.3
info:
  title: 中文分词接口
  description: 我们的智能中文分词API采用先进的自然语言处理技术，能够准确地将中文文本切分成有意义的词汇单元。它具备高准确性、灵活性、快速响应和易于集成的特点，适用于需要中文词义分析、推广营销、用户消费捕捉等场景。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /269-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 5
    x-connect-timeout: 5
    post:
      summary: 中文分词接口
      description: 将输入的文本切词，主要功能包括中文分词、词性标注、命名实体识别、新词识别。
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          list:
                            type: string
                            description: 切词数组。
                          ret_code:
                            type: string
                            description: 0为成功，其他失败。
                        description: 业务返回体
      operationId: 269_1_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                text:
                  type: string
                  description: 要切词的整段中文
              required:
                - text
components:
  securitySchemes:
    AppKeyAuth:
      type: apiKey
      in: query
      name: appKey
      description: 从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp
  schemas:
    ShowapiResEnvelope:
      type: object
      description: ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）
      properties:
        showapi_res_code:
          type: integer
          description: API 返回的状态码
        showapi_res_error:
          type: string
          description: API 返回的错误信息
        showapi_res_id:
          type: string
          description: API 请求的唯一标识
        showapi_fee_num:
          type: integer
          description: API 调用计费次数
security:
  - AppKeyAuth: []
externalDocs:
  url: https://www.showapi.com/apiGateway/view/269?tab=book
x-apiCode: "269"
x-is-own: false
x-is-op: true
