code: def l(k, n, x):  # noqa: E741, E743
      # dunning's likelihood ratio with notation from
      # http://nlp.stanford.edu/fsnlp/promo/colloc.pdf p162
      return log(max(x, 1e-10)) * k + log(max(1 - x, 1e-10)) * (n - k)
  
file_path: word_cloud/wordcloud/tokenization.py
imports: from __future__ import division
  from itertools import tee
  from operator import itemgetter
  from collections import defaultdict
  from math import log
label_desc: Use image node_id 1 for calling a global function with example usage: l(k, n, x) and returns: unknown