proced : list of list of dicts
The list is the same length as the input list of documents. Each element is a list of geolocated entities.
if not self.threads:
print("Error: can"t run batch_geoparse without setting threads = True.")
return
nlped_docs = nlp.pipe(text_list, multiprocessing.cpu_count())
//pool = ThreadPool(self.n_threads)
//processed = pool.map(self.geoparse, nlped_docs)
//pool.close()
//pool.join()
processed = [self.geoparse(i) for i in nlped_docs]
return processed