|
From: Roger G. <ro...@co...> - 2007-02-15 22:04:21
|
Hi I don't know if anyone else as noticed but with the standard variant if and order specifies the 'Ionian Sea' province using the string 'Ionian' the parse reports this as being ambigous between the provinces ( London , Livonia , Ionian Sea ) as these all have the same levenstien distance. I've attached a patch (or a can send thesf.net tracker) which fixes this by changing map.getProvincesMatchingCloset() to use the same algorithm as map.GetProvinceMatching() . It also and is requried to fix my gripe fixes a coding error in findPartialProvinceMatch() . Any chance the can be applied to HEAD? TTFN -- Roger. Home| http://www.sandman.uklinux.net/ Master of Peng Shui. (Ancient oriental art of Penguin Arranging) Work|Independent Sys Consultant | http://www.computer-surgery.co.uk/ New key Fpr: 1227 ABB1 7545 77A7 6816 2D18 4EBC AA9B 8EE3 1DD3 |