import collections


def get_bow_dictionary(text: str):
    """
    Splits given text into words and returns a bag-of-word representation as a dictionary
    The dictionary basically contains word counts
    """
    return collections.Counter(text.split())