From 68b647f572654090055213dd50fe38462bb2d7f1 Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 19 May 2016 01:00:51 -0400 Subject: [PATCH] [fix] args --- scripts/geodata/addresses/components.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/geodata/addresses/components.py b/scripts/geodata/addresses/components.py index 8327c8ec..4c63a2f5 100644 --- a/scripts/geodata/addresses/components.py +++ b/scripts/geodata/addresses/components.py @@ -348,7 +348,7 @@ class AddressComponents(object): else: return num_type - def is_numeric(self, component, language, country=None): + def is_numeric(self, component): tokens = tokenize(component) return sum((1 for t, c in tokens if c == token_types.NUMERIC or c not in token_types.WORD_TOKEN_TYPES)) == len(tokens)