Skip to content

Commit

Permalink
Update meta_cat.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-s-agarwal committed Aug 6, 2024
1 parent 9eb6376 commit 2737ced
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions medcat/meta_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': '<project_name>',
'documents': [ # list of documents
{
'name': '<document_name>',
'text': '<text_of_document>',
'annotations': [ # list of annotations
{
'start': -1, # start index of the annotation
'end': 1, # end index of the annotation
'cui': 'cui',
'value': '<annotation_value>'
},
...
Expand Down

0 comments on commit 2737ced

Please sign in to comment.