def METHOD_NAME(self, orders):
    """
    Calculates interpolated probabilities of kgrams for all orders.
    """
    backoffs = []
    for order in orders[:-1]:
        backoff = self._calc_order_backoff_probs(order)
        backoffs.append(backoff)
    orders[-1] = self._calc_unigram_probs(orders[-1])
    backoffs.append(defaultdict(int))
    self._interpolate(orders, backoffs)
    return orders