code: def setUp(self):
      self.tmpfile_a = tempfile.NamedTemporaryFile(delete=False).name
      with open(self.tmpfile_a, "w") as o:
          o.write("3 1:5 2:10 5:353\n")
          o.write("0 0:7 6:3 3:100")
  
      self.tmpfile_vocab = tempfile.NamedTemporaryFile(
          delete=False
      ).name
      with open(self.tmpfile_vocab, "w") as o:
          o.write("\n".join(["a", "b", "c", "d", "e", "f", "g"]))
  
      self.tmpfile_b = tempfile.NamedTemporaryFile(delete=False).name
      with open(self.tmpfile_b, "w") as o:
          o.write("2\n5\n6\n")
          o.write("1 2 5\n")
          o.write("1 3 10\n")
          o.write("1 6 353\n")
          o.write("2 1 7\n")
          o.write("2 7 3\n")
          o.write("2 4 100")
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import os
  import tempfile
  import shutil
  import unittest
  import turicreate
  from turicreate.toolkits._main import ToolkitError
  from turicreate.toolkits.topic_model import topic_model
  from turicreate.toolkits.text_analytics import parse_sparse
  from turicreate.toolkits.text_analytics import parse_docword
  from turicreate.toolkits.topic_model import perplexity
  from .None import util
  import time
  import random
  import numpy
  import itertools
label_desc: Use image node_id 1 for calling the ParsersTest obj's underlying member method code with example usage: obj.setUp() without return types