diff --git a/spacy/language.py b/spacy/language.py index 373b744c1..3087a2373 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -119,7 +119,7 @@ class Language(object): attrs.IS_TITLE: cls.is_title, attrs.IS_UPPER: cls.is_upper, attrs.LIKE_URL: cls.like_url, - attrs.LIKE_NUM: cls.like_number, + attrs.LIKE_NUM: cls.like_num, attrs.LIKE_EMAIL: cls.like_email, attrs.IS_STOP: cls.is_stop, attrs.IS_OOV: lambda string: True