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)