<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def parse_experiment_params(name_exp):
    '''Parse experiment parameters from the data directory name

    Args
    ----
    name_exp: str
        Name of data directory with experiment parameters

    Returns
    -------
    tag_params: dict of str
        Dictionary of parsed experiment parameters
    '''
    if ('/' in name_exp) or ('\\' in name_exp):
        raise ValueError("The path {} appears to be a path. Please pass "
                         "only the data directory's name (i.e. the "
                         "experiment name)".format(name_exp))

    tag_params = dict()
    tag_params['experiment'] = name_exp
    tag_params['tag_model'] = (name_exp.split('_')[1]).replace('-','')
    tag_params['tag_id'] = name_exp.split('_')[2]
    tag_params['animal'] = name_exp.split('_')[3]
    tag_params['notes'] = name_exp.split('_')[4]

    return tag_params