So i have a string, lets say "I love dogs. I love cats. I love turtles." in this file. I pass the file through and I want to count the amount of each word that pops up so the output would be like
I = 3
Love = 3
dogs = 1
cats = 1
turtles = 1
I was wondering if someone lead me into the right direction. I'm really new to hash.