Function get_bigram_frequencies accepts lists of strings now