HSK Text Analyser

HSK Text Analyser · Actions GPT

Chinese Text Difficulty Analyzer

Analyzes Simplified Chinese text to evaluate vocabulary level and provide wordlists categorized by HSK levels.

  • POST /chinese/process_text_chAnalyzeHSK

    Analyzes Simplified the provided Chinese text and returns an analysis including vocabulary level and HSK categorized wordlists.

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Chinese Text Difficulty Analyzer",
    "description": "Analyzes Simplified Chinese text to evaluate vocabulary level and provide wordlists categorized by HSK levels.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api2.cathoven.com",
      "description": "Cathoven AI"
    }
  ],
  "paths": {
    "/chinese/process_text_ch": {
      "post": {
        "description": "Analyzes Simplified the provided Chinese text and returns an analysis including vocabulary level and HSK categorized wordlists.",
        "operationId": "AnalyzeHSK",
        "x-openai-isConsequential": false,
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyzeHSKRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful response with text analysis data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnalyzeHSKResponseSchema"
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {
      "AnalyzeHSKRequestSchema": {
        "properties": {
          "text": {
            "type": "string",
            "title": "text",
            "description": "Chinese text to be processed"
          }
        },
        "type": "object",
        "required": [
          "text"
        ],
        "title": "ProcessTextRequestSchema"
      },
      "AnalyzeHSKResponseSchema": {
        "properties": {
          "clean_results": {
            "type": "object",
            "properties": {
              "final_levels_str": {
                "type": "object",
                "properties": {
                  "vocabulary_level": {
                    "type": "string"
                  }
                }
              },
              "wordlists": {
                "type": "object",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "lemma": {
                        "type": "string"
                      },
                      "pos": {
                        "type": "string"
                      },
                      "size": {
                        "type": "integer"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "type": "object"
      }
    }
  },
  "auth": {
    "type": "service_http",
    "authorization_type": "bearer",
    "verification_tokens": {
      "openai": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoyMDE1NDg4OTI3LCJqdGkiOiI4MDcyMjhhZDc0YzU0NDk5ODAwZDgyYzRkMWMyZWI4NCIsInVzZXJfaWQiOjF9.-UacKKem6cayBvRef48Givx7HXs-JtReZ5l0rXdXJA0"
    }
  }
}