code: def setUp(cls):
      categories, documents = get_docs_categories()
      cls.df = pd.DataFrame({"category": categories, "text": documents})
      cls.df["parsed"] = cls.df.text.apply(whitespace_nlp)
      cls.corpus = CorpusFromParsedDocuments(
          cls.df, "category", "parsed"
      ).build()
  
file_path: scattertext/scattertext/test/test_embeddingsResolver.py
imports: import pandas
  from unittest import TestCase
  import numpy
  from sklearn.decomposition import TruncatedSVD
  from scattertext import EmbeddingsResolver, ClassPercentageCompactor, CorpusFromPandas, whitespace_nlp, CorpusFromParsedDocuments, ParsedCorpus
  from scattertext.test.test_CorpusFromParsedDocuments import build_term_doc_matrix
  from scattertext.test.test_corpusFromPandas import get_docs_categories
label_desc: Use image node_id 1 for calling the TestEmbeddingsResolver obj's underlying member method code with example usage: obj.setUp(cls) without return types