import pickle


def get_one_hot_encodings(filepath='../data/one-hot.pkl'):
    """
    Gets the one_hot encodings of the verses of the Quran, along with mappings of characters to ints
    :param filepath: the filepath to the one_hot encoding pickled file
    :return:
    """
    with open(filepath, 'rb') as one_hot_quran_pickle_file:
        one_hot_obj = pickle.load(one_hot_quran_pickle_file)
    return one_hot_obj