class_docstr: A tool for the finding and ranking of quadgram collocations or other association measures.
  It is often useful to use from_words() rather than constructing an instance directly.
class_docstr_tok: ["A","tool","for","the","finding","and","ranking","of","quadgram","collocations","or","other","association","measures",".","It","is","often","useful","to","use","from_words","(",")","rather","than","constructing","an","instance","directly","."]
docstr: Construct a QuadgramCollocationFinder, given FreqDists for appearances of words,
  bigrams, trigrams, two words with one word and two words between them, three words
  with a word between them in both variations.
docstr_tok: ["Construct","a","QuadgramCollocationFinder",",","given","FreqDists","for","appearances","of","words",",","bigrams",",","trigrams",",","two","words","with","one","word","and","two","words","between","them",",","three","words","with","a","word","between","them","in","both","variations","."]
code: def __init__(
      self, word_fd, quadgram_fd, ii, iii, ixi, ixxi, iixi, ixii
  ):
      """Construct a QuadgramCollocationFinder, given FreqDists for appearances of words,
      bigrams, trigrams, two words with one word and two words between them, three words
      with a word between them in both variations.
      """
      AbstractCollocationFinder.__init__(self, word_fd, quadgram_fd)
      self.iii = iii
      self.ii = ii
      self.ixi = ixi
      self.ixxi = ixxi
      self.iixi = iixi
      self.ixii = ixii
  
imports: import itertools
  from nltk.metrics import BigramAssocMeasures, ContingencyMeasures, QuadgramAssocMeasures, TrigramAssocMeasures
  from nltk.metrics.spearman import ranks_from_scores, spearman_correlation
  from nltk.probability import FreqDist
  from nltk.util import ngrams
label_desc: Use image node_id 1 to create a new QuadgramCollocationFinder object from inherited base classes: AbstractCollocationFinder with example: obj = QuadgramCollocationFinder(word_fd, quadgram_fd, ii, iii, ixi, ixxi, iixi, ixii)