From adc7bbd6cf4e0343f19c1aafd27c25dc0680d334 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 4 Nov 2015 22:02:47 +1100 Subject: [PATCH] * Fix name of like_num in default_lex_attrs --- spacy/language.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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