import yaml


def get_esg_controversy_keywords(settings_path):
    """Load controversy keywords from settings.yaml"""

    with open(settings_path, encoding="utf8") as file:
        settings = yaml.full_load(file)

    controversies = settings["esg"]["negative"]

    return controversies