def prob_words(context, vocab, temperature=1.0):
    """ This calculates a softmax over the vocabulary as a function
    of the dot product of context and word.
    """
    dot = np.dot(vocab, context)
    prob = _softmax(temperature / dot)
    return prob
dataset/ETHPy150Open cemoody/lda2vec/lda2vec/topics.py/prob_words/swapped operands of `/`