From b4e1dc0e3f41f474df5a3371511c8fd165a415f2 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Sun, 20 Nov 2016 17:02:45 +0000 Subject: [PATCH 1/2] Fix a bunch of missing spaces of the website --- website/docs/api/doc.jade | 4 ++-- website/docs/api/span.jade | 4 ++-- website/docs/api/vocab.jade | 4 ++-- website/docs/usage/processing-text.jade | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/website/docs/api/doc.jade b/website/docs/api/doc.jade index 86c4dd65a..fab1dd86b 100644 --- a/website/docs/api/doc.jade +++ b/website/docs/api/doc.jade @@ -164,8 +164,8 @@ p +cell #[code other] +cell - +cell - | The object to compare with. By default, accepts #[code Doc], - | #[code Span], #[code Token] and #[code Lexeme] objects. + | The object to compare with. By default, accepts #[code Doc], + | #[code Span], #[code Token] and #[code Lexeme] objects. +footrow +cell return diff --git a/website/docs/api/span.jade b/website/docs/api/span.jade index f071f5abc..a07ee25d9 100644 --- a/website/docs/api/span.jade +++ b/website/docs/api/span.jade @@ -156,8 +156,8 @@ p +cell #[code other] +cell - +cell - | The object to compare with. By default, accepts #[code Doc], - | #[code Span], #[code Token] and #[code Lexeme] objects. + | The object to compare with. By default, accepts #[code Doc], + | #[code Span], #[code Token] and #[code Lexeme] objects. +footrow +cell return diff --git a/website/docs/api/vocab.jade b/website/docs/api/vocab.jade index 96356cb41..7490bccf4 100644 --- a/website/docs/api/vocab.jade +++ b/website/docs/api/vocab.jade @@ -70,8 +70,8 @@ p Create the vocabulary. +cell #[code lex_attr_getters] +cell dict +cell - | A dictionary mapping attribute IDs to functions to compute them. - | Defaults to #[code None]. + | A dictionary mapping attribute IDs to functions to compute them. + | Defaults to #[code None]. +row +cell #[code lemmatizer] diff --git a/website/docs/usage/processing-text.jade b/website/docs/usage/processing-text.jade index b26538dcb..205986e8a 100644 --- a/website/docs/usage/processing-text.jade +++ b/website/docs/usage/processing-text.jade @@ -73,7 +73,7 @@ p | one-by-one. After a long and bitter struggle, the global interpreter | lock was freed around spaCy's main parsing loop in v0.100.3. This means | that the #[code .pipe()] method will be significantly faster in most - | practical situations, because it allows shared memory parallelism. + | practical situations, because it allows shared memory parallelism. +code. for doc in nlp.pipe(texts, batch_size=10000, n_threads=3): From 270d42e73a8e5a8a2efc2243d03a81777da5cfd1 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Sun, 20 Nov 2016 17:08:04 +0000 Subject: [PATCH 2/2] Fix another typo on the website --- website/docs/usage/language-processing-pipeline.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/usage/language-processing-pipeline.jade b/website/docs/usage/language-processing-pipeline.jade index f6b044f2f..3a30ce6cb 100644 --- a/website/docs/usage/language-processing-pipeline.jade +++ b/website/docs/usage/language-processing-pipeline.jade @@ -56,7 +56,7 @@ p | fetched via #[code spacy.util.get_data_path()]. You can | configure this default using #[code spacy.util.set_data_path()]. | The data path is expected to be either a string, or an object - | responding to #[code thepathlib.Path] interface. If the path is + | responding to the #[code pathlib.Path] interface. If the path is | a string, it will be immediately transformed into a | #[code pathlib.Path] object. spaCy promises to never manipulate | or open file-system paths as strings. All access to the