def open_stopwords(stop_words_file_path):
    """
    opens the stop words file and provides a set which can be used to filter tokens/words later

    :param stop_words_file_path: the path to find the stop words file in the local directory
    :return: a set of stop words to filter out
    """
    # create a list of the stop_words
    with open(stop_words_file_path, "r") as f:
        stop_words = f.read().split("\n")
    return set(stop_words)