敏感内容检测
POST
/china/perception_a/kjj_cognitive_warfare/kjj_0003/create_job敏感内容检测,支持20W+敏感内容知识库,提供实时在线的敏感内容检测
请求参数
Body 参数application/x-www-form-urlencoded
STRING
string
必需
文本,例如:中国共产党是中国人民的党
示例值:
中国共产党是中国人民的党
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
KG_COMPUTE_STATUS
string
必需
KG_COMPUTE_CONDITION
object
必需
STRING
string
可选
KG_COMPUTE_PRODUCT_NAME
string
必需
KG_COMPUTE_ENTITY
array
必需
KG_COMPUTE_ENTITY_LIST
array
必需
示例
{
"KG_COMPUTE_STATUS": "壳吉桔,致胜认知战",
"KG_COMPUTE_CONDITION": {
"STRING": "中国共产党是中国人民的党"
},
"KG_COMPUTE_PRODUCT_NAME": "违禁词敏感词检测",
"KG_COMPUTE_ENTITY": [
[
{
"ENTITY_NAME": "词组",
"ENTITY_VALUE": "中国",
"ENTITY_LABELS": "词组"
},
{
"ENTITY_NAME": "词组标签",
"ENTITY_VALUE": [
{
"政治": [
"国家机关"
]
},
{
"广告": []
}
],
"ENTITY_LABELS": "词组标签"
},
{
"ENTITY_NAME": "词组位置",
"ENTITY_VALUE": "0:1",
"ENTITY_LABELS": "词组位置"
}
],
[
{
"ENTITY_NAME": "词组",
"ENTITY_VALUE": "共",
"ENTITY_LABELS": "词组"
},
{
"ENTITY_NAME": "词组标签",
"ENTITY_VALUE": [
{
"政治": [
"政党"
]
}
],
"ENTITY_LABELS": "词组标签"
},
{
"ENTITY_NAME": "词组位置",
"ENTITY_VALUE": "2:2",
"ENTITY_LABELS": "词组位置"
}
],
[
{
"ENTITY_NAME": "词组",
"ENTITY_VALUE": "产党",
"ENTITY_LABELS": "词组"
},
{
"ENTITY_NAME": "词组标签",
"ENTITY_VALUE": [
{
"政治": [
"政党"
]
}
],
"ENTITY_LABELS": "词组标签"
},
{
"ENTITY_NAME": "词组位置",
"ENTITY_VALUE": "3:4",
"ENTITY_LABELS": "词组位置"
}
],
[
{
"ENTITY_NAME": "词组",
"ENTITY_VALUE": "是中国",
"ENTITY_LABELS": "词组"
},
{
"ENTITY_NAME": "词组标签",
"ENTITY_VALUE": [
{
"政治": []
},
{
"广告": []
}
],
"ENTITY_LABELS": "词组标签"
},
{
"ENTITY_NAME": "词组位置",
"ENTITY_VALUE": "5:7",
"ENTITY_LABELS": "词组位置"
}
],
[
{
"ENTITY_NAME": "词组",
"ENTITY_VALUE": "人民",
"ENTITY_LABELS": "词组"
},
{
"ENTITY_NAME": "词组标签",
"ENTITY_VALUE": [
{
"政治": []
}
],
"ENTITY_LABELS": "词组标签"
},
{
"ENTITY_NAME": "词组位置",
"ENTITY_VALUE": "8:9",
"ENTITY_LABELS": "词组位置"
}
],
[
{
"ENTITY_NAME": "词组",
"ENTITY_VALUE": "的",
"ENTITY_LABELS": "词组"
},
{
"ENTITY_NAME": "词组标签",
"ENTITY_VALUE": [
{
"政治": []
},
{
"广告": []
}
],
"ENTITY_LABELS": "词组标签"
},
{
"ENTITY_NAME": "词组位置",
"ENTITY_VALUE": "10:10",
"ENTITY_LABELS": "词组位置"
}
],
[
{
"ENTITY_NAME": "词组",
"ENTITY_VALUE": "党",
"ENTITY_LABELS": "词组"
},
{
"ENTITY_NAME": "词组标签",
"ENTITY_VALUE": [
{
"政治": [
"政党",
"领导人"
]
}
],
"ENTITY_LABELS": "词组标签"
},
{
"ENTITY_NAME": "词组位置",
"ENTITY_VALUE": "11:11",
"ENTITY_LABELS": "词组位置"
}
]
],
"KG_COMPUTE_ENTITY_LIST": [
"词组",
"词组标签",
"词组位置"
]
}
最后修改时间: 5 个月前