地址识别,个别地址识别返回
rsung_dhb 发布于2021-01 浏览:1762 回复:1
0
收藏

地址识别,个别地址识别返回乱码。如:黄河中路二段圣菲TOWN城20-1-802。

返回值为:

array(15) {
  ["log_id"]=>
  int(1354365967328608256)
  ["town"]=>
  string(9) "涓矾"
  ["lng"]=>
  int(0)
  ["city"]=>
  string(0) ""
  ["county_code"]=>
  string(0) ""
  ["county"]=>
  string(0) ""
  ["city_code"]=>
  string(0) ""
  ["phonenum"]=>
  string(0) ""
  ["province_code"]=>
  string(0) ""
  ["town_code"]=>
  string(0) ""
  ["province"]=>
  string(0) ""
  ["person"]=>
  string(0) ""
  ["detail"]=>
  string(42) "榛勬渤浜屾鍦h彶TOWN鍩?0-1-802"
  ["text"]=>
  string(51) "榛勬渤涓矾浜屾鍦h彶TOWN鍩?0-1-802"
  ["lat"]=>
  int(0)
}

修改为:黄河中路二段圣菲TOWN城20-1-802能正常识别

返回值为:

array(15) {
  ["log_id"]=>
  int(1354366228424032256)
  ["town"]=>
  string(15) "西航港街道"
  ["lng"]=>
  float(104.009881)
  ["city"]=>
  string(9) "成都市"
  ["county_code"]=>
  string(6) "510116"
  ["county"]=>
  string(9) "双流区"
  ["city_code"]=>
  string(6) "510100"
  ["phonenum"]=>
  string(0) ""
  ["province_code"]=>
  string(6) "510000"
  ["town_code"]=>
  string(9) "510116002"
  ["province"]=>
  string(9) "四川省"
  ["person"]=>
  string(0) ""
  ["detail"]=>
  string(39) "黄河中路二段圣菲TOWN城20-1-802"
  ["text"]=>
  string(45) "双流黄河中路二段圣菲TOWN城20-1-802"
  ["lat"]=>
  float(30.57566)
}
收藏
点赞
0
个赞
共1条回复 最后由饭小团回复于2021-01
#2饭小团回复于2021-01

好的,您客气加下自然语言处理的支持群,方便后续沟通

0
TOP
切换版块