def split_by_whitespace(text):
    """Runs basic whitespace cleaning and splitting on a piece of text.

    Examples:
        >>> _text = '我爱python，我爱编程；I love python, I like programming.'
        >>> split_by_whitespace(_text)
        ['我爱python，我爱编程；I', 'love', 'python,', 'I', 'like', 'programming.']
    """
    text = text.strip()
    if not text:
        return []
    tokens = text.split()
    return tokens