ENH: Enhanced the problem set building on the image handing and arrays.
Illustrated dtypes, casting and their importance along with an example
using RGBA images. Also introduce edge detection.
freq = {}
for line in f:
words = line.split()
for word in words:
key = word.strip(',.!;?()[]: ')
if keyword.iskeyword(key):
if key in freq:
freq[key] += 1
else:
freq[key] = 1
print freq