fix(summarization): #1 add pregnancy as unsafe marker
Browse files
clinphen_src/get_phenotypes_lf.py
CHANGED
|
@@ -95,7 +95,7 @@ def load_medical_record_subsentences(medical_record):
|
|
| 95 |
|
| 96 |
#Checks the given sentence for any flags from the lists you indicate.
|
| 97 |
negative_flags = ["no", "not", "none", "negative", "non", "never", "without", "denies", "haven't", "don't", "doesn't", "haven t", "don t", "doesn t", 'didn t', 'doesn', 'don', 'haven', 'didn']
|
| 98 |
-
family_flags = ["<person>","<person","cousin", "parent", "mom", "mother", "dad", "father", "grandmother", "grandfather", "grandparent", "family", "brother", "sister", "sibling", "uncle", "aunt", "nephew", "niece", "son", "daughter", "grandchild"]
|
| 99 |
healthy_flags = ["normal"]
|
| 100 |
disease_flags = ["associated", "gene", "recessive", "dominant", "variant", "cause", "literature", "individuals"]
|
| 101 |
treatment_flags = []
|
|
|
|
| 95 |
|
| 96 |
#Checks the given sentence for any flags from the lists you indicate.
|
| 97 |
negative_flags = ["no", "not", "none", "negative", "non", "never", "without", "denies", "haven't", "don't", "doesn't", "haven t", "don t", "doesn t", 'didn t', 'doesn', 'don', 'haven', 'didn']
|
| 98 |
+
family_flags = ["<person>","<person","cousin", "parent", "mom", "mother", "dad", "father", "grandmother", "grandfather", "grandparent", "family", "brother", "sister", "sibling", "uncle", "aunt", "nephew", "niece", "son", "daughter", "grandchild", "pregnancy"]
|
| 99 |
healthy_flags = ["normal"]
|
| 100 |
disease_flags = ["associated", "gene", "recessive", "dominant", "variant", "cause", "literature", "individuals"]
|
| 101 |
treatment_flags = []
|