def annotate_data(self, nr_docs=-1): self.logger.println("data annotator called") start_time = timeit.default_timer() annotator = Annotator() annotator.prepare_dataset(nr_docs) elapsed_seconds = timeit.default_timer() - start_time self.logger.print_time_taken("data annotation operation took", elapsed_seconds)