mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
Don't set stop word in example (closes #2657) [ci skip]
This commit is contained in:
parent
4e89cfaae1
commit
5001d31be6
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user