mirror of https://github.com/explosion/spaCy.git
* Fix name of like_num in default_lex_attrs
This commit is contained in:
parent
e96faf29e7
commit
adc7bbd6cf
|
@ -119,7 +119,7 @@ class Language(object):
|
||||||
attrs.IS_TITLE: cls.is_title,
|
attrs.IS_TITLE: cls.is_title,
|
||||||
attrs.IS_UPPER: cls.is_upper,
|
attrs.IS_UPPER: cls.is_upper,
|
||||||
attrs.LIKE_URL: cls.like_url,
|
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.LIKE_EMAIL: cls.like_email,
|
||||||
attrs.IS_STOP: cls.is_stop,
|
attrs.IS_STOP: cls.is_stop,
|
||||||
attrs.IS_OOV: lambda string: True
|
attrs.IS_OOV: lambda string: True
|
||||||
|
|
Loading…
Reference in New Issue