def test_summary_class(self):
     """
     test make summary dict
     """
     self.input_module.input_fast_large_file()
     wiki_vector = self.input_module.get_vector()
     read_file = '13996061-n.txt'
     class_summary = ClassSummary(read_file, wiki_vector)
     class_summary.summary_class()
 def consumer_run(self, wiki_vector):
     """
     Running Consumer
     Taking the Calculate average vector
     """
     while True:
         try:
             read_file = queue.get()
             print("Consume %s", read_file)
             class_summary = ClassSummary(read_file, wiki_vector)
             class_summary.summary_class()
             queue.task_done()
             time.sleep(random.random())
         except queue.Empty:
             continue
 def consumer_run(self, wiki_vector):
     """
     Running Consumer
     Taking the Calculate average vector
     """
     while True:
         try:
             read_file = queue.get()
             print("Consume %s", read_file)
             class_summary = ClassSummary(read_file, wiki_vector)
             class_summary.summary_class()
             queue.task_done()
             time.sleep(random.random())
         except queue.Empty:
             continue