Update docstrings and API docs for Token

This commit is contained in:
ines 2017-05-20 15:13:33 +02:00
parent 4ed6a36622
commit 7ed8a92ed1
2 changed files with 3 additions and 5 deletions

View File

@ -262,7 +262,7 @@ cdef class Token:
return numpy.asarray(vector_view)
property vector_norm:
"""The L2 norm of the document's vector representation.
"""The L2 norm of the token's vector representation.
RETURNS (float): The L2 norm of the vector representation.
"""

View File

@ -239,8 +239,7 @@ p
+tag property
+tag-model("vectors")
p
| A real-valued meaning representation.
p A real-valued meaning representation.
+aside-code("Example").
doc = nlp(u'I like apples')
@ -258,8 +257,7 @@ p
+tag property
+tag-model("vectors")
p
| The L2 norm of the token's vector representation.
p The L2 norm of the token's vector representation.
+aside-code("Example").
doc = nlp(u'I like apples and pasta')