From f424d1744329a46c352c2be93c16d09d3c33ccd9 Mon Sep 17 00:00:00 2001 From: Tom Aarsen Date: Fri, 19 Aug 2022 12:34:45 +0200 Subject: [PATCH] Resolved issue with overwriting lp in the introduction doc page --- docs/introduction.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/introduction.rst b/docs/introduction.rst index 361b508..522b2ee 100644 --- a/docs/introduction.rst +++ b/docs/introduction.rst @@ -37,7 +37,7 @@ To start of with we will need a spaCy pipeline as well as we will need to add th nlp = spacy.load("en_core_web_lg") # add the rule-based sentiment model - nlp = nlp.add_pipe("asent_en_v1") + nlp.add_pipe("asent_en_v1") .. note:: @@ -63,7 +63,7 @@ To start of with we will need a spaCy pipeline as well as we will need to add th nlp = spacy.load("da_core_news_lg") # add the rule-based sentiment model - nlp = nlp.add_pipe("asent_da_v1") + nlp.add_pipe("asent_da_v1") .. note:: @@ -90,7 +90,7 @@ To start of with we will need a spaCy pipeline as well as we will need to add th nlp = spacy.load("nb_core_news_lg") # add the rule-based sentiment model - nlp = nlp.add_pipe("asent_no_v1") + nlp.add_pipe("asent_no_v1") .. note:: @@ -116,7 +116,7 @@ To start of with we will need a spaCy pipeline as well as we will need to add th nlp = spacy.load("sv_pipeline") # add the rule-based sentiment model - nlp = nlp.add_pipe("asent_sv_v1") + nlp.add_pipe("asent_sv_v1") .. note::