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) return numpy.asarray(vector_view)
property vector_norm: 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. RETURNS (float): The L2 norm of the vector representation.
""" """

View File

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