Added Roxygen header, removed code not relevant to the function
Added max for top_n_words, Supports empty strings, added suppress.input