def load_synsets(synsets_path):
    """
    Loads synsets from `synsets_path`.

    Returns:
        synsets(:class:`list`):
        synset_names(:class:`list`):
        synset_indexes(:class:`dict`):
    """
    synsets = []
    synset_names = []
    synset_indexes = {}
    for i, line in enumerate(open(synsets_path, 'r').readlines()):
        line = line.replace("\n", "")
        synset_id = line.split(" ")[0]
        synset_name = line[len(synset_id) + 1:]
        synsets.append(synset_id)
        synset_names.append(synset_name)
        synset_indexes[synset_id] = i
    return synsets, synset_names, synset_indexes