def normalize_whitespace(text):
    """Merges multiple consecutive whitespace characthers converting them to
    space (` `). Also strips whitespaces from start and end of the text."""
    return ' '.join(text.split())