[fix] argument order

This commit is contained in:
Al
2015-11-27 11:47:39 -05:00
parent 51f6a82727
commit 3eea355352

View File

@@ -350,7 +350,7 @@ def osm_reverse_geocoded_components(admin_rtree, country, latitude, longitude):
return ret
def build_address_format_training_data(infile, out_dir, admin_rtree, language_rtree, neighborhoods_rtree, quattroshapes_rtree, geonames, tag_components=True):
def build_address_format_training_data(admin_rtree, language_rtree, neighborhoods_rtree, quattroshapes_rtree, geonames, infile, out_dir, tag_components=True):
'''
Creates formatted address training data for supervised sequence labeling (or potentially
for unsupervised learning e.g. for word vectors) using addr:* tags in OSM.