mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Update docstrings and API docs for Token
This commit is contained in:
parent
4ed6a36622
commit
7ed8a92ed1
|
@ -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.
|
||||
"""
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user