def cleanly(text: str):
    """
    Splits the text into words at spaces, removing excess spaces.
    """
    segmented = text.split(' ')
    clean = [s for s in segmented if not s == '']
    return clean