class_docstr: Detect phrases based on collocation counts.
class_docstr_tok: ["Detect","phrases","based","on","collocation","counts","."]
docstr: Return an object that contains the bare minimum of information while still allowing
  phrase detection. See :class:`~gensim.models.phrases.FrozenPhrases`.
  
  Use this "frozen model" to dramatically reduce RAM footprint if you don't plan to
  make any further changes to your `Phrases` model.
  
  Returns
  -------
  :class:`~gensim.models.phrases.FrozenPhrases`
      Exported object that's smaller, faster, but doesn't support model updates.
docstr_tok: ["Return","an","object","that","contains","the","bare","minimum","of","information","while","still","allowing","phrase","detection",".","See",":","class",":","`","~gensim.models.phrases.FrozenPhrases","`",".","Use","this","``","frozen","model","''","to","dramatically","reduce","RAM","footprint","if","you","do","n't","plan","to","make","any","further","changes","to","your","`","Phrases","`","model",".","Returns","--","--","--","-",":","class",":","`","~gensim.models.phrases.FrozenPhrases","`","Exported","object","that","'s","smaller",",","faster",",","but","does","n't","support","model","updates","."]
code: def freeze(self):
      """
      Return an object that contains the bare minimum of information while still allowing
      phrase detection. See :class:`~gensim.models.phrases.FrozenPhrases`.
  
      Use this "frozen model" to dramatically reduce RAM footprint if you don't plan to
      make any further changes to your `Phrases` model.
  
      Returns
      -------
      :class:`~gensim.models.phrases.FrozenPhrases`
          Exported object that's smaller, faster, but doesn't support model updates.
  
      """
      return FrozenPhrases(self)
  
imports: import logging
  import itertools
  from math import log
  import pickle
  from inspect import getfullargspec
  import time
  from gensim import utils, interfaces
label_desc: Use image node_id 6 for calling the Phrases obj's underlying member method code with example usage: obj.freeze() and returns: FrozenPhrases