import re


def replaceAcronyms(text):
    """
    Replaces some commonly-used acronyms for an improved verbal weather report.
    """

    def parseDirections(text):
        words = {
            'N': 'nord',
            'S': 'sud',
            'E': 'est',
            'W': 'ouest',
        }
        output = [words[w] for w in list(text)]
        return ' '.join(output)
    acronyms = re.findall(r'\b([NESW]+)\b', text)

    for w in acronyms:
        text = text.replace(w, parseDirections(w))

    text = re.sub(u'&deg; C', u'degrés celsius', text)
    text = re.sub(u'km\/h', u'kilomètres par heure', text)
    text = re.sub(u'hPa', u'hecto pascal', text)

    return text