diff --git a/spacy/tokens/token.pyx b/spacy/tokens/token.pyx index fb459b155..7dc970fa1 100644 --- a/spacy/tokens/token.pyx +++ b/spacy/tokens/token.pyx @@ -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. """ diff --git a/website/docs/api/token.jade b/website/docs/api/token.jade index f2fb6ca47..9be41081c 100644 --- a/website/docs/api/token.jade +++ b/website/docs/api/token.jade @@ -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')