修改样本查询bug
This commit is contained in:
-2
@@ -198,8 +198,6 @@ public class CityProcessor extends AbstractAddressProcessor {
|
|||||||
index += city.length();
|
index += city.length();
|
||||||
if(province != null && (orgAddress.contains(province + city) || orgAddress.contains(ProvinceData.getDisplay(province) + city))){
|
if(province != null && (orgAddress.contains(province + city) || orgAddress.contains(ProvinceData.getDisplay(province) + city))){
|
||||||
weight.score += 2;
|
weight.score += 2;
|
||||||
}else{
|
|
||||||
weight.score += 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Map<String, List<String>> regionMap = RegionData.getAllRegions(city);
|
Map<String, List<String>> regionMap = RegionData.getAllRegions(city);
|
||||||
|
|||||||
Reference in New Issue
Block a user