Can I add list of stops words in file

Can I add list of spacy’s stopwords in the predefined file like this:

self.stop_words = self.component_config[‘stop_words’]

    spacy_stopwords = spacy.lang.en.stop_words.STOP_WORDS


    for i in spacy_stopwords:


    self.stop_words = spacystopwords

    for stopword in self.stop_words:

        print("printing the stop words",stopword)

you can pass in stop words to the CountVectorizer class sklearn.feature_extraction.text.CountVectorizer — scikit-learn 0.21.3 documentation