Added functions to group text by year, remove stopwords