def DisplayIndexAsDictionary(word_occurrences):
    """ 
    print the index as a dict 
    """
    word_keys = word_occurrences.keys()
    for num, word in enumerate(word_keys):
        line_nums = word_occurrences[word]
        print(word + " ")
        if num > 3:
            break