Compute the probability of words given other words.
probability(x, words, mode = c("words", "values"))a matrix of probability scores when mode = "values" or of words
sorted in descending order by the probability scores when mode = "words".
When words is a named numeric vector, probability scores are weighted by
the values.
a textmodel_wordvector object fitted with normalize = FALSE.
words for which probability is computed.
specify the type of resulting object.
similarity()