📜  nlp.Defaults.stop_words.add spacy - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:42.763000             🧑  作者: Mango

代码示例1
import spacy    
nlp = spacy.load("en")
nlp.Defaults.stop_words |= {"my_new_stopword1","my_new_stopword2",}