Fix import typo in docs

This commit is contained in:
Viksit Gaur 2015-03-12 13:13:42 -07:00
parent 2e8d0e5d45
commit fc1d1456de
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ Features
>>> tokens = nlp('Apple computers')
>>> tokens[0].is_alpha, tokens[0].is_upper
>>> True, False
>>> from spact.en.attrs import IS_ALPHA, IS_UPPER
>>> from spacy.en.attrs import IS_ALPHA, IS_UPPER
>>> tokens.to_array((IS_ALPHA, IS_UPPER))[0]
array([1, 0])