import yaml


def parse_feature_extraction_config(file_path):
    """
    Parse feature extraction configuration dictionary from yaml file.

    Args:
        file_path (str): path to yaml file.

    Returns:
        (dict): dictionary in specified form specifying which features to extract as well
                as additional parameters for the feature extraction process.
    """
    with open(file_path, 'r') as f:
        return yaml.safe_load(f)