def estimated_bigram_probability(bigram, unigram_dict, bigram_dict):
    """ estimate the probability of bigram (= (syll_1,syll_2)) by:
    (count (syll_1,syll_2)) / (count syll_1)
    """

    # set the count to zero
    count = 0

    # check if bigram is actually in our dict
    if bigram in bigram_dict:
        # if so, set count to the value from bigram_dict
        count = bigram_dict[bigram]

    # divide the (bigram) count by the unigram count of the first syllable
    # to get the probability
    prob = count / unigram_dict[bigram[0]]

    # return the calculated probability
    return prob