function to split line and add to (word, sentence) hashtable. nltk frequency funcs + tree func in comments