class_docstr: The constructor estimates the author-topic model parameters based on a training corpus.
class_docstr_tok: ["The","constructor","estimates","the","author-topic","model","parameters","based","on","a","training","corpus","."]
docstr: Initialize an empty corpus.
  If the corpora are to be treated as lists, simply initialize an empty list.
  If serialization is used, initialize an empty corpus using :class:`~gensim.corpora.mmcorpus.MmCorpus`.
docstr_tok: ["Initialize","an","empty","corpus",".","If","the","corpora","are","to","be","treated","as","lists",",","simply","initialize","an","empty","list",".","If","serialization","is","used",",","initialize","an","empty","corpus","using",":","class",":","`","~gensim.corpora.mmcorpus.MmCorpus","`","."]
code: def init_empty_corpus(self):
      """Initialize an empty corpus.
      If the corpora are to be treated as lists, simply initialize an empty list.
      If serialization is used, initialize an empty corpus using :class:`~gensim.corpora.mmcorpus.MmCorpus`.
  
      """
      if self.serialized:
          # Initialize the corpus as a serialized empty list.
          # This corpus will be extended in self.update.
          MmCorpus.serialize(
              self.serialization_path, []
          )  # Serialize empty corpus.
          self.corpus = MmCorpus(
              self.serialization_path
          )  # Store serialized corpus object in self.corpus.
      else:
          # All input corpora are assumed to just be lists.
          self.corpus = []
  
imports: import logging
  from itertools import chain
  from copy import deepcopy
  from shutil import copyfile
  from os.path import isfile
  from os import remove
  import numpy
  from scipy.special import gammaln
  from gensim import utils
  from gensim.models import LdaModel
  from gensim.models.ldamodel import LdaState
  from gensim.matutils import dirichlet_expectation, mean_absolute_difference
  from gensim.corpora import MmCorpus
label_desc: Use image node_id 3 for calling the AuthorTopicModel obj's underlying member method code with example usage: obj.init_empty_corpus() without return types