["created", 1], [“earth”, 1]] What happens when I increment the word beginning? [["in", 1], ["the", 1], ["beginning", 2], ["god", 1], ["created", 1], [“earth”, 1]]
= File.read(“king_james_bible.txt") words = s.split(“\s”).map(&:downcase) counts = Hash.new(0) words.each do |w| counts[w] += 1 if stopwords.include?(w) end