From a74cba2ffa548e829a56af3a2297c4c0390f0768 Mon Sep 17 00:00:00 2001 From: ines Date: Tue, 17 Oct 2017 16:27:17 +0200 Subject: [PATCH] Remove Binder from docs (now covered by Doc API) --- website/api/_data.json | 10 +--------- website/api/binder.jade | 7 ------- website/usage/_spacy-101/_architecture.jade | 4 ---- website/usage/v2.jade | 8 ++++++-- 4 files changed, 7 insertions(+), 22 deletions(-) delete mode 100644 website/api/binder.jade diff --git a/website/api/_data.json b/website/api/_data.json index 83b98f1fa..d85b103dc 100644 --- a/website/api/_data.json +++ b/website/api/_data.json @@ -31,8 +31,7 @@ "StringStore": "stringstore", "Vectors": "vectors", "GoldParse": "goldparse", - "GoldCorpus": "goldcorpus", - "Binder": "binder" + "GoldCorpus": "goldcorpus" } }, @@ -193,13 +192,6 @@ "source": "spacy/gold.pyx" }, - "binder": { - "title": "Binder", - "tag": "class", - "tag_new": 2, - "source": "spacy/tokens/binder.pyx" - }, - "vectors": { "title": "Vectors", "teaser": "Store, save and load word vectors.", diff --git a/website/api/binder.jade b/website/api/binder.jade deleted file mode 100644 index e47cb597d..000000000 --- a/website/api/binder.jade +++ /dev/null @@ -1,7 +0,0 @@ -//- 💫 DOCS > API > BINDER - -include ../_includes/_mixins - -p A container class for serializing collections of #[code Doc] objects. - -+under-construction diff --git a/website/usage/_spacy-101/_architecture.jade b/website/usage/_spacy-101/_architecture.jade index c9b299036..1a3ed05a3 100644 --- a/website/usage/_spacy-101/_architecture.jade +++ b/website/usage/_spacy-101/_architecture.jade @@ -138,7 +138,3 @@ p +cell | An annotated corpus, using the JSON file format. Manages | annotations for tagging, dependency parsing and NER. - - +row - +cell #[+api("binder") #[code Binder]] - +cell Container class for serializing collections of #[code Doc] objects. diff --git a/website/usage/v2.jade b/website/usage/v2.jade index 66304c860..bb150de86 100644 --- a/website/usage/v2.jade +++ b/website/usage/v2.jade @@ -206,7 +206,7 @@ p | e.g. #[code from spacy.lang.en import English]. +infobox - | #[+label-inline API:] #[+api("spacy#load") #[code spacy.load]], #[+api("binder") #[code Binder]] + | #[+label-inline API:] #[+api("spacy#load") #[code spacy.load]] | #[+label-inline Usage:] #[+a("/usage/saving-loading") Saving and loading] +h(3, "features-displacy") displaCy visualizer with Jupyter support @@ -387,7 +387,11 @@ p +row +cell #[code Doc.read_bytes] - +cell #[+api("binder") #[code Binder]] + +cell + | #[+api("doc#to_bytes") #[code Doc.to_bytes]] + | #[+api("doc#from_bytes") #[code Doc.from_bytes]] + | #[+api("doc#to_disk") #[code Doc.to_disk]] + | #[+api("doc#from_disk") #[code Doc.from_disk]] +row +cell #[code Token.is_ancestor_of]