gensim.models.Word2Vec.doesnt_match

Word2Vec.doesnt_match(words)[source]

Which word from the given list doesn’t go with the others?

Example:

>>> trained_model.doesnt_match("breakfast cereal dinner lunch".split())
'cereal'