{
    "extractype": {
        "describe": "抽取类型打分",
        "common": {
            "title": 2,
            "table": 3,
            "colon": 3,
            "space": 3,
            "regexp": 2,
            "kvweight": 1
        },
        "fields": {
            "projectname": {
                "title": 1,
                "table": 3,
                "colon": 3,
                "space": 3,
                "regexp": 1,
                "kvweight": 1
            },
            "winner": {
                "table": 3,
                "colon": 3,
                "space": 3,
                "regexp": 2,
                "winnerorder": 3,
                "kvweight": 1
            },
            "projectcode": {
                "table": 3,
                "colon": 3,
                "space": 3,
                "regexp": 3,
                "winnerorder": 3,
                "kvweight": 1
            },
            "buyertel": {
                "table": 3,
                "colon": 3,
                "space": 3,
                "regexp": 2,
                "kvweight": 5
            },
            "bidamount": {
                "table": 3,
                "colon": 2,
                "space": 2,
                "regexp": 2,
                "kvweight": 1
            }
        }
    },
    "other": {
        "block": {
            "describe": "块属性基础分值",
            "score": 0.5
        },
        "repeat": {
            "describe": "重复项：分值*重复次数",
            "score": 0.1
        }
    },
    "projectname": {
        "type": "string",
        "positivewords": [
            {
                "describe": "以*结尾",
                "regstr": ".{2,100}(项目|工程|施工|服务|设备|采购|设计|系统)$",
                "score": 2
            }
        ],
        "negativewords": [
            {
                "describe": "以*开头",
                "regstr": "^(\\[|【)",
                "score": -2
            },
            {
                "describe": "以*结尾",
                "regstr": ".{2,100}(的|招标|公示|公告|谈判|公开|通知|采购文件|交易中心|\\d#)$",
                "score": -5
            },
            {
                "describe": "包含词",
                "regstr": "(万元|本项目|详见公告)",
                "score": -10
            },
            {
                "describe": "纯数字字母标点",
                "regstr": "^[0-9a-zA-Z-]*$",
                "score": -10
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    3,
                    -5
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    3,
                    5,
                    -2
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    5,
                    10,
                    1
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    10,
                    35,
                    2
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    35,
                    60,
                    1
                ]
            },
            {
                "describe": "[gt,∞,score]",
                "range": [
                    60,
                    -1,
                    -2
                ]
            }
        ]
    },
    "buyer": {
        "type": "string",
        "positivewords": [
            {
                "describe": "以*结尾",
                "regstr": ".{2,100}(委员会|中心|分校|办公室|学校|幼儿园|动物园|管理站|图书馆|殡仪馆|博物馆|基地|青年宫|少年宫|艺术宫|电视台|协会|政府|初中|集团|银行|[大中小]学|院|厂|店|段|场|社|室|部|厅|局|处|所|队|公司|监狱|监测站|血站|检查站)$",
                "score": 3
            }
        ],
        "negativewords": [
            {
                "describe": "包含负分",
                "regstr": "(标人|附件|委托|认证|代理|咨询|顾问|管理有限公司|管理顾问|招标失败|交易中心|不足|公告|变更|招标|废标|废止|流标|中标|评标|开标|供应商|金额|万元|元整|预算|报价|单价|第(\\d|一|二|三|四|五)(名|包)|排名|候选|确定|标段|(标|一|二|三|四|五)包|中选|成交|包号|(A|B|C|D|E|F|G)包|地址|详情|要求|推荐|名称|评审|得分|合同|平方米|公示期|结果|备注|说明|单位|代表|委托|工作日|营业(执|期)|通过|代码|电话|联系|条件|合理|费率|以上|以下|拟定|为|注：|\\d[\\s]{0,10}(\\.|元|包|米|平米|平方米|吨|辆|千克|克|毫克|毫升|公升|套|件|瓶|箱|只|台|年|月|日|天|号)|(:|：|；|;|？|￥|\\*|%)|^[a-zA-Z0-9-]{5,100}|^[a-zA-Z0-9-]{1,100}$|[a-zA-Z0-9-]{10,100})",
                "score": -5
            },
            {
                "describe": "包含负分不再展示",
                "regstr": "(详见|提出|面向|施工)",
                "score": -50
            },
            {
                "describe": "一个字或者两个字不再显示",
                "regstr": "^[\\s]*[\\u4e00-\\u9fa5]{1,2}[\\s]*$",
                "score": -50
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    3,
                    -5
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    3,
                    25,
                    3
                ]
            },
            {
                "describe": "[gt,∞,score]",
                "range": [
                    25,
                    -1,
                    -1
                ]
            }
        ]
    },
    "winner": {
        "type": "string",
        "positivewords": [
            {
                "describe": "以*结尾",
                "regstr": ".{2,100}(集团|公司|学校|中心|家具城|门诊|\\[大中小\\]学|部|院|局|厂|店|所|队|社|室|厅|段|会|场|行)$",
                "score": 3
            }
        ],
        "negativewords": [
            {
                "describe": "包含负分",
                "regstr": "(定标|通知|异议|要求|详细|意见|原因|具体|结果|负责|付款|附件|候选|招标失败|注册表|交易中心|序号内容|不足|公告|变更|采购|招标|废标|废止|流标|中标|投标|评标|开标|供应商|金额|万元|元整|预算|报价|单价|第(\\d|一|二|三|四|五)(名|包)|排名|候选|确定|标段|(标|一|二|三|四|五)包|中选|成交|包号|(A|B|C|D|E|F|G)包|地址|详情|要求|推荐|名称|评审|得分|合同|平方米|公示期|结果|备注|说明|单位|代表|委托|工作日|营业(执|期)|通过|代码|电话|联系|条件|合理|费率|以上|以下|拟定|为|注：|\\d[\\s]{0,10}(\\.|元|包|米|平米|平方米|吨|辆|千克|克|毫克|毫升|公升|套|件|瓶|箱|只|台|年|月|日|天|号)|(:|：|；|;|？|￥|\\*|%)|^[a-zA-Z0-9-]{5,100}|^[a-zA-Z0-9-]{1,100}$|[a-zA-Z0-9-]{10,100})",
                "score": -10
            },
			{
                "describe": "非结尾",
                "regstr": ".*[^集团|公司|学校|中心|家具城|门诊|\\[大中小\\]学|部|院|局|厂|店|所|队|社|室|厅|段|会|场|行]$",
                "score": -5
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    4,
                    -10
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    4,
                    35,
                    3
                ]
            },
            {
                "describe": "[gt,∞,score]",
                "range": [
                    35,
                    -1,
                    -1
                ]
            }
        ]
    },
    "agency": {
        "type": "string",
        "positivewords": [
            {
                "describe": "以*中部",
                "regstr": "^.*(工程管理|招标代理|咨询|项目管理).*$",
                "score": 3
            },
            {
                "describe": "以*结尾",
                "regstr": ".{2,100}(公司|事务所)$",
                "score": 3
            }
        ],
        "negativewords": [
            {
                "describe": "包含负分",
                "regstr": "(详见公告|原因|未知|收费|标注|负责人)",
                "score": -10
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    4,
                    -10
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    4,
                    30,
                    3
                ]
            },
            {
                "describe": "长度[gt,∞,score]",
                "range": [
                    30,
                    -1,
                    -10
                ]
            }
        ]
    },
    "agencyaddr": {
        "type": "string",
        "positivewords": [
        ],
        "negativewords": [
            {
                "describe": "包含负分",
                "regstr": "(详见|公告|原因|未知|收费|标注)",
                "score": -10
            }
        ]
    },
    "buyerperson": {
        "type": "string",
        "positivewords": [
            {
                "describe": "以*结尾",
                "regstr": ".{2,100}(工|老师|经理|女士|先生|主任|科长)$",
                "score": 3
            }
        ],
        "negativewords": [
            {
                "describe": "出现符号",
                "regstr": "[*]",
                "score": -10
            },
			{
                "describe": "是数字",
                "regstr": "^\\d*[×―—－\\-]*[\u3000\u2003\u00a0\\s]*\\d*$",
                "score": -10
            },  {
                "describe": "包含负分",
                "regstr": "(详见公告)",
                "score": -10
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    1,
                    -5
                ]
            }
        ]
    },
    "buyertel": {
        "type": "string",
        "positivewords": [],
        "negativewords": [
            {
                "describe": "出现中文汉字",
                "regstr": "[\\u4e00-\\u9fa5]",
                "score": -10
            },  {
                "describe": "包含负分",
                "regstr": "(详见公告)",
                "score": -10
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    6,
                    -5
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    6,
                    14,
                    3
                ]
            },
            {
                "describe": "[gt,∞,score]",
                "range": [
                    14,
                    -1,
                    -1
                ]
            }
        ]
    },
    "buyeraddr": {
        "type": "string",
		"positivewords": [],
        "negativewords": [
            {
                "describe": "出现符号",
                "regstr": "[*]",
                "score": -10
            },
			{
                "describe": "是数字",
                "regstr": "^\\d*[×―—－\\-]*[\u3000\u2003\u00a0\\s]*\\d*$",
                "score": -10
            },
			{
                "describe": "出现日期",
                "regstr": "(\\d)+(年|月|日)+",
                "score": -10
            },
			{
                "describe": "包含负分",
                "regstr": "(详见|公告)",
                "score": -10
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    1,
                    -10
                ]
            },
			{
                "describe": "[gt,∞,score]",
                "range": [
                    90,
                    -1,
                    -10
                ]
            }
        ]
    },
	"winnerperson": {
        "type": "string",
        "positivewords": [
            {
                "describe": "以*结尾",
                "regstr": ".{2,3}(工|老师|经理|女士|先生|主任|科长)$",
                "score": 3
            }
        ],
        "negativewords": [
            {
                "describe": "出现符号",
                "regstr": "[*]",
                "score": -10
            },
			{
                "describe": "是数字",
                "regstr": "^\\d*[×―—－\\-]*[\u3000\u2003\u00a0\\s]*\\d*$",
                "score": -10
            },  {
                "describe": "包含负分",
                "regstr": "(详见公告)",
                "score": -10
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    1,
                    -10
                ]
            },
			{
                "describe": "[gt,∞,score]",
                "range": [
                    10,
                    -1,
                    -10
                ]
            },
			{
                "describe": "[gt,lte,score]",
                "range": [
                    1,
                    3,
                    10
                ]
            }
        ]
    },
	"winnertel": {
        "type": "string",
        "positivewords": [],
        "negativewords": [
            {
                "describe": "出现中文汉字",
                "regstr": "[\\u4e00-\\u9fa5]",
                "score": -10
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    6,
                    -5
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    6,
                    14,
                    3
                ]
            },
            {
                "describe": "[gt,∞,score]",
                "range": [
                    14,
                    -1,
                    -10
                ]
            }
        ]
    },
    "contractcode": {
        "type": "string",
        "positivewords": [
        ],
        "negativewords": [
            {
                "describe": "包含负分",
                "regstr": "(null|无|[//,，。、：:“”‘’_\"])",
                "score": -10
            }
        ],
        "length": [
        ]
    },
	"projectcode": {
        "type": "string",
        "positivewords": [
            {
                "describe": "有关键字加分",
                "regstr": "(财采|招字|财购|赣购|豫财|管字|豫政){1}",
                "score": 2
            },
            {
                "describe": "有关键字加分",
                "regstr":"(【[0-9]{4}】.{2,5}号){1}",
                "score": 0.5
            },
            {
                "describe": "号结尾加分",
                "regstr": ".{4,35}(号)$",
                "score": 2
            }
        ],
        "negativewords": [
            {
                "describe": "以什么开始的减分",
                "regstr": "^[-]",
                "score": -1
            },
            {
                "describe": "长度年月日纯数字减分",
                "regstr": "^\\d{8}$",
                "score": -1
            },
            {
                "describe": "纯大写英文字母",
                "regstr": "^[A-Z]{5,}$",
                "score": -0.2
            },
            {
                "describe": "中文汉字大于6个",
                "regstr": "[\\u4e00-\\u9fa5]{6,9}",
                "score": -1.3
            },
            {
                "describe": "中文汉字大于10个",
                "regstr": "[\\u4e00-\\u9fa5]{10,}",
                "score": -3
            },
            {
                "describe": "全为中文汉字或符号",
                "regstr": "^[\\u4e00-\\u9fa5（）\\s\\n()【】\\[\\],，。、：:《》_]+$",
                "score": -20
            },
            {
                "describe": "以一个汉字以上结束",
                "regstr": "[\\u4e00-\\u9fa5/]{1,}$",
                "score": -1
            },
            {
                "describe": "包含负分",
                "regstr": "(null|勘察|设计|设备|项目|标段|工程|监理|范围|分包|月|日|天|\\([0-9]{1}\\)|[,，。、：:“”‘’_\"])",
                "score": -1
            },
            {
                "describe": "标段编号匹配-0.3",
                "regstr": "(\\([0-9]{1}\\)|-)",
                "score": -0.3
            },
            {
                "describe": "-结束没有抽取完",
                "regstr": "-$",
                "score": -1
            },
            {
                "describe": "开始到结束连续字符-0.5",
                "regstr": "^[A-Za-z0-9]{3,9}$",
                "score": -0.5
            }
        ],
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    4,
                    -5
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    4,
                    36,
                    3
                ]
            },
            {
                "describe": "[gt,∞,score]",
                "range": [
                    36,
                    -1,
                    -1
                ]
            }
        ]
    },
    "bidamount": {
        "type": "float",
        "describe": "min>val:1,min<=val<=max:3,max<val:1",
        "min": -0.999,
        "max": 1000000000,
        "score": [
            -3,
            2,
            -3
        ]
    },
    "budget": {
        "type": "float",
        "describe": "min>val:1,min<=val<=max:3,max<val:1",
        "min": 1000,
        "max": 1000000000,
        "score": [
            -3,
            2,
            -3
        ]
    },
    "supervisorrate": {
        "type": "decimal",
        "describe": "费率min>=val:0,min<val<=max:3,max<val:-3",
        "min": 0,
        "max": 1,
        "score": [
            -3,
            2,
            -3
        ]
    },
    "projectscope": {
        "type": "string",
        "length": [
            {
                "describe": "[gt,lte,score]",
                "range": [
                    0,
                    2,
                    -10
                ]
            },
            {
                "describe": "[gt,lte,score]",
                "range": [
                    2,
                    500,
                    3
                ]
            },
            {
                "describe": "[gt,∞,score]",
                "range": [
                    500,
                    -1,
                    -1
                ]
            }
        ]
    }
}
