更新时间:2020-07-14 22:25
实体识别:获取推荐的实体类型重要性设置
GET
/v4/openapi/query-processor/ner/default-priorities
字段 | 类型 | 是否必要 | 示例值 | 描述 |
---|---|---|---|---|
domain | String | 否 | “ECOMMERCE” | 行业类型 - ECOMMERCE 电商行业 |
字段 | 类型 | 描述 |
---|---|---|
requestId | String | 请求ID |
result[] | Object | 实体类型重要性设置 参考:实体类型重要性设置 |
GET /v4/openapi/query-processor/ner/default-priorities?domain=ECOMMERCE
正确返回
{
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"result": [
{
"tag": "brand",
"priority": "HIGH",
"order": 1,
"label": "品牌"
},
{
"tag": "category",
"priority": "HIGH",
"order": 2,
"label": "品类"
},
{
"tag": "material",
"priority": "MIDDLE",
"order": 3,
"label": "材质"
},
{
"tag": "element",
"priority": "MIDDLE",
"order": 4,
"label": "款式元素"
},
{
"tag": "style",
"priority": "MIDDLE",
"order": 5,
"label": "风格"
},
{
"tag": "color",
"priority": "MIDDLE",
"order": 6,
"label": "颜色"
},
{
"tag": "function",
"priority": "MIDDLE",
"order": 7,
"label": "功能功效"
},
{
"tag": "scenario",
"priority": "MIDDLE",
"order": 8,
"label": "场景"
},
{
"tag": "people",
"priority": "MIDDLE",
"order": 9,
"label": "人群"
},
{
"tag": "season",
"priority": "MIDDLE",
"order": 10,
"label": "时间季节"
},
{
"tag": "model",
"priority": "MIDDLE",
"order": 11,
"label": "型号"
},
{
"tag": "region",
"priority": "MIDDLE",
"order": 12,
"label": "地点地域"
},
{
"tag": "name",
"priority": "MIDDLE",
"order": 13,
"label": "人名"
},
{
"tag": "adjective",
"priority": "MIDDLE",
"order": 14,
"label": "修饰"
},
{
"tag": "category-modifier",
"priority": "MIDDLE",
"order": 15,
"label": "品类修饰词"
},
{
"tag": "size",
"priority": "LOW",
"order": 16,
"label": "尺寸规格"
},
{
"tag": "quality",
"priority": "LOW",
"order": 17,
"label": "品质成色"
},
{
"tag": "suit",
"priority": "LOW",
"order": 18,
"label": "套装"
},
{
"tag": "new-release",
"priority": "LOW",
"order": 19,
"label": "新品"
},
{
"tag": "series",
"priority": "LOW",
"order": 20,
"label": "系列"
},
{
"tag": "marketing",
"priority": "LOW",
"order": 21,
"label": "营销服务"
},
{
"tag": "entertainment",
"priority": "LOW",
"order": 22,
"label": "文娱书文曲"
},
{
"tag": "organization",
"priority": "LOW",
"order": 23,
"label": "机构实体"
},
{
"tag": "movie",
"priority": "LOW",
"order": 24,
"label": "影视名称"
},
{
"tag": "game",
"priority": "LOW",
"order": 25,
"label": "游戏名称"
},
{
"tag": "number",
"priority": "LOW",
"order": 26,
"label": "数字"
},
{
"tag": "unit",
"priority": "LOW",
"order": 27,
"label": "单位"
},
{
"tag": "common",
"priority": "LOW",
"order": 28,
"label": "普通词"
},
{
"tag": "new-word",
"priority": "LOW",
"order": 29,
"label": "新词"
},
{
"tag": "proper-noun",
"priority": "LOW",
"order": 30,
"label": "专有名词"
},
{
"tag": "symbol",
"priority": "LOW",
"order": 31,
"label": "符号"
},
{
"tag": "prefix",
"priority": "LOW",
"order": 32,
"label": "前缀"
},
{
"tag": "suffix",
"priority": "LOW",
"order": 33,
"label": "后缀"
},
{
"tag": "gift",
"priority": "LOW",
"order": 34,
"label": "赠送"
},
{
"tag": "negative",
"priority": "LOW",
"order": 35,
"label": "否定"
},
{
"tag": "agent",
"priority": "LOW",
"order": 36,
"label": "代理"
}
]
}
错误返回
参考:响应结构
在文档使用中是否遇到以下问题
更多建议
匿名提交