import pickle


def load_nlp_environment(lec_path, aav_path):
    """
    Uses paths defined in run.py to load pickle objects containing entity data
    """
    with open(lec_path, 'rb') as obj:
        all_location_entities = pickle.load(obj)
    with open(aav_path, 'rb') as obj:
        all_verb_entities = pickle.load(obj)
    return all_location_entities, all_verb_entities