From 2737ced8fcc1acfb0f42e7e6fbb25fd137d65271 Mon Sep 17 00:00:00 2001 From: shubham-s-agarwal <66172189+shubham-s-agarwal@users.noreply.github.com> Date: Tue, 6 Aug 2024 11:41:53 +0100 Subject: [PATCH] Update meta_cat.py --- medcat/meta_cat.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/medcat/meta_cat.py b/medcat/meta_cat.py index ac05339a..73576ccf 100644 --- a/medcat/meta_cat.py +++ b/medcat/meta_cat.py @@ -167,30 +167,19 @@ def train_raw(self, data_loaded: Dict, save_dir_path: Optional[str] = None, data The raw data is expected in the following format: :: - { - 'projects': [ # list of projects - { 'name': '', - 'documents': [ # list of documents - { 'name': '', - 'text': '', - 'annotations': [ # list of annotations - { 'start': -1, # start index of the annotation - 'end': 1, # end index of the annotation - 'cui': 'cui', - 'value': '' }, ...