Update doc.md (#4796)

This commit is contained in:
Thiago Lages de Alencar 2019-12-11 14:21:40 -03:00 committed by Ines Montani
parent 5355b0038f
commit a067ded495

View File

@ -7,7 +7,7 @@ source: spacy/tokens/doc.pyx
A `Doc` is a sequence of [`Token`](/api/token) objects. Access sentences and A `Doc` is a sequence of [`Token`](/api/token) objects. Access sentences and
named entities, export annotations to numpy arrays, losslessly serialize to named entities, export annotations to numpy arrays, losslessly serialize to
compressed binary strings. The `Doc` object holds an array of `TokenC]` structs. compressed binary strings. The `Doc` object holds an array of [`TokenC`](/api/cython-structs#tokenc) structs.
The Python-level `Token` and [`Span`](/api/span) objects are views of this The Python-level `Token` and [`Span`](/api/span) objects are views of this
array, i.e. they don't own the data themselves. array, i.e. they don't own the data themselves.