From 687ed283405307524f506d1e49e496d6af878ac5 Mon Sep 17 00:00:00 2001 From: ines Date: Mon, 29 May 2017 14:21:00 +0200 Subject: [PATCH] Update processing pipelines guide --- website/docs/usage/language-processing-pipeline.jade | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/website/docs/usage/language-processing-pipeline.jade b/website/docs/usage/language-processing-pipeline.jade index e4df4bba5..03f6c28f5 100644 --- a/website/docs/usage/language-processing-pipeline.jade +++ b/website/docs/usage/language-processing-pipeline.jade @@ -187,13 +187,13 @@ p | #[+a("/docs/usage/saving-loading#models-generating") model package] with | a custom pipeline. -+h(2, "example1") Example: Custom sentence segmentation logic - +aside("Real-world examples") | To see real-world examples of pipeline factories and components in action, | you can have a look at the source of spaCy's built-in components, e.g. - | the #[+src(gh("spacy")) tagger], #[+src(gh("spacy")) parser] or - | #[+src(gh("spacy")) entity recognizer]. + | the #[+api("tagger") #[code Tagger]], #[+api("parser") #[code Parser]] or + | #[+api("entityrecognizer") #[code EntityRecongnizer]]. + ++h(2, "example1") Example: Custom sentence segmentation logic p | Let's say you want to implement custom logic to improve spaCy's sentence @@ -318,8 +318,8 @@ p | If you don't need a particular component of the pipeline – for | example, the tagger or the parser, you can disable loading it. This can | sometimes make a big difference and improve loading speed. Disabled - | component names can be provided to #[+api("spacy#load") #[code spacy.load]], - | #[+api("language#from_disk") #[code Language.from_disk]] or the + | component names can be provided to #[+api("spacy#load") #[code spacy.load()]], + | #[+api("language#from_disk") #[code Language.from_disk()]] or the | #[code nlp] object itself as a list: +code.