def norm_whitespace(s: str) -> str:
    """normalize whitespace in the given string.

    Example:
        >>> from hearth.text.utils import norm_whitespace
        >>>
        >>> norm_whitespace('\tthere\t\tshould     only be  one   space  between  \twords.   ')
        'there should only be one space between words.'
    """
    return ' '.join(s.split())