

def __init__(self, language='en'):
    if (not (language in self._cached_stop_words)):
        path = os.path.join('text', ('stopwords-%s.txt' % language))
        self._cached_stop_words[language] = set(FileHelper.loadResourceFile(path).splitlines())
    self.STOP_WORDS = self._cached_stop_words[language]

dataset/ETHPy150Open xiaoxu193/PyTeaser/goose/text.py StopWords.__init__/original