import pickle


def load_pickle(path):
    """
    Load a WordGraph object from a pickle file.

    :param path: path to pickled WordGraph object
    :return:
    """
    with open(path, 'rb') as input:
        # G = wg.WordGraph()

        return pickle.load(input)