[fix] street addresses by language

This commit is contained in:
Al
2015-08-15 02:44:04 -04:00
parent 74a751ce0a
commit 548ce79b99

View File

@@ -589,7 +589,7 @@ if __name__ == '__main__':
# Can parallelize
if args.streets_file:
build_ways_training_data(language_rtree, args.streets_file, args.out_dir)
if args.address_file and not args.format_only:
if args.address_file and not args.format_only and not args.no_house_names:
build_address_training_data(language_rtree, args.address_file, args.out_dir)
if args.address_file and args.format_only:
build_address_format_training_data(language_rtree, args.address_file, args.out_dir)