验证ElasticSearch 分词的BUG

验证ElasticSearch 分词的BUG

环境介绍

ElasticSearch 版本号: 6.7.0

BUG 重现

创建测试案例索引

PUT test_2022
{
  "settings": {
    "analysis": {
      "filter": {
        "pinyin_filter": {
          "type": "pinyin"
        }
      },
      "analyzer": {
        "custome_standard": {
          "type": "custom",
          "tokenizer": "standard",
          "filter": [
            "lowercase",
            "asciifolding"
          ]
        },
        "custome_chinese": {
          "type": "custom",
          "tokenizer": "ik_max_word",
          "filter": [
            "lowercase",
            "asciifolding"
          ]
        },
        "custome_chinese_search":{
          "type": "custom",
          "tokenizer": "ik_smart",
          "filter": [
            "lowercase",
            "asciifolding"
          ]
        }
      },
      "normalizer": {
        "custome_normalizer": {
          "type": "custom",
          "char_filter": [],
          "filter": [
            "lowercase",
            "asciifolding"
          ]
        }
      }
    },
    "index.mapping.coerce": false,
    "index.mapping.ignore_malformed":false,
    "number_of_shards" : 5,
    "number_of_replicas" : 1
  },
  "mappings": {
    "_doc": {
      "properties": {
        "id": {
          "type": "long"
        },
        "workContent": {
              "type": "text",
              "analyzer": "custome_standard",
              "fields": {
                "raw": {
                  "type": "keyword",
                  "normalizer": "custome_normalizer"
                },
                "chinese": {
                  "type": "text",
                  "analyzer": "custome_chinese",
                  "search_analyzer":"custome_chinese_search"
                }
              }
        }
      }
    }
  }
}

执行导致异常的BUG命令

POST test_2022/_doc/1
{
  "id": 1,
  "workContent": "<span>0-1冷启动阶段,构建小鹏汽车社群营销体系,通过内容营销、活动营销两只抓手吸引沉淀潜在车主。结合公司重大传播节点,策划事件营销活动占领用户心智,在 G3 未上市之前进行品牌产品背书,提高潜客对产品的信任度。<br> <br>业绩荣誉: <br>1、配合 G3 发布会节奏,策划组织执行小鹏汽车《一路向北》品牌事件营销,通过 6 天 8 人 2553 公里的极客朝圣之旅,为小鹏汽车制造品质背书,铺垫口碑。这是国内新造车 势力的超长途自驾第一测。视频分别于小鹏汽车品牌媒体发布会、G3 发布会何小鹏讲演前及小鹏汽车各城市端展厅播放,获得行业及公司内部好评,相关链接: <br>A、外部视频链接:https://chejiahao.autohome.com.cn/info/2290990 <br>B、内部报道链接:https://mp.weixin.qq.com/s/A2AfghYRJ8Hc2gMMr_C8dQ <br> <br>2、配合 G3 发布会节奏,联合汽车之家资源组织策划《G3 价格竞猜》项目。该项目以极底成本,获得较好的曝光声量及活动参与效果。项目外部论坛总点击量环比 增长 108.9%,总回复数环比增长 97.3% ,成果如下:<br>A、新闻曝光举例:https://www.autohome.com.cn/news/201804/915688.html <br>B、论坛活动地址: https://club.autohome.com.cn/bbs/thread/7fc721404489d922/72434411-1.html <br> <br>3、撰写原创内容作品,抢占汽车之家首页首屏文字链和论坛相关位置,争取免费露出位:<br>A、小鹏汽车 1.0 评测:宝剑锋从磨砺出 https://chejiahao.autohome.com.cn/info/2239269 <br>B、一路向北 小鹏汽车广州-北京自驾游记 https://chejiahao.autohome.com.cn/info/2290598 </span>"
  
}

执行结果

{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=750,endOffset=751,lastStartOffset=751 for field 'workContent.chinese'"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "startOffset must be non-negative, and endOffset must be >= startOffset, and offsets must not go backwards startOffset=750,endOffset=751,lastStartOffset=751 for field 'workContent.chinese'"
  },
  "status": 400
}

BUG分析

从错误的描述可以得出,应该是分词出现了异常,因此手动用字段的分词配置来对文本进行分词,找出异常的文本内容。

查询字段分词结果,定位异常的文本内容

将待分词的内容用指定字段执行分词处理,获取分词结果

POST test_2022/_analyze
{
  "field": "workContent.chinese",
  "text": "<span>0-1冷启动阶段,构建小鹏汽车社群营销体系,通过内容营销、活动营销两只抓手吸引沉淀潜在车主。结合公司重大传播节点,策划事件营销活动占领用户心智,在 G3 未上市之前进行品牌产品背书,提高潜客对产品的信任度。<br> <br>业绩荣誉: <br>1、配合 G3 发布会节奏,策划组织执行小鹏汽车《一路向北》品牌事件营销,通过 6 天 8 人 2553 公里的极客朝圣之旅,为小鹏汽车制造品质背书,铺垫口碑。这是国内新造车 势力的超长途自驾第一测。视频分别于小鹏汽车品牌媒体发布会、G3 发布会何小鹏讲演前及小鹏汽车各城市端展厅播放,获得行业及公司内部好评,相关链接: <br>A、外部视频链接:https://chejiahao.autohome.com.cn/info/2290990 <br>B、内部报道链接:https://mp.weixin.qq.com/s/A2AfghYRJ8Hc2gMMr_C8dQ <br> <br>2、配合 G3 发布会节奏,联合汽车之家资源组织策划《G3 价格竞猜》项目。该项目以极底成本,获得较好的曝光声量及活动参与效果。项目外部论坛总点击量环比 增长 108.9%,总回复数环比增长 97.3% ,成果如下:<br>A、新闻曝光举例:https://www.autohome.com.cn/news/201804/915688.html <br>B、论坛活动地址: https://club.autohome.com.cn/bbs/thread/7fc721404489d922/72434411-1.html <br> <br>3、撰写原创内容作品,抢占汽车之家首页首屏文字链和论坛相关位置,争取免费露出位:<br>A、小鹏汽车 1.0 评测:宝剑锋从磨砺出 https://chejiahao.autohome.com.cn/info/2239269 <br>B、一路向北 小鹏汽车广州-北京自驾游记 https://chejiahao.autohome.com.cn/info/2290598 </span>"
  
}

分词的结果为:

{
  "tokens" : [
    {
      "token" : "span",
      "start_offset" : 1,
      "end_offset" : 5,
      "type" : "ENGLISH",
      "position" : 0
    },
    {
      "token" : "0-1",
      "start_offset" : 6,
      "end_offset" : 9,
      "type" : "LETTER",
      "position" : 1
    },
    {
      "token" : "0",
      "start_offset" : 6,
      "end_offset" : 7,
      "type" : "ARABIC",
      "position" : 2
    },
    {
      "token" : "1",
      "start_offset" : 8,
      "end_offset" : 9,
      "type" : "ARABIC",
      "position" : 3
    },
    {
      "token" : "冷启动",
      "start_offset" : 9,
      "end_offset" : 12,
      "type" : "CN_WORD",
      "position" : 4
    },
    {
      "token" : "冷",
      "start_offset" : 9,
      "end_offset" : 10,
      "type" : "CN_CHAR",
      "position" : 5
    },
    {
      "token" : "启动",
      "start_offset" : 10,
      "end_offset" : 12,
      "type" : "CN_WORD",
      "position" : 6
    },
    {
      "token" : "阶段",
      "start_offset" : 12,
      "end_offset" : 14,
      "type" : "CN_WORD",
      "position" : 7
    },
    {
      "token" : "构建",
      "start_offset" : 15,
      "end_offset" : 17,
      "type" : "CN_WORD",
      "position" : 8
    },
    {
      "token" : "小",
      "start_offset" : 17,
      "end_offset" : 18,
      "type" : "CN_CHAR",
      "position" : 9
    },
    {
      "token" : "鹏",
      "start_offset" : 18,
      "end_offset" : 19,
      "type" : "CN_CHAR",
      "position" : 10
    },
    {
      "token" : "汽车",
      "start_offset" : 19,
      "end_offset" : 21,
      "type" : "CN_WORD",
      "position" : 11
    },
    {
      "token" : "社群",
      "start_offset" : 21,
      "end_offset" : 23,
      "type" : "CN_WORD",
      "position" : 12
    },
    {
      "token" : "营销",
      "start_offset" : 23,
      "end_offset" : 25,
      "type" : "CN_WORD",
      "position" : 13
    },
    {
      "token" : "体系",
      "start_offset" : 25,
      "end_offset" : 27,
      "type" : "CN_WORD",
      "position" : 14
    },
    {
      "token" : "通过",
      "start_offset" : 28,
      "end_offset" : 30,
      "type" : "CN_WORD",
      "position" : 15
    },
    {
      "token" : "内容",
      "start_offset" : 30,
      "end_offset" : 32,
      "type" : "CN_WORD",
      "position" : 16
    },
    {
      "token" : "营销",
      "start_offset" : 32,
      "end_offset" : 34,
      "type" : "CN_WORD",
      "position" : 17
    },
    {
      "token" : "活动",
      "start_offset" : 35,
      "end_offset" : 37,
      "type" : "CN_WORD",
      "position" : 18
    },
    {
      "token" : "营销",
      "start_offset" : 37,
      "end_offset" : 39,
      "type" : "CN_WORD",
      "position" : 19
    },
    {
      "token" : "两只",
      "start_offset" : 39,
      "end_offset" : 41,
      "type" : "CN_WORD",
      "position" : 20
    },
    {
      "token" : "两",
      "start_offset" : 39,
      "end_offset" : 40,
      "type" : "COUNT",
      "position" : 21
    },
    {
      "token" : "只",
      "start_offset" : 40,
      "end_offset" : 41,
      "type" : "CN_CHAR",
      "position" : 22
    },
    {
      "token" : "抓手",
      "start_offset" : 41,
      "end_offset" : 43,
      "type" : "CN_WORD",
      "position" : 23
    },
    {
      "token" : "吸引",
      "start_offset" : 43,
      "end_offset" : 45,
      "type" : "CN_WORD",
      "position" : 24
    },
    {
      "token" : "沉淀",
      "start_offset" : 45,
      "end_offset" : 47,
      "type" : "CN_WORD",
      "position" : 25
    },
    {
      "token" : "潜在",
      "start_offset" : 47,
      "end_offset" : 49,
      "type" : "CN_WORD",
      "position" : 26
    },
    {
      "token" : "潜",
      "start_offset" : 47,
      "end_offset" : 48,
      "type" : "CN_CHAR",
      "position" : 27
    },
    {
      "token" : "在车",
      "start_offset" : 48,
      "end_offset" : 50,
      "type" : "CN_WORD",
      "position" : 28
    },
    {
      "token" : "车主",
      "start_offset" : 49,
      "end_offset" : 51,
      "type" : "CN_WORD",
      "position" : 29
    },
    {
      "token" : "结合",
      "start_offset" : 52,
      "end_offset" : 54,
      "type" : "CN_WORD",
      "position" : 30
    },
    {
      "token" : "公司",
      "start_offset" : 54,
      "end_offset" : 56,
      "type" : "CN_WORD",
      "position" : 31
    },
    {
      "token" : "重大",
      "start_offset" : 56,
      "end_offset" : 58,
      "type" : "CN_WORD",
      "position" : 32
    },
    {
      "token" : "传播",
      "start_offset" : 58,
      "end_offset" : 60,
      "type" : "CN_WORD",
      "position" : 33
    },
    {
      "token" : "节点",
      "start_offset" : 60,
      "end_offset" : 62,
      "type" : "CN_WORD",
      "position" : 34
    },
    {
      "token" : "策划",
      "start_offset" : 63,
      "end_offset" : 65,
      "type" : "CN_WORD",
      "position" : 35
    },
    {
      "token" : "事件",
      "start_offset" : 65,
      "end_offset" : 67,
      "type" : "CN_WORD",
      "position" : 36
    },
    {
      "token" : "营销",
      "start_offset" : 67,
      "end_offset" : 69,
      "type" : "CN_WORD",
      "position" : 37
    },
    {
      "token" : "活动",
      "start_offset" : 69,
      "end_offset" : 71,
      "type" : "CN_WORD",
      "position" : 38
    },
    {
      "token" : "占领",
      "start_offset" : 71,
      "end_offset" : 73,
      "type" : "CN_WORD",
      "position" : 39
    },
    {
      "token" : "占",
      "start_offset" : 71,
      "end_offset" : 72,
      "type" : "CN_CHAR",
      "position" : 40
    },
    {
      "token" : "领用",
      "start_offset" : 72,
      "end_offset" : 74,
      "type" : "CN_WORD",
      "position" : 41
    },
    {
      "token" : "用户",
      "start_offset" : 73,
      "end_offset" : 75,
      "type" : "CN_WORD",
      "position" : 42
    },
    {
      "token" : "心智",
      "start_offset" : 75,
      "end_offset" : 77,
      "type" : "CN_WORD",
      "position" : 43
    },
    {
      "token" : "在",
      "start_offset" : 78,
      "end_offset" : 79,
      "type" : "CN_CHAR",
      "position" : 44
    },
    {
      "token" : "g3",
      "start_offset" : 80,
      "end_offset" : 82,
      "type" : "LETTER",
      "position" : 45
    },
    {
      "token" : "g",
      "start_offset" : 80,
      "end_offset" : 81,
      "type" : "ENGLISH",
      "position" : 46
    },
    {
      "token" : "3",
      "start_offset" : 81,
      "end_offset" : 82,
      "type" : "ARABIC",
      "position" : 47
    },
    {
      "token" : "未上市",
      "start_offset" : 83,
      "end_offset" : 86,
      "type" : "CN_WORD",
      "position" : 48
    },
    {
      "token" : "未上",
      "start_offset" : 83,
      "end_offset" : 85,
      "type" : "CN_WORD",
      "position" : 49
    },
    {
      "token" : "上市",
      "start_offset" : 84,
      "end_offset" : 86,
      "type" : "CN_WORD",
      "position" : 50
    },
    {
      "token" : "之前",
      "start_offset" : 86,
      "end_offset" : 88,
      "type" : "CN_WORD",
      "position" : 51
    },
    {
      "token" : "之",
      "start_offset" : 86,
      "end_offset" : 87,
      "type" : "CN_CHAR",
      "position" : 52
    },
    {
      "token" : "前进",
      "start_offset" : 87,
      "end_offset" : 89,
      "type" : "CN_WORD",
      "position" : 53
    },
    {
      "token" : "进行",
      "start_offset" : 88,
      "end_offset" : 90,
      "type" : "CN_WORD",
      "position" : 54
    },
    {
      "token" : "品牌",
      "start_offset" : 90,
      "end_offset" : 92,
      "type" : "CN_WORD",
      "position" : 55
    },
    {
      "token" : "产品",
      "start_offset" : 92,
      "end_offset" : 94,
      "type" : "CN_WORD",
      "position" : 56
    },
    {
      "token" : "背书",
      "start_offset" : 94,
      "end_offset" : 96,
      "type" : "CN_WORD",
      "position" : 57
    },
    {
      "token" : "提高",
      "start_offset" : 97,
      "end_offset" : 99,
      "type" : "CN_WORD",
      "position" : 58
    },
    {
      "token" : "潜",
      "start_offset" : 99,
      "end_offset" : 100,
      "type" : "CN_CHAR",
      "position" : 59
    },
    {
      "token" : "客",
      "start_offset" : 100,
      "end_offset" : 101,
      "type" : "CN_CHAR",
      "position" : 60
    },
    {
      "token" : "对",
      "start_offset" : 101,
      "end_offset" : 102,
      "type" : "CN_CHAR",
      "position" : 61
    },
    {
      "token" : "产品",
      "start_offset" : 102,
      "end_offset" : 104,
      "type" : "CN_WORD",
      "position" : 62
    },
    {
      "token" : "的",
      "start_offset" : 104,
      "end_offset" : 105,
      "type" : "CN_CHAR",
      "position" : 63
    },
    {
      "token" : "信任",
      "start_offset" : 105,
      "end_offset" : 107,
      "type" : "CN_WORD",
      "position" : 64
    },
    {
      "token" : "度",
      "start_offset" : 107,
      "end_offset" : 108,
      "type" : "CN_CHAR",
      "position" : 65
    },
    {
      "token" : "br",
      "start_offset" : 110,
      "end_offset" : 112,
      "type" : "ENGLISH",
      "position" : 66
    },
    {
      "token" : "br",
      "start_offset" : 115,
      "end_offset" : 117,
      "type" : "ENGLISH",
      "position" : 67
    },
    {
      "token" : "业绩",
      "start_offset" : 118,
      "end_offset" : 120,
      "type" : "CN_WORD",
      "position" : 68
    },
    {
      "token" : "荣誉",
      "start_offset" : 120,
      "end_offset" : 122,
      "type" : "CN_WORD",
      "position" : 69
    },
    {
      "token" : "br",
      "start_offset" : 125,
      "end_offset" : 127,
      "type" : "ENGLISH",
      "position" : 70
    },
    {
      "token" : "1",
      "start_offset" : 128,
      "end_offset" : 129,
      "type" : "ARABIC",
      "position" : 71
    },
    {
      "token" : "配合",
      "start_offset" : 130,
      "end_offset" : 132,
      "type" : "CN_WORD",
      "position" : 72
    },
    {
      "token" : "g3",
      "start_offset" : 133,
      "end_offset" : 135,
      "type" : "LETTER",
      "position" : 73
    },
    {
      "token" : "g",
      "start_offset" : 133,
      "end_offset" : 134,
      "type" : "ENGLISH",
      "position" : 74
    },
    {
      "token" : "3",
      "start_offset" : 134,
      "end_offset" : 135,
      "type" : "ARABIC",
      "position" : 75
    },
    {
      "token" : "发布会",
      "start_offset" : 136,
      "end_offset" : 139,
      "type" : "CN_WORD",
      "position" : 76
    },
    {
      "token" : "发布",
      "start_offset" : 136,
      "end_offset" : 138,
      "type" : "CN_WORD",
      "position" : 77
    },
    {
      "token" : "会",
      "start_offset" : 138,
      "end_offset" : 139,
      "type" : "CN_CHAR",
      "position" : 78
    },
    {
      "token" : "节奏",
      "start_offset" : 139,
      "end_offset" : 141,
      "type" : "CN_WORD",
      "position" : 79
    },
    {
      "token" : "策划",
      "start_offset" : 142,
      "end_offset" : 144,
      "type" : "CN_WORD",
      "position" : 80
    },
    {
      "token" : "组织",
      "start_offset" : 144,
      "end_offset" : 146,
      "type" : "CN_WORD",
      "position" : 81
    },
    {
      "token" : "执行",
      "start_offset" : 146,
      "end_offset" : 148,
      "type" : "CN_WORD",
      "position" : 82
    },
    {
      "token" : "小",
      "start_offset" : 148,
      "end_offset" : 149,
      "type" : "CN_CHAR",
      "position" : 83
    },
    {
      "token" : "鹏",
      "start_offset" : 149,
      "end_offset" : 150,
      "type" : "CN_CHAR",
      "position" : 84
    },
    {
      "token" : "汽车",
      "start_offset" : 150,
      "end_offset" : 152,
      "type" : "CN_WORD",
      "position" : 85
    },
    {
      "token" : "一路",
      "start_offset" : 153,
      "end_offset" : 155,
      "type" : "CN_WORD",
      "position" : 86
    },
    {
      "token" : "一",
      "start_offset" : 153,
      "end_offset" : 154,
      "type" : "TYPE_CNUM",
      "position" : 87
    },
    {
      "token" : "路向",
      "start_offset" : 154,
      "end_offset" : 156,
      "type" : "CN_WORD",
      "position" : 88
    },
    {
      "token" : "路",
      "start_offset" : 154,
      "end_offset" : 155,
      "type" : "COUNT",
      "position" : 89
    },
    {
      "token" : "向北",
      "start_offset" : 155,
      "end_offset" : 157,
      "type" : "CN_WORD",
      "position" : 90
    },
    {
      "token" : "品牌",
      "start_offset" : 158,
      "end_offset" : 160,
      "type" : "CN_WORD",
      "position" : 91
    },
    {
      "token" : "事件",
      "start_offset" : 160,
      "end_offset" : 162,
      "type" : "CN_WORD",
      "position" : 92
    },
    {
      "token" : "营销",
      "start_offset" : 162,
      "end_offset" : 164,
      "type" : "CN_WORD",
      "position" : 93
    },
    {
      "token" : "通过",
      "start_offset" : 165,
      "end_offset" : 167,
      "type" : "CN_WORD",
      "position" : 94
    },
    {
      "token" : "6",
      "start_offset" : 168,
      "end_offset" : 169,
      "type" : "ARABIC",
      "position" : 95
    },
    {
      "token" : "天",
      "start_offset" : 170,
      "end_offset" : 171,
      "type" : "CN_CHAR",
      "position" : 96
    },
    {
      "token" : "8",
      "start_offset" : 172,
      "end_offset" : 173,
      "type" : "ARABIC",
      "position" : 97
    },
    {
      "token" : "人",
      "start_offset" : 174,
      "end_offset" : 175,
      "type" : "CN_CHAR",
      "position" : 98
    },
    {
      "token" : "2553",
      "start_offset" : 176,
      "end_offset" : 180,
      "type" : "ARABIC",
      "position" : 99
    },
    {
      "token" : "公里",
      "start_offset" : 181,
      "end_offset" : 183,
      "type" : "CN_WORD",
      "position" : 100
    },
    {
      "token" : "的",
      "start_offset" : 183,
      "end_offset" : 184,
      "type" : "CN_CHAR",
      "position" : 101
    },
    {
      "token" : "极",
      "start_offset" : 184,
      "end_offset" : 185,
      "type" : "CN_CHAR",
      "position" : 102
    },
    {
      "token" : "客",
      "start_offset" : 185,
      "end_offset" : 186,
      "type" : "CN_CHAR",
      "position" : 103
    },
    {
      "token" : "朝圣",
      "start_offset" : 186,
      "end_offset" : 188,
      "type" : "CN_WORD",
      "position" : 104
    },
    {
      "token" : "之旅",
      "start_offset" : 188,
      "end_offset" : 190,
      "type" : "CN_WORD",
      "position" : 105
    },
    {
      "token" : "为",
      "start_offset" : 191,
      "end_offset" : 192,
      "type" : "CN_CHAR",
      "position" : 106
    },
    {
      "token" : "小",
      "start_offset" : 192,
      "end_offset" : 193,
      "type" : "CN_CHAR",
      "position" : 107
    },
    {
      "token" : "鹏",
      "start_offset" : 193,
      "end_offset" : 194,
      "type" : "CN_CHAR",
      "position" : 108
    },
    {
      "token" : "汽车",
      "start_offset" : 194,
      "end_offset" : 196,
      "type" : "CN_WORD",
      "position" : 109
    },
    {
      "token" : "制造品",
      "start_offset" : 196,
      "end_offset" : 199,
      "type" : "CN_WORD",
      "position" : 110
    },
    {
      "token" : "制造",
      "start_offset" : 196,
      "end_offset" : 198,
      "type" : "CN_WORD",
      "position" : 111
    },
    {
      "token" : "品质",
      "start_offset" : 198,
      "end_offset" : 200,
      "type" : "CN_WORD",
      "position" : 112
    },
    {
      "token" : "背书",
      "start_offset" : 200,
      "end_offset" : 202,
      "type" : "CN_WORD",
      "position" : 113
    },
    {
      "token" : "铺垫",
      "start_offset" : 203,
      "end_offset" : 205,
      "type" : "CN_WORD",
      "position" : 114
    },
    {
      "token" : "口碑",
      "start_offset" : 205,
      "end_offset" : 207,
      "type" : "CN_WORD",
      "position" : 115
    },
    {
      "token" : "这是",
      "start_offset" : 208,
      "end_offset" : 210,
      "type" : "CN_WORD",
      "position" : 116
    },
    {
      "token" : "国内",
      "start_offset" : 210,
      "end_offset" : 212,
      "type" : "CN_WORD",
      "position" : 117
    },
    {
      "token" : "新造",
      "start_offset" : 212,
      "end_offset" : 214,
      "type" : "CN_WORD",
      "position" : 118
    },
    {
      "token" : "车",
      "start_offset" : 214,
      "end_offset" : 215,
      "type" : "CN_CHAR",
      "position" : 119
    },
    {
      "token" : "势力",
      "start_offset" : 216,
      "end_offset" : 218,
      "type" : "CN_WORD",
      "position" : 120
    },
    {
      "token" : "的",
      "start_offset" : 218,
      "end_offset" : 219,
      "type" : "CN_CHAR",
      "position" : 121
    },
    {
      "token" : "超长",
      "start_offset" : 219,
      "end_offset" : 221,
      "type" : "CN_WORD",
      "position" : 122
    },
    {
      "token" : "超",
      "start_offset" : 219,
      "end_offset" : 220,
      "type" : "CN_CHAR",
      "position" : 123
    },
    {
      "token" : "长途",
      "start_offset" : 220,
      "end_offset" : 222,
      "type" : "CN_WORD",
      "position" : 124
    },
    {
      "token" : "自驾",
      "start_offset" : 222,
      "end_offset" : 224,
      "type" : "CN_WORD",
      "position" : 125
    },
    {
      "token" : "第一",
      "start_offset" : 224,
      "end_offset" : 226,
      "type" : "CN_WORD",
      "position" : 126
    },
    {
      "token" : "第",
      "start_offset" : 224,
      "end_offset" : 225,
      "type" : "CN_CHAR",
      "position" : 127
    },
    {
      "token" : "一测",
      "start_offset" : 225,
      "end_offset" : 227,
      "type" : "CN_WORD",
      "position" : 128
    },
    {
      "token" : "一",
      "start_offset" : 225,
      "end_offset" : 226,
      "type" : "TYPE_CNUM",
      "position" : 129
    },
    {
      "token" : "测",
      "start_offset" : 226,
      "end_offset" : 227,
      "type" : "CN_CHAR",
      "position" : 130
    },
    {
      "token" : "视频",
      "start_offset" : 228,
      "end_offset" : 230,
      "type" : "CN_WORD",
      "position" : 131
    },
    {
      "token" : "分别",
      "start_offset" : 230,
      "end_offset" : 232,
      "type" : "CN_WORD",
      "position" : 132
    },
    {
      "token" : "于",
      "start_offset" : 232,
      "end_offset" : 233,
      "type" : "CN_CHAR",
      "position" : 133
    },
    {
      "token" : "小",
      "start_offset" : 233,
      "end_offset" : 234,
      "type" : "CN_CHAR",
      "position" : 134
    },
    {
      "token" : "鹏",
      "start_offset" : 234,
      "end_offset" : 235,
      "type" : "CN_CHAR",
      "position" : 135
    },
    {
      "token" : "汽车品牌",
      "start_offset" : 235,
      "end_offset" : 239,
      "type" : "CN_WORD",
      "position" : 136
    },
    {
      "token" : "汽车",
      "start_offset" : 235,
      "end_offset" : 237,
      "type" : "CN_WORD",
      "position" : 137
    },
    {
      "token" : "品牌",
      "start_offset" : 237,
      "end_offset" : 239,
      "type" : "CN_WORD",
      "position" : 138
    },
    {
      "token" : "媒体",
      "start_offset" : 239,
      "end_offset" : 241,
      "type" : "CN_WORD",
      "position" : 139
    },
    {
      "token" : "发布会",
      "start_offset" : 241,
      "end_offset" : 244,
      "type" : "CN_WORD",
      "position" : 140
    },
    {
      "token" : "发布",
      "start_offset" : 241,
      "end_offset" : 243,
      "type" : "CN_WORD",
      "position" : 141
    },
    {
      "token" : "会",
      "start_offset" : 243,
      "end_offset" : 244,
      "type" : "CN_CHAR",
      "position" : 142
    },
    {
      "token" : "g3",
      "start_offset" : 245,
      "end_offset" : 247,
      "type" : "LETTER",
      "position" : 143
    },
    {
      "token" : "g",
      "start_offset" : 245,
      "end_offset" : 246,
      "type" : "ENGLISH",
      "position" : 144
    },
    {
      "token" : "3",
      "start_offset" : 246,
      "end_offset" : 247,
      "type" : "ARABIC",
      "position" : 145
    },
    {
      "token" : "发布会",
      "start_offset" : 248,
      "end_offset" : 251,
      "type" : "CN_WORD",
      "position" : 146
    },
    {
      "token" : "发布",
      "start_offset" : 248,
      "end_offset" : 250,
      "type" : "CN_WORD",
      "position" : 147
    },
    {
      "token" : "会",
      "start_offset" : 250,
      "end_offset" : 251,
      "type" : "CN_CHAR",
      "position" : 148
    },
    {
      "token" : "何",
      "start_offset" : 251,
      "end_offset" : 252,
      "type" : "CN_CHAR",
      "position" : 149
    },
    {
      "token" : "小",
      "start_offset" : 252,
      "end_offset" : 253,
      "type" : "CN_CHAR",
      "position" : 150
    },
    {
      "token" : "鹏",
      "start_offset" : 253,
      "end_offset" : 254,
      "type" : "CN_CHAR",
      "position" : 151
    },
    {
      "token" : "讲演",
      "start_offset" : 254,
      "end_offset" : 256,
      "type" : "CN_WORD",
      "position" : 152
    },
    {
      "token" : "前",
      "start_offset" : 256,
      "end_offset" : 257,
      "type" : "CN_CHAR",
      "position" : 153
    },
    {
      "token" : "及",
      "start_offset" : 257,
      "end_offset" : 258,
      "type" : "CN_CHAR",
      "position" : 154
    },
    {
      "token" : "小",
      "start_offset" : 258,
      "end_offset" : 259,
      "type" : "CN_CHAR",
      "position" : 155
    },
    {
      "token" : "鹏",
      "start_offset" : 259,
      "end_offset" : 260,
      "type" : "CN_CHAR",
      "position" : 156
    },
    {
      "token" : "汽车",
      "start_offset" : 260,
      "end_offset" : 262,
      "type" : "CN_WORD",
      "position" : 157
    },
    {
      "token" : "各城市",
      "start_offset" : 262,
      "end_offset" : 265,
      "type" : "CN_WORD",
      "position" : 158
    },
    {
      "token" : "各城",
      "start_offset" : 262,
      "end_offset" : 264,
      "type" : "CN_WORD",
      "position" : 159
    },
    {
      "token" : "城市",
      "start_offset" : 263,
      "end_offset" : 265,
      "type" : "CN_WORD",
      "position" : 160
    },
    {
      "token" : "端",
      "start_offset" : 265,
      "end_offset" : 266,
      "type" : "CN_CHAR",
      "position" : 161
    },
    {
      "token" : "展厅",
      "start_offset" : 266,
      "end_offset" : 268,
      "type" : "CN_WORD",
      "position" : 162
    },
    {
      "token" : "播放",
      "start_offset" : 268,
      "end_offset" : 270,
      "type" : "CN_WORD",
      "position" : 163
    },
    {
      "token" : "获得",
      "start_offset" : 271,
      "end_offset" : 273,
      "type" : "CN_WORD",
      "position" : 164
    },
    {
      "token" : "行业",
      "start_offset" : 273,
      "end_offset" : 275,
      "type" : "CN_WORD",
      "position" : 165
    },
    {
      "token" : "及",
      "start_offset" : 275,
      "end_offset" : 276,
      "type" : "CN_CHAR",
      "position" : 166
    },
    {
      "token" : "公司内部",
      "start_offset" : 276,
      "end_offset" : 280,
      "type" : "CN_WORD",
      "position" : 167
    },
    {
      "token" : "公司",
      "start_offset" : 276,
      "end_offset" : 278,
      "type" : "CN_WORD",
      "position" : 168
    },
    {
      "token" : "内部",
      "start_offset" : 278,
      "end_offset" : 280,
      "type" : "CN_WORD",
      "position" : 169
    },
    {
      "token" : "好评",
      "start_offset" : 280,
      "end_offset" : 282,
      "type" : "CN_WORD",
      "position" : 170
    },
    {
      "token" : "相关",
      "start_offset" : 283,
      "end_offset" : 285,
      "type" : "CN_WORD",
      "position" : 171
    },
    {
      "token" : "链接",
      "start_offset" : 285,
      "end_offset" : 287,
      "type" : "CN_WORD",
      "position" : 172
    },
    {
      "token" : "br",
      "start_offset" : 290,
      "end_offset" : 292,
      "type" : "ENGLISH",
      "position" : 173
    },
    {
      "token" : "外部",
      "start_offset" : 295,
      "end_offset" : 297,
      "type" : "CN_WORD",
      "position" : 174
    },
    {
      "token" : "视频",
      "start_offset" : 297,
      "end_offset" : 299,
      "type" : "CN_WORD",
      "position" : 175
    },
    {
      "token" : "链接",
      "start_offset" : 299,
      "end_offset" : 301,
      "type" : "CN_WORD",
      "position" : 176
    },
    {
      "token" : "https",
      "start_offset" : 302,
      "end_offset" : 307,
      "type" : "ENGLISH",
      "position" : 177
    },
    {
      "token" : "chejiahao.autohome.com.cn",
      "start_offset" : 310,
      "end_offset" : 335,
      "type" : "LETTER",
      "position" : 178
    },
    {
      "token" : "chejiahao",
      "start_offset" : 310,
      "end_offset" : 319,
      "type" : "ENGLISH",
      "position" : 179
    },
    {
      "token" : "autohome",
      "start_offset" : 320,
      "end_offset" : 328,
      "type" : "ENGLISH",
      "position" : 180
    },
    {
      "token" : "com",
      "start_offset" : 329,
      "end_offset" : 332,
      "type" : "ENGLISH",
      "position" : 181
    },
    {
      "token" : "cn",
      "start_offset" : 333,
      "end_offset" : 335,
      "type" : "ENGLISH",
      "position" : 182
    },
    {
      "token" : "info",
      "start_offset" : 336,
      "end_offset" : 340,
      "type" : "ENGLISH",
      "position" : 183
    },
    {
      "token" : "2290990",
      "start_offset" : 341,
      "end_offset" : 348,
      "type" : "ARABIC",
      "position" : 184
    },
    {
      "token" : "br",
      "start_offset" : 350,
      "end_offset" : 352,
      "type" : "ENGLISH",
      "position" : 185
    },
    {
      "token" : "b",
      "start_offset" : 353,
      "end_offset" : 354,
      "type" : "ENGLISH",
      "position" : 186
    },
    {
      "token" : "内部",
      "start_offset" : 355,
      "end_offset" : 357,
      "type" : "CN_WORD",
      "position" : 187
    },
    {
      "token" : "报道",
      "start_offset" : 357,
      "end_offset" : 359,
      "type" : "CN_WORD",
      "position" : 188
    },
    {
      "token" : "链接",
      "start_offset" : 359,
      "end_offset" : 361,
      "type" : "CN_WORD",
      "position" : 189
    },
    {
      "token" : "https",
      "start_offset" : 362,
      "end_offset" : 367,
      "type" : "ENGLISH",
      "position" : 190
    },
    {
      "token" : "mp.weixin.qq.com",
      "start_offset" : 370,
      "end_offset" : 386,
      "type" : "LETTER",
      "position" : 191
    },
    {
      "token" : "mp",
      "start_offset" : 370,
      "end_offset" : 372,
      "type" : "ENGLISH",
      "position" : 192
    },
    {
      "token" : "weixin",
      "start_offset" : 373,
      "end_offset" : 379,
      "type" : "ENGLISH",
      "position" : 193
    },
    {
      "token" : "qq",
      "start_offset" : 380,
      "end_offset" : 382,
      "type" : "ENGLISH",
      "position" : 194
    },
    {
      "token" : "com",
      "start_offset" : 383,
      "end_offset" : 386,
      "type" : "ENGLISH",
      "position" : 195
    },
    {
      "token" : "s",
      "start_offset" : 387,
      "end_offset" : 388,
      "type" : "ENGLISH",
      "position" : 196
    },
    {
      "token" : "a2afghyrj8hc2gmmr_c8dq",
      "start_offset" : 389,
      "end_offset" : 411,
      "type" : "LETTER",
      "position" : 197
    },
    {
      "token" : "2",
      "start_offset" : 390,
      "end_offset" : 391,
      "type" : "ARABIC",
      "position" : 198
    },
    {
      "token" : "afghyrj",
      "start_offset" : 391,
      "end_offset" : 398,
      "type" : "ENGLISH",
      "position" : 199
    },
    {
      "token" : "8",
      "start_offset" : 398,
      "end_offset" : 399,
      "type" : "ARABIC",
      "position" : 200
    },
    {
      "token" : "hc",
      "start_offset" : 399,
      "end_offset" : 401,
      "type" : "ENGLISH",
      "position" : 201
    },
    {
      "token" : "2",
      "start_offset" : 401,
      "end_offset" : 402,
      "type" : "ARABIC",
      "position" : 202
    },
    {
      "token" : "gmmr",
      "start_offset" : 402,
      "end_offset" : 406,
      "type" : "ENGLISH",
      "position" : 203
    },
    {
      "token" : "c",
      "start_offset" : 407,
      "end_offset" : 408,
      "type" : "ENGLISH",
      "position" : 204
    },
    {
      "token" : "8",
      "start_offset" : 408,
      "end_offset" : 409,
      "type" : "ARABIC",
      "position" : 205
    },
    {
      "token" : "dq",
      "start_offset" : 409,
      "end_offset" : 411,
      "type" : "ENGLISH",
      "position" : 206
    },
    {
      "token" : "br",
      "start_offset" : 413,
      "end_offset" : 415,
      "type" : "ENGLISH",
      "position" : 207
    },
    {
      "token" : "br",
      "start_offset" : 418,
      "end_offset" : 420,
      "type" : "ENGLISH",
      "position" : 208
    },
    {
      "token" : "2",
      "start_offset" : 421,
      "end_offset" : 422,
      "type" : "ARABIC",
      "position" : 209
    },
    {
      "token" : "配合",
      "start_offset" : 423,
      "end_offset" : 425,
      "type" : "CN_WORD",
      "position" : 210
    },
    {
      "token" : "g3",
      "start_offset" : 426,
      "end_offset" : 428,
      "type" : "LETTER",
      "position" : 211
    },
    {
      "token" : "g",
      "start_offset" : 426,
      "end_offset" : 427,
      "type" : "ENGLISH",
      "position" : 212
    },
    {
      "token" : "3",
      "start_offset" : 427,
      "end_offset" : 428,
      "type" : "ARABIC",
      "position" : 213
    },
    {
      "token" : "发布会",
      "start_offset" : 429,
      "end_offset" : 432,
      "type" : "CN_WORD",
      "position" : 214
    },
    {
      "token" : "发布",
      "start_offset" : 429,
      "end_offset" : 431,
      "type" : "CN_WORD",
      "position" : 215
    },
    {
      "token" : "会",
      "start_offset" : 431,
      "end_offset" : 432,
      "type" : "CN_CHAR",
      "position" : 216
    },
    {
      "token" : "节奏",
      "start_offset" : 432,
      "end_offset" : 434,
      "type" : "CN_WORD",
      "position" : 217
    },
    {
      "token" : "联合",
      "start_offset" : 435,
      "end_offset" : 437,
      "type" : "CN_WORD",
      "position" : 218
    },
    {
      "token" : "汽车",
      "start_offset" : 437,
      "end_offset" : 439,
      "type" : "CN_WORD",
      "position" : 219
    },
    {
      "token" : "之家",
      "start_offset" : 439,
      "end_offset" : 441,
      "type" : "CN_WORD",
      "position" : 220
    },
    {
      "token" : "之",
      "start_offset" : 439,
      "end_offset" : 440,
      "type" : "CN_CHAR",
      "position" : 221
    },
    {
      "token" : "家资",
      "start_offset" : 440,
      "end_offset" : 442,
      "type" : "CN_WORD",
      "position" : 222
    },
    {
      "token" : "资源",
      "start_offset" : 441,
      "end_offset" : 443,
      "type" : "CN_WORD",
      "position" : 223
    },
    {
      "token" : "组织",
      "start_offset" : 443,
      "end_offset" : 445,
      "type" : "CN_WORD",
      "position" : 224
    },
    {
      "token" : "策划",
      "start_offset" : 445,
      "end_offset" : 447,
      "type" : "CN_WORD",
      "position" : 225
    },
    {
      "token" : "g3",
      "start_offset" : 448,
      "end_offset" : 450,
      "type" : "LETTER",
      "position" : 226
    },
    {
      "token" : "g",
      "start_offset" : 448,
      "end_offset" : 449,
      "type" : "ENGLISH",
      "position" : 227
    },
    {
      "token" : "3",
      "start_offset" : 449,
      "end_offset" : 450,
      "type" : "ARABIC",
      "position" : 228
    },
    {
      "token" : "价格",
      "start_offset" : 451,
      "end_offset" : 453,
      "type" : "CN_WORD",
      "position" : 229
    },
    {
      "token" : "竞猜",
      "start_offset" : 453,
      "end_offset" : 455,
      "type" : "CN_WORD",
      "position" : 230
    },
    {
      "token" : "项目",
      "start_offset" : 456,
      "end_offset" : 458,
      "type" : "CN_WORD",
      "position" : 231
    },
    {
      "token" : "该项",
      "start_offset" : 459,
      "end_offset" : 461,
      "type" : "CN_WORD",
      "position" : 232
    },
    {
      "token" : "该",
      "start_offset" : 459,
      "end_offset" : 460,
      "type" : "CN_CHAR",
      "position" : 233
    },
    {
      "token" : "项目",
      "start_offset" : 460,
      "end_offset" : 462,
      "type" : "CN_WORD",
      "position" : 234
    },
    {
      "token" : "以",
      "start_offset" : 462,
      "end_offset" : 463,
      "type" : "CN_CHAR",
      "position" : 235
    },
    {
      "token" : "极",
      "start_offset" : 463,
      "end_offset" : 464,
      "type" : "CN_CHAR",
      "position" : 236
    },
    {
      "token" : "底",
      "start_offset" : 464,
      "end_offset" : 465,
      "type" : "CN_CHAR",
      "position" : 237
    },
    {
      "token" : "成本",
      "start_offset" : 465,
      "end_offset" : 467,
      "type" : "CN_WORD",
      "position" : 238
    },
    {
      "token" : "获得",
      "start_offset" : 468,
      "end_offset" : 470,
      "type" : "CN_WORD",
      "position" : 239
    },
    {
      "token" : "较好",
      "start_offset" : 470,
      "end_offset" : 472,
      "type" : "CN_WORD",
      "position" : 240
    },
    {
      "token" : "的",
      "start_offset" : 472,
      "end_offset" : 473,
      "type" : "CN_CHAR",
      "position" : 241
    },
    {
      "token" : "曝光",
      "start_offset" : 473,
      "end_offset" : 475,
      "type" : "CN_WORD",
      "position" : 242
    },
    {
      "token" : "声",
      "start_offset" : 475,
      "end_offset" : 476,
      "type" : "CN_CHAR",
      "position" : 243
    },
    {
      "token" : "量",
      "start_offset" : 476,
      "end_offset" : 477,
      "type" : "CN_CHAR",
      "position" : 244
    },
    {
      "token" : "及",
      "start_offset" : 477,
      "end_offset" : 478,
      "type" : "CN_CHAR",
      "position" : 245
    },
    {
      "token" : "活动",
      "start_offset" : 478,
      "end_offset" : 480,
      "type" : "CN_WORD",
      "position" : 246
    },
    {
      "token" : "参与",
      "start_offset" : 480,
      "end_offset" : 482,
      "type" : "CN_WORD",
      "position" : 247
    },
    {
      "token" : "效果",
      "start_offset" : 482,
      "end_offset" : 484,
      "type" : "CN_WORD",
      "position" : 248
    },
    {
      "token" : "项目",
      "start_offset" : 485,
      "end_offset" : 487,
      "type" : "CN_WORD",
      "position" : 249
    },
    {
      "token" : "外部",
      "start_offset" : 487,
      "end_offset" : 489,
      "type" : "CN_WORD",
      "position" : 250
    },
    {
      "token" : "论坛",
      "start_offset" : 489,
      "end_offset" : 491,
      "type" : "CN_WORD",
      "position" : 251
    },
    {
      "token" : "总",
      "start_offset" : 491,
      "end_offset" : 492,
      "type" : "CN_CHAR",
      "position" : 252
    },
    {
      "token" : "点击",
      "start_offset" : 492,
      "end_offset" : 494,
      "type" : "CN_WORD",
      "position" : 253
    },
    {
      "token" : "量",
      "start_offset" : 494,
      "end_offset" : 495,
      "type" : "CN_CHAR",
      "position" : 254
    },
    {
      "token" : "环",
      "start_offset" : 495,
      "end_offset" : 496,
      "type" : "CN_CHAR",
      "position" : 255
    },
    {
      "token" : "比",
      "start_offset" : 496,
      "end_offset" : 497,
      "type" : "CN_CHAR",
      "position" : 256
    },
    {
      "token" : "增长",
      "start_offset" : 498,
      "end_offset" : 500,
      "type" : "CN_WORD",
      "position" : 257
    },
    {
      "token" : "108.9",
      "start_offset" : 501,
      "end_offset" : 506,
      "type" : "ARABIC",
      "position" : 258
    },
    {
      "token" : "总",
      "start_offset" : 508,
      "end_offset" : 509,
      "type" : "CN_CHAR",
      "position" : 259
    },
    {
      "token" : "回复数",
      "start_offset" : 509,
      "end_offset" : 512,
      "type" : "CN_WORD",
      "position" : 260
    },
    {
      "token" : "回复",
      "start_offset" : 509,
      "end_offset" : 511,
      "type" : "CN_WORD",
      "position" : 261
    },
    {
      "token" : "复数",
      "start_offset" : 510,
      "end_offset" : 512,
      "type" : "CN_WORD",
      "position" : 262
    },
    {
      "token" : "环",
      "start_offset" : 512,
      "end_offset" : 513,
      "type" : "CN_CHAR",
      "position" : 263
    },
    {
      "token" : "比增",
      "start_offset" : 513,
      "end_offset" : 515,
      "type" : "CN_WORD",
      "position" : 264
    },
    {
      "token" : "比",
      "start_offset" : 513,
      "end_offset" : 514,
      "type" : "CN_CHAR",
      "position" : 265
    },
    {
      "token" : "增长",
      "start_offset" : 514,
      "end_offset" : 516,
      "type" : "CN_WORD",
      "position" : 266
    },
    {
      "token" : "97.3",
      "start_offset" : 517,
      "end_offset" : 521,
      "type" : "ARABIC",
      "position" : 267
    },
    {
      "token" : "成果",
      "start_offset" : 524,
      "end_offset" : 526,
      "type" : "CN_WORD",
      "position" : 268
    },
    {
      "token" : "成",
      "start_offset" : 524,
      "end_offset" : 525,
      "type" : "CN_CHAR",
      "position" : 269
    },
    {
      "token" : "果如",
      "start_offset" : 525,
      "end_offset" : 527,
      "type" : "CN_WORD",
      "position" : 270
    },
    {
      "token" : "如下",
      "start_offset" : 526,
      "end_offset" : 528,
      "type" : "CN_WORD",
      "position" : 271
    },
    {
      "token" : "br",
      "start_offset" : 530,
      "end_offset" : 532,
      "type" : "ENGLISH",
      "position" : 272
    },
    {
      "token" : "新闻",
      "start_offset" : 535,
      "end_offset" : 537,
      "type" : "CN_WORD",
      "position" : 273
    },
    {
      "token" : "曝光",
      "start_offset" : 537,
      "end_offset" : 539,
      "type" : "CN_WORD",
      "position" : 274
    },
    {
      "token" : "举例",
      "start_offset" : 539,
      "end_offset" : 541,
      "type" : "CN_WORD",
      "position" : 275
    },
    {
      "token" : "https",
      "start_offset" : 542,
      "end_offset" : 547,
      "type" : "ENGLISH",
      "position" : 276
    },
    {
      "token" : "www.autohome.com.cn",
      "start_offset" : 550,
      "end_offset" : 569,
      "type" : "LETTER",
      "position" : 277
    },
    {
      "token" : "www",
      "start_offset" : 550,
      "end_offset" : 553,
      "type" : "ENGLISH",
      "position" : 278
    },
    {
      "token" : "autohome",
      "start_offset" : 554,
      "end_offset" : 562,
      "type" : "ENGLISH",
      "position" : 279
    },
    {
      "token" : "com",
      "start_offset" : 563,
      "end_offset" : 566,
      "type" : "ENGLISH",
      "position" : 280
    },
    {
      "token" : "cn",
      "start_offset" : 567,
      "end_offset" : 569,
      "type" : "ENGLISH",
      "position" : 281
    },
    {
      "token" : "news",
      "start_offset" : 570,
      "end_offset" : 574,
      "type" : "ENGLISH",
      "position" : 282
    },
    {
      "token" : "201804",
      "start_offset" : 575,
      "end_offset" : 581,
      "type" : "ARABIC",
      "position" : 283
    },
    {
      "token" : "915688.html",
      "start_offset" : 582,
      "end_offset" : 593,
      "type" : "LETTER",
      "position" : 284
    },
    {
      "token" : "915688",
      "start_offset" : 582,
      "end_offset" : 588,
      "type" : "ARABIC",
      "position" : 285
    },
    {
      "token" : "html",
      "start_offset" : 589,
      "end_offset" : 593,
      "type" : "ENGLISH",
      "position" : 286
    },
    {
      "token" : "br",
      "start_offset" : 595,
      "end_offset" : 597,
      "type" : "ENGLISH",
      "position" : 287
    },
    {
      "token" : "b",
      "start_offset" : 598,
      "end_offset" : 599,
      "type" : "ENGLISH",
      "position" : 288
    },
    {
      "token" : "论坛",
      "start_offset" : 600,
      "end_offset" : 602,
      "type" : "CN_WORD",
      "position" : 289
    },
    {
      "token" : "活动",
      "start_offset" : 602,
      "end_offset" : 604,
      "type" : "CN_WORD",
      "position" : 290
    },
    {
      "token" : "活",
      "start_offset" : 602,
      "end_offset" : 603,
      "type" : "CN_CHAR",
      "position" : 291
    },
    {
      "token" : "动地",
      "start_offset" : 603,
      "end_offset" : 605,
      "type" : "CN_WORD",
      "position" : 292
    },
    {
      "token" : "地址",
      "start_offset" : 604,
      "end_offset" : 606,
      "type" : "CN_WORD",
      "position" : 293
    },
    {
      "token" : "https",
      "start_offset" : 608,
      "end_offset" : 613,
      "type" : "ENGLISH",
      "position" : 294
    },
    {
      "token" : "club.autohome.com.cn",
      "start_offset" : 616,
      "end_offset" : 636,
      "type" : "LETTER",
      "position" : 295
    },
    {
      "token" : "club",
      "start_offset" : 616,
      "end_offset" : 620,
      "type" : "ENGLISH",
      "position" : 296
    },
    {
      "token" : "autohome",
      "start_offset" : 621,
      "end_offset" : 629,
      "type" : "ENGLISH",
      "position" : 297
    },
    {
      "token" : "com",
      "start_offset" : 630,
      "end_offset" : 633,
      "type" : "ENGLISH",
      "position" : 298
    },
    {
      "token" : "cn",
      "start_offset" : 634,
      "end_offset" : 636,
      "type" : "ENGLISH",
      "position" : 299
    },
    {
      "token" : "bbs",
      "start_offset" : 637,
      "end_offset" : 640,
      "type" : "ENGLISH",
      "position" : 300
    },
    {
      "token" : "thread",
      "start_offset" : 641,
      "end_offset" : 647,
      "type" : "ENGLISH",
      "position" : 301
    },
    {
      "token" : "7fc721404489d922",
      "start_offset" : 648,
      "end_offset" : 664,
      "type" : "LETTER",
      "position" : 302
    },
    {
      "token" : "7",
      "start_offset" : 648,
      "end_offset" : 649,
      "type" : "ARABIC",
      "position" : 303
    },
    {
      "token" : "fc",
      "start_offset" : 649,
      "end_offset" : 651,
      "type" : "ENGLISH",
      "position" : 304
    },
    {
      "token" : "721404489",
      "start_offset" : 651,
      "end_offset" : 660,
      "type" : "ARABIC",
      "position" : 305
    },
    {
      "token" : "d",
      "start_offset" : 660,
      "end_offset" : 661,
      "type" : "ENGLISH",
      "position" : 306
    },
    {
      "token" : "922",
      "start_offset" : 661,
      "end_offset" : 664,
      "type" : "ARABIC",
      "position" : 307
    },
    {
      "token" : "72434411-1.html",
      "start_offset" : 665,
      "end_offset" : 680,
      "type" : "LETTER",
      "position" : 308
    },
    {
      "token" : "72434411",
      "start_offset" : 665,
      "end_offset" : 673,
      "type" : "ARABIC",
      "position" : 309
    },
    {
      "token" : "1",
      "start_offset" : 674,
      "end_offset" : 675,
      "type" : "ARABIC",
      "position" : 310
    },
    {
      "token" : "html",
      "start_offset" : 676,
      "end_offset" : 680,
      "type" : "ENGLISH",
      "position" : 311
    },
    {
      "token" : "br",
      "start_offset" : 682,
      "end_offset" : 684,
      "type" : "ENGLISH",
      "position" : 312
    },
    {
      "token" : "br",
      "start_offset" : 687,
      "end_offset" : 689,
      "type" : "ENGLISH",
      "position" : 313
    },
    {
      "token" : "3",
      "start_offset" : 690,
      "end_offset" : 691,
      "type" : "ARABIC",
      "position" : 314
    },
    {
      "token" : "撰写",
      "start_offset" : 692,
      "end_offset" : 694,
      "type" : "CN_WORD",
      "position" : 315
    },
    {
      "token" : "原创",
      "start_offset" : 694,
      "end_offset" : 696,
      "type" : "CN_WORD",
      "position" : 316
    },
    {
      "token" : "内容",
      "start_offset" : 696,
      "end_offset" : 698,
      "type" : "CN_WORD",
      "position" : 317
    },
    {
      "token" : "作品",
      "start_offset" : 698,
      "end_offset" : 700,
      "type" : "CN_WORD",
      "position" : 318
    },
    {
      "token" : "抢占",
      "start_offset" : 701,
      "end_offset" : 703,
      "type" : "CN_WORD",
      "position" : 319
    },
    {
      "token" : "汽车",
      "start_offset" : 703,
      "end_offset" : 705,
      "type" : "CN_WORD",
      "position" : 320
    },
    {
      "token" : "之家",
      "start_offset" : 705,
      "end_offset" : 707,
      "type" : "CN_WORD",
      "position" : 321
    },
    {
      "token" : "首页",
      "start_offset" : 707,
      "end_offset" : 709,
      "type" : "CN_WORD",
      "position" : 322
    },
    {
      "token" : "首",
      "start_offset" : 709,
      "end_offset" : 710,
      "type" : "CN_CHAR",
      "position" : 323
    },
    {
      "token" : "屏",
      "start_offset" : 710,
      "end_offset" : 711,
      "type" : "CN_CHAR",
      "position" : 324
    },
    {
      "token" : "文字",
      "start_offset" : 711,
      "end_offset" : 713,
      "type" : "CN_WORD",
      "position" : 325
    },
    {
      "token" : "链",
      "start_offset" : 713,
      "end_offset" : 714,
      "type" : "CN_CHAR",
      "position" : 326
    },
    {
      "token" : "和",
      "start_offset" : 714,
      "end_offset" : 715,
      "type" : "CN_CHAR",
      "position" : 327
    },
    {
      "token" : "论坛",
      "start_offset" : 715,
      "end_offset" : 717,
      "type" : "CN_WORD",
      "position" : 328
    },
    {
      "token" : "相关",
      "start_offset" : 717,
      "end_offset" : 719,
      "type" : "CN_WORD",
      "position" : 329
    },
    {
      "token" : "位置",
      "start_offset" : 719,
      "end_offset" : 721,
      "type" : "CN_WORD",
      "position" : 330
    },
    {
      "token" : "争取",
      "start_offset" : 722,
      "end_offset" : 724,
      "type" : "CN_WORD",
      "position" : 331
    },
    {
      "token" : "免费",
      "start_offset" : 724,
      "end_offset" : 726,
      "type" : "CN_WORD",
      "position" : 332
    },
    {
      "token" : "露出",
      "start_offset" : 726,
      "end_offset" : 728,
      "type" : "CN_WORD",
      "position" : 333
    },
    {
      "token" : "露",
      "start_offset" : 726,
      "end_offset" : 727,
      "type" : "CN_CHAR",
      "position" : 334
    },
    {
      "token" : "出位",
      "start_offset" : 727,
      "end_offset" : 729,
      "type" : "CN_WORD",
      "position" : 335
    },
    {
      "token" : "br",
      "start_offset" : 731,
      "end_offset" : 733,
      "type" : "ENGLISH",
      "position" : 336
    },
    {
      "token" : "小",
      "start_offset" : 736,
      "end_offset" : 737,
      "type" : "CN_CHAR",
      "position" : 337
    },
    {
      "token" : "鹏",
      "start_offset" : 737,
      "end_offset" : 738,
      "type" : "CN_CHAR",
      "position" : 338
    },
    {
      "token" : "汽车",
      "start_offset" : 738,
      "end_offset" : 740,
      "type" : "CN_WORD",
      "position" : 339
    },
    {
      "token" : "1.0",
      "start_offset" : 741,
      "end_offset" : 744,
      "type" : "ARABIC",
      "position" : 340
    },
    {
      "token" : "评测",
      "start_offset" : 745,
      "end_offset" : 747,
      "type" : "CN_WORD",
      "position" : 341
    },
    {
      "token" : "宝剑锋从磨砺出",
      "start_offset" : 748,
      "end_offset" : 755,
      "type" : "CN_WORD",
      "position" : 342
    },
    {
      "token" : "宝剑锋",
      "start_offset" : 748,
      "end_offset" : 751,
      "type" : "CN_WORD",
      "position" : 343
    },
    {
      "token" : "宝剑",
      "start_offset" : 748,
      "end_offset" : 750,
      "type" : "CN_WORD",
      "position" : 344
    },
    {
      "token" : "从",
      "start_offset" : 751,
      "end_offset" : 752,
      "type" : "CN_CHAR",
      "position" : 345
    },
    {
      "token" : "锋",
      "start_offset" : 750,
      "end_offset" : 751,
      "type" : "CN_CHAR",
      "position" : 346
    },
    {
      "token" : "从",
      "start_offset" : 751,
      "end_offset" : 752,
      "type" : "CN_CHAR",
      "position" : 347
    },
    {
      "token" : "磨砺",
      "start_offset" : 752,
      "end_offset" : 754,
      "type" : "CN_WORD",
      "position" : 348
    },
    {
      "token" : "出",
      "start_offset" : 754,
      "end_offset" : 755,
      "type" : "CN_CHAR",
      "position" : 349
    },
    {
      "token" : "https",
      "start_offset" : 756,
      "end_offset" : 761,
      "type" : "ENGLISH",
      "position" : 350
    },
    {
      "token" : "chejiahao.autohome.com.cn",
      "start_offset" : 764,
      "end_offset" : 789,
      "type" : "LETTER",
      "position" : 351
    },
    {
      "token" : "chejiahao",
      "start_offset" : 764,
      "end_offset" : 773,
      "type" : "ENGLISH",
      "position" : 352
    },
    {
      "token" : "autohome",
      "start_offset" : 774,
      "end_offset" : 782,
      "type" : "ENGLISH",
      "position" : 353
    },
    {
      "token" : "com",
      "start_offset" : 783,
      "end_offset" : 786,
      "type" : "ENGLISH",
      "position" : 354
    },
    {
      "token" : "cn",
      "start_offset" : 787,
      "end_offset" : 789,
      "type" : "ENGLISH",
      "position" : 355
    },
    {
      "token" : "info",
      "start_offset" : 790,
      "end_offset" : 794,
      "type" : "ENGLISH",
      "position" : 356
    },
    {
      "token" : "2239269",
      "start_offset" : 795,
      "end_offset" : 802,
      "type" : "ARABIC",
      "position" : 357
    },
    {
      "token" : "br",
      "start_offset" : 804,
      "end_offset" : 806,
      "type" : "ENGLISH",
      "position" : 358
    },
    {
      "token" : "b",
      "start_offset" : 807,
      "end_offset" : 808,
      "type" : "ENGLISH",
      "position" : 359
    },
    {
      "token" : "一路",
      "start_offset" : 809,
      "end_offset" : 811,
      "type" : "CN_WORD",
      "position" : 360
    },
    {
      "token" : "一",
      "start_offset" : 809,
      "end_offset" : 810,
      "type" : "TYPE_CNUM",
      "position" : 361
    },
    {
      "token" : "路向",
      "start_offset" : 810,
      "end_offset" : 812,
      "type" : "CN_WORD",
      "position" : 362
    },
    {
      "token" : "路",
      "start_offset" : 810,
      "end_offset" : 811,
      "type" : "COUNT",
      "position" : 363
    },
    {
      "token" : "向北",
      "start_offset" : 811,
      "end_offset" : 813,
      "type" : "CN_WORD",
      "position" : 364
    },
    {
      "token" : "小",
      "start_offset" : 814,
      "end_offset" : 815,
      "type" : "CN_CHAR",
      "position" : 365
    },
    {
      "token" : "鹏",
      "start_offset" : 815,
      "end_offset" : 816,
      "type" : "CN_CHAR",
      "position" : 366
    },
    {
      "token" : "汽车",
      "start_offset" : 816,
      "end_offset" : 818,
      "type" : "CN_WORD",
      "position" : 367
    },
    {
      "token" : "广州",
      "start_offset" : 818,
      "end_offset" : 820,
      "type" : "CN_WORD",
      "position" : 368
    },
    {
      "token" : "北京",
      "start_offset" : 821,
      "end_offset" : 823,
      "type" : "CN_WORD",
      "position" : 369
    },
    {
      "token" : "自驾游",
      "start_offset" : 823,
      "end_offset" : 826,
      "type" : "CN_WORD",
      "position" : 370
    },
    {
      "token" : "自驾",
      "start_offset" : 823,
      "end_offset" : 825,
      "type" : "CN_WORD",
      "position" : 371
    },
    {
      "token" : "游记",
      "start_offset" : 825,
      "end_offset" : 827,
      "type" : "CN_WORD",
      "position" : 372
    },
    {
      "token" : "https",
      "start_offset" : 828,
      "end_offset" : 833,
      "type" : "ENGLISH",
      "position" : 373
    },
    {
      "token" : "chejiahao.autohome.com.cn",
      "start_offset" : 836,
      "end_offset" : 861,
      "type" : "LETTER",
      "position" : 374
    },
    {
      "token" : "chejiahao",
      "start_offset" : 836,
      "end_offset" : 845,
      "type" : "ENGLISH",
      "position" : 375
    },
    {
      "token" : "autohome",
      "start_offset" : 846,
      "end_offset" : 854,
      "type" : "ENGLISH",
      "position" : 376
    },
    {
      "token" : "com",
      "start_offset" : 855,
      "end_offset" : 858,
      "type" : "ENGLISH",
      "position" : 377
    },
    {
      "token" : "cn",
      "start_offset" : 859,
      "end_offset" : 861,
      "type" : "ENGLISH",
      "position" : 378
    },
    {
      "token" : "info",
      "start_offset" : 862,
      "end_offset" : 866,
      "type" : "ENGLISH",
      "position" : 379
    },
    {
      "token" : "2290598",
      "start_offset" : 867,
      "end_offset" : 874,
      "type" : "ARABIC",
      "position" : 380
    },
    {
      "token" : "span",
      "start_offset" : 877,
      "end_offset" : 881,
      "type" : "ENGLISH",
      "position" : 381
    }
  ]
}

其中有问题的点:
在这里插入图片描述

对应文本内容:
在这里插入图片描述

尝试修改文本内容,测试问题是否消失

删除文本中宝剑锋从磨砺出中的字,再次执行,发现异常消失,内容可以正常分词。

尝试缩短文本,测试问题是否消失

POST test_2022/_analyze
{
  "field": "workContent.chinese",
  "text": "宝剑锋从磨砺出"
  
}

测试结果:

{
  "tokens" : [
    {
      "token" : "宝剑锋从磨砺出",
      "start_offset" : 0,
      "end_offset" : 7,
      "type" : "CN_WORD",
      "position" : 0
    },
    {
      "token" : "宝剑锋",
      "start_offset" : 0,
      "end_offset" : 3,
      "type" : "CN_WORD",
      "position" : 1
    },
    {
      "token" : "宝剑",
      "start_offset" : 0,
      "end_offset" : 2,
      "type" : "CN_WORD",
      "position" : 2
    },
    {
      "token" : "从",
      "start_offset" : 3,
      "end_offset" : 4,
      "type" : "CN_CHAR",
      "position" : 3
    },
    {
      "token" : "锋",
      "start_offset" : 2,
      "end_offset" : 3,
      "type" : "CN_CHAR",
      "position" : 4
    },
    {
      "token" : "从",
      "start_offset" : 3,
      "end_offset" : 4,
      "type" : "CN_CHAR",
      "position" : 5
    },
    {
      "token" : "磨砺",
      "start_offset" : 4,
      "end_offset" : 6,
      "type" : "CN_WORD",
      "position" : 6
    },
    {
      "token" : "出",
      "start_offset" : 6,
      "end_offset" : 7,
      "type" : "CN_CHAR",
      "position" : 7
    }
  ]
}

测试发现问题依然出现,说明问题和文本长度无关,仅仅只是因为这个一小段文本引起的。

进一步缩写异常文本范围

测试发现宝剑锋从磨砺出 已经是最短的能触发异常的文本了。

深入调研BUG的原因

BUG解决方案

方案1 上传自定义的分词库

宝剑锋从磨砺出 设置为独立的分词,不再智能拆分。

新建一个extend.dic 的文本文件,里面添加一行内容宝剑锋从磨砺出
将文件放入Es安装目录,并修改IKAnalyzer.cfg.xml 文件,增加扩展字典配置。重启ES实例就可以。
已经创建的索引需要重新创建,否则分词不生效。

如果是阿里云的ES服务器,则直接使用阿里云的热更新 即可(IK热更新首次触发重启,之后更新同名词典底层不会触发重启。)。

在这里插入图片描述

实例重启后,重建索引,再次测试验证
POST test_2022/_analyze
{
  "field": "workContent.chinese",
  "text": "宝剑锋从磨砺出"
  
}

测试结果:

{
  "tokens" : [
    {
      "token" : "宝剑锋从磨砺出",
      "start_offset" : 0,
      "end_offset" : 7,
      "type" : "CN_WORD",
      "position" : 0
    },
    {
      "token" : "宝剑锋",
      "start_offset" : 0,
      "end_offset" : 3,
      "type" : "CN_WORD",
      "position" : 1
    },
    {
      "token" : "宝剑",
      "start_offset" : 0,
      "end_offset" : 2,
      "type" : "CN_WORD",
      "position" : 2
    },
    {
      "token" : "锋",
      "start_offset" : 2,
      "end_offset" : 3,
      "type" : "CN_CHAR",
      "position" : 3
    },
    {
      "token" : "从",
      "start_offset" : 3,
      "end_offset" : 4,
      "type" : "CN_CHAR",
      "position" : 4
    },
    {
      "token" : "磨砺",
      "start_offset" : 4,
      "end_offset" : 6,
      "type" : "CN_WORD",
      "position" : 5
    },
    {
      "token" : "出",
      "start_offset" : 6,
      "end_offset" : 7,
      "type" : "CN_CHAR",
      "position" : 6
    }
  ]
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/546870.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

kafka(六)——存储策略

存储机制 kafka通过topic作为主题缓存数据&#xff0c;一个topic主题可以包括多个partition&#xff0c;每个partition是一个有序的队列&#xff0c;同一个topic的不同partiton可以分配在不同的broker&#xff08;kafka服务器&#xff09;。 关系图 partition分布图 名称为t…

互联网元搜索引擎SearXNG

最近有个很火的项目叫 FreeAskInternet&#xff0c;其工作原理是&#xff1a; 第一步、用户提出问题第二步、用 SearXNG&#xff08;本地运行&#xff09;在多个搜索引擎上进行搜索第三步、将搜索结果传入 LLM 生成答案 所有进程都在本地运行&#xff0c;适用于需要快速获取信…

【深度学习】AI修图——DragGAN原理解析

1、前言 上一篇&#xff0c;我们讲述了StyleGAN2。这一篇&#xff0c;我们就来讲一个把StyleGAN2作为基底架构的DragGAN。DragGAN的作用主要是对图片进行编辑&#xff0c;说厉害点&#xff0c;可能和AI修图差不多。这篇论文比较新&#xff0c;发表自2023年 原论文&#xff1a…

vscode中调试C++程序,解读debug步骤

下面对几个调试的按键进行解释&#xff1a; 按钮1&#xff1a;运行/继续 F5&#xff0c;真正的一步一步运行。当有断点的时候&#xff0c;只会执行断点所在行语句和开头结尾两行语句。 按钮2&#xff1a;单步跳过(又叫逐过程) F10&#xff0c;按语句单步执行。当有函数时&#…

制作适用于openstack平台的win10镜像

1. 安装准备 从MSDN下载windows 10的镜像虚拟机开启CPU虚拟化的功能。从Fedora 网站下载已签名的 VirtIO 驱动程序 ISO 。 创建15 GB 的 qcow2 镜像&#xff1a;qemu-img create -f qcow2 win10.qcow2 15G 安装必要的软件 yum install qemu-kvm qemu-img virt-manager libvir…

【Docker系列】容器访问宿主机的Mysql

&#x1f49d;&#x1f49d;&#x1f49d;欢迎来到我的博客&#xff0c;很高兴能够在这里和您见面&#xff01;希望您在这里可以感受到一份轻松愉快的氛围&#xff0c;不仅可以获得有趣的内容和知识&#xff0c;也可以畅所欲言、分享您的想法和见解。 推荐:kwan 的首页,持续学…

Mac M1(ARM) 使用Vmware Fusion从零搭建k8s集群

该笔记仅用于自己学习&#xff1b;上一篇安装了环境&#xff0c;这一篇开始 Mac M1(ARM) 使用Vmware Fusion从零搭建k8s集群【参考】 VMware Fusion下修改vmnet8网络和添加vmnet网络 【注意如下】 虚拟机ip修改的位置修改的&#xff0c;记得开启宿主机的mac os 网络共享&#…

有依赖的的动态规划问题

题目 题型分析 这是比较典型的动态规划的问题。动态规划是什么呢&#xff1f;本质上动态规划是对递归的优化。例如&#xff0c;兔子数列&#xff1a;f(x) f(x - 1) f(x -2), 我们知道 f 代表了计算公式&#xff0c;这里解放思想一下&#xff0c;如果 f 替换为数组&#xff0…

vue实现前端打印效果

如图效果所示&#xff08;以下演示代码&#xff09; <template><div><el-button v-print"printObj" type"primary" plain click"handle">{{ text }}</el-button><div style"display: none"><div id…

基于Springboot+Vue的Java项目-在线视频教育平台系统(附演示视频+源码+LW)

大家好&#xff01;我是程序员一帆&#xff0c;感谢您阅读本文&#xff0c;欢迎一键三连哦。 &#x1f49e;当前专栏&#xff1a;Java毕业设计 精彩专栏推荐&#x1f447;&#x1f3fb;&#x1f447;&#x1f3fb;&#x1f447;&#x1f3fb; &#x1f380; Python毕业设计 &am…

鸿蒙OS开发指导:【应用包签名工具】

编译构建 该工具基于Maven3编译构建&#xff0c;请确认环境已安装配置Maven3环境&#xff0c;并且版本正确 mvn -version下载代码&#xff0c;命令行打开文件目录至developtools_hapsigner/hapsigntool&#xff0c;执行命令进行编译打包 mvn package编译后得到二进制文件&…

[开发日志系列]PDF图书在线系统20240415

20240414 Step1: 创建基础vueelment项目框架[耗时: 1h25min(8:45-10:10)] 检查node > 升级至最新 (考虑到时间问题,没有使用npm命令行执行,而是觉得删除重新下载最新版本) > > 配置vue3框架 ​ 取名:Online PDF Book System 遇到的报错: 第一报错: npm ERR! …

halcon 3.2标定相机

参考《solution_guide_iii_c_3d_vision.pdf》 3.2.2.2 Which Distortion Model to Use 选用何种畸变模型 对于面阵相机&#xff0c;halcon中两种畸变模型&#xff1a;The division model and the polynomial model&#xff08;差分模型和多项式模型&#xff09;&#xff0c;前…

使用 Scrapy 爬取豆瓣电影 Top250

一、Scrapy框架 1. 介绍 在当今数字化的时代&#xff0c;数据是一种宝贵的资源&#xff0c;而网络爬虫&#xff08;Web Scraping&#xff09;则是获取网络数据的重要工具之一。而在 Python 生态系统中&#xff0c;Scrapy 框架作为一种高效、灵活的网络爬虫框架&#xff0c;为…

MLOps

参考&#xff1a; 什么是MLOps&#xff1f;与DevOps有何异同&#xff1f;有什么价值&#xff1f;https://baijiahao.baidu.com/s?id1765071998288593530&wfrspider&forpcMLOps简介_AI开发平台ModelArts_WorkflowMLOps(Machine Learning Operation)是机器学习&#xf…

更优性能与性价比,从自建 ELK 迁移到 SLS 开始

作者&#xff1a;荆磊 背景 ELK (Elasticsearch、Logstash、Kibana) 是当下开源领域主流的日志解决方案&#xff0c;在可观测场景下有比较广泛的应用。 随着数字化进程加速&#xff0c;机器数据日志增加&#xff0c;自建 ELK 在面临大规模数据、查询性能等方面有较多问题和挑…

【自动驾驶】贝叶斯算法在机器学习中的应用研究

目录 第一章&#xff1a;引言 1.1 贝叶斯算法在机器学习中的重要性 1.2 研究背景 1.3 研究目的 1.4 论文结构 第二章&#xff1a;贝叶斯算法概述 2.1 贝叶斯定理 2.2 贝叶斯算法分类 第三章&#xff1a;贝叶斯算法在机器学习中的应用 3.1 贝叶斯分类器 3.2 贝叶斯回…

【软考】UML中的图之用例图

目录 1. 说明2. 建模2.1 说明2.2 语境建模2.3 需求建模 3. 图示4. 组成部分 1. 说明 1.用例图&#xff08;Use Case Diagram&#xff09;。2.展现了一组用例、参与者&#xff08;Actor&#xff09;以及它们之间的关系。3.用例图通常包括以下的内容&#xff1a;用例、参与者、用…

linux 自定义快捷指令(docker

vi /root/.bashrc alias disdocker images alias dpsdocker ps --format "table {{.ID}}\t{{.Image}}\t{{.Ports}}\t{{.Status}}\t{{.Names}}" 保存退出后使用sourece /root/.bashrc 让其立即生效 sourece /root/.bashrc

python 判断变量是数字型还是字符型

python如何判断数据类型&#xff1f;方法如下&#xff1a; 使用type()函数&#xff1a; import types type(x) is types.IntType # 判断是否int 类型 type(x) is types.StringType #是否string类型可以不用记住types.StringType&#xff0c;即&#xff1a; import types type(…