nltk.DictionaryConditionalProbDist.get

DictionaryConditionalProbDist.get(k[, d]) → D[k] if k in D, else d. d defaults to None.