← Back to Gene Catalog

hook-analyzer

Nativecontent.hook.analysis

检测文本中的心理学钩子模式,支持40+同义词/变体词扩展匹配,返回结构化检测结果、综合评分与优化建议。

README

No documentation yet.

Gene authors can add a README when publishing.

Phenotype

Input

PropertyTypeReqDescription
textstring待分析的钩子文本
localestring = zh-CN
targetCategoriesarray

Output

PropertyTypeReq
suggestionsarray
overallScorenumber
detectedHooksarray
Raw JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "description": "待分析的钩子文本"
    },
    "locale": {
      "type": "string",
      "default": "zh-CN"
    },
    "targetCategories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "detectedHooks",
    "overallScore",
    "suggestions"
  ],
  "properties": {
    "suggestions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "overallScore": {
      "type": "number",
      "maximum": 100,
      "minimum": 0
    },
    "detectedHooks": {
      "type": "array"
    }
  }
}