|
@@ -98,6 +98,7 @@ func ExtractDistrict(field []string, bres bool, c, p, id string) (bool, string,
|
|
|
bres = true
|
|
|
} else { //对比抽到的城市省份是否一致
|
|
|
if c != ctmp || p != ptmp {
|
|
|
+ log.Println("str---", str, "====", word)
|
|
|
log.Println("district: City And Province, Inconsistent Before And After,Id:", id, c, p, ctmp, ptmp, d)
|
|
|
c = ctmp
|
|
|
p = ptmp
|
|
@@ -124,6 +125,7 @@ func ExtractDistrict(field []string, bres bool, c, p, id string) (bool, string,
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ return bres, p, c, d
|
|
|
}
|
|
|
}
|
|
|
}
|