fix detection of suffix/prefix changes for name-changes

This commit is contained in:
Moritz Kobitzsch
2017-08-17 15:31:13 +02:00
parent 2ddd98ee6d
commit 884ce4025b
5 changed files with 130 additions and 56 deletions
+2 -2
View File
@@ -34,9 +34,9 @@ function setup()
speed_reduction = 0.8,
turn_bias = 1.075,
-- a list of suffixes to suppress in name change instructions
-- a list of suffixes to suppress in name change instructions. The suffixes also include common substrings of each other
suffix_list = {
'N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW', 'North', 'South', 'West', 'East'
'N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW', 'North', 'South', 'West', 'East', 'Nor', 'Sou', 'We', 'Ea'
},
barrier_whitelist = Set {