From 7a33b2e084abe639b6e232bd279c12be918c0acf Mon Sep 17 00:00:00 2001 From: Charity Hilton Date: Mon, 9 Dec 2019 13:40:08 -0500 Subject: [PATCH] add result content to pregnancy task --- nlp/custom_tasks/PregnancyTask.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nlp/custom_tasks/PregnancyTask.py b/nlp/custom_tasks/PregnancyTask.py index e6c4f9a0..ff5c6b85 100644 --- a/nlp/custom_tasks/PregnancyTask.py +++ b/nlp/custom_tasks/PregnancyTask.py @@ -283,7 +283,8 @@ def run_custom_task(self, temp_file, mongo_client: MongoClient): 'sentence': sentence, 'highlights': highlights, 'start':[start], - 'end':[end] + 'end':[end], + 'result_content':sentence } }