Lab9

Python dictionaries

Write a function word_count(file_name) that returns a python dictionary that counts how many times each word occurs in the text of this file. Try to the best of your ability to remove punctuation marks. You can use string.translate and string.punctuation for that (their use is described at the python library documentation.