def map_strange_characters(phrase):
    """Removes all accents (áéíóú) and linebreaks from a lowercase phrase"""

    accents_map = {
        'á': 'a',
        'é': 'e',
        'í': 'i',
        'ó': 'o',
        'ú': 'u',
        'ü': 'u',
        'ç': 'c',
        'å': 'a',
        'ã': 'a',
        '\n': ' ',
    }

    return "".join(map(lambda x: x if x not in accents_map else accents_map[x], phrase))