From 5001d31be63586f057f98405d7ca78aec8424199 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 12 Sep 2018 15:36:51 +0200 Subject: [PATCH] Don't set stop word in example (closes #2657) [ci skip] --- website/usage/_linguistic-features/_rule-based-matching.jade | 1 - 1 file changed, 1 deletion(-) diff --git a/website/usage/_linguistic-features/_rule-based-matching.jade b/website/usage/_linguistic-features/_rule-based-matching.jade index 9abda6e0f..7984b100e 100644 --- a/website/usage/_linguistic-features/_rule-based-matching.jade +++ b/website/usage/_linguistic-features/_rule-based-matching.jade @@ -352,7 +352,6 @@ p span.merge() # merge for token in span: token._.bad_html = True # mark token as bad HTML - doc.vocab[token.text].is_stop = True # mark lexeme as stop word return doc nlp = spacy.load('en_core_web_sm')