diff --git a/website/docs/api/top-level.mdx b/website/docs/api/top-level.mdx index 4aaa6dd96..23cc950c1 100644 --- a/website/docs/api/top-level.mdx +++ b/website/docs/api/top-level.mdx @@ -370,6 +370,7 @@ displaCy's different data formats below. | -------------- | ----------------------------------------------------------------------------------------------------------- | | `words` | List of dictionaries describing a word token (see structure below). ~~List[Dict[str, Any]]~~ | | `arcs` | List of dictionaries describing the relations between words (see structure below). ~~List[Dict[str, Any]]~~ | +| _Optional_ | | | `settings` | Dependency Visualizer options (see [here](/api/top-level#displacy_options)). ~~Dict[str, Any]~~ | @@ -410,6 +411,7 @@ displaCy's different data formats below. | `text` | String representation of the document text. ~~str~~ | | `ents` | List of dictionaries describing entities (see structure below). ~~List[Dict[str, Any]]~~ | | `title` | Title of the visualization. ~~str~~ | +| _Optional_ | | | `settings` | Entity Visualizer options (see [here](/api/top-level#displacy_options)). ~~Dict[str, Any]~~ | @@ -419,6 +421,7 @@ displaCy's different data formats below. | `start` | The index of the first token of the entity. ~~int~~ | | `end` | The index of the last token of the entity. ~~int~~ | | `label` | Label attached to the entity. ~~str~~ | +| _Optional_ | | | `kb_id` | `KnowledgeBase` ID. ~~str~~ | | `kb_url` | `KnowledgeBase` URL. ~~str~~ | @@ -445,6 +448,7 @@ displaCy's different data formats below. | `spans` | List of dictionaries describing spans (see structure below). ~~List[Dict[str, Any]]~~ | | `title` | Title of the visualization. ~~str~~ | | `tokens` | List of word tokens. ~~List[str]~~ | +| _Optional_ | | | `settings` | Span Visualizer options (see [here](/api/top-level#displacy_options)). ~~Dict[str, Any]~~ | @@ -456,6 +460,7 @@ displaCy's different data formats below. | `start_token` | The index of the first token of the span in `tokens`. ~~int~~ | | `end_token` | The index of the last token of the span in `tokens`. ~~int~~ | | `label` | Label attached to the span. ~~str~~ | +| _Optional_ | | | `kb_id` | `KnowledgeBase` ID. ~~str~~ | | `kb_url` | `KnowledgeBase` URL. ~~str~~ |