def get_stopwords()

in augmentation/parse_config.py [0:0]


def get_stopwords(stopwords):
    if isinstance(stopwords, list):
        return stopwords
    with open(stopwords, 'r') as istream:
        return [
            l.strip() for l in istream
            if l.strip() != ""
        ]