Skip to content

Commit

Permalink
Updated bulk process method, adhering to updated MedCAT ones.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladd-bit committed Feb 19, 2024
1 parent 7bbd2a4 commit 607ad1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions medcat_service/nlp_processor/medcat_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ def process_content_bulk(self, content):
if eval(self.DEID_MODE):
ann_res = self.cat.deid_text()
else:
ann_res = self.cat.multiprocessing(
MedCatProcessor._generate_input_doc(content, invalid_doc_ids), nproc=nproc)
ann_res = self.cat.multiprocessing_batch_docs_size(
MedCatProcessor._generate_input_doc(content, invalid_doc_ids), batch_size = batch_size, nproc=nproc)

except Exception as e:
self.log.error(repr(e))
Expand Down

0 comments on commit 607ad1c

Please sign in to comment.