docstr: Args:
      mentions: ``list[MentionData]``, required
          The initial mentions to create the clusters from
docstr_tok: ["Args",":","mentions",":","``","list","[","MentionData","]","``",",","required","The","initial","mentions","to","create","the","clusters","from"]
code: def set_initial_clusters(self, mentions: List[MentionData]) -> None:
      """
  
      Args:
          mentions: ``list[MentionData]``, required
              The initial mentions to create the clusters from
  
      """
      if mentions:
          for mention in mentions:
              cluster = Cluster(Clusters.cluster_coref_chain)
              cluster.add_mention(mention)
              self.clusters_list.append(cluster)
              Clusters.cluster_coref_chain += 1
  
file_path: nlp-architect/nlp_architect/common/cdc/cluster.py
imports: from typing import List
  from nlp_architect.common.cdc.mention_data import MentionData
label_desc: Use image node_id 2 for calling the Clusters obj's underlying member method code with example usage: obj.set_initial_clusters(mentions) without return types