code: def build_hamlet_jz_corpus():
      # type: () -> Corpus
      df = build_hamlet_jz_df()
      return CorpusFromParsedDocuments(
          df=df, category_col="category", parsed_col="parsed"
      ).build()
  
imports: import re
  from unittest import TestCase
  import pandas
  from sklearn.feature_extraction.text import TfidfTransformer
  from sklearn.linear_model import PassiveAggressiveClassifier
  from scattertext import CorpusFromParsedDocuments
  from scattertext import FeatsFromSpacyDoc, FeatsFromSpacyDocAndEmpath
  from scattertext import TermDocMatrixFactory
  from scattertext.TermDocMatrixFactory import FeatsFromDoc
  from scattertext.WhitespaceNLP import whitespace_nlp, Doc, Tok
label_desc: Use image node_id 2 for calling a global function with example usage: build_hamlet_jz_corpus() and returns: CorpusFromParsedDocuments