Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/uclh-criu/miade into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferajiang committed Jan 9, 2024
2 parents e074b8f + f5c5f6c commit 9bb6fda
Show file tree
Hide file tree
Showing 8 changed files with 538 additions and 354 deletions.
5 changes: 4 additions & 1 deletion configs/miade_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ general:
problems:
lookup_data_path: ./lookup_data/
negation_detection: None
structured_list_limit: 0 # if more than this number of concepts in structure section, ignore concepts in prose
disable: []
add_numbering: True
meds/allergies:
lookup_data_path: ./lookup_data/
negation_detection: None
disable: []
disable: []
add_numbering: False
421 changes: 210 additions & 211 deletions src/miade/annotators.py

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/miade/utils/annotatorconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@
class AnnotatorConfig(BaseModel):
lookup_data_path: Optional[str] = "./lookup_data/"
negation_detection: Optional[str] = "negex"
structured_list_limit: Optional[int] = 100
disable: List[str] = []
add_numbering: bool = False
Loading

0 comments on commit 9bb6fda

Please sign in to comment.