Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -25,9 +25,6 @@ def clean_text(text):
|
|
| 25 |
def strict_clean_ocr(text):
|
| 26 |
"""Fixes common OCR misreads for medical units and numbers."""
|
| 27 |
corrections = {
|
| 28 |
-
"I4O": "140",
|
| 29 |
-
"9O": "90",
|
| 30 |
-
"0xygen": "Oxygen",
|
| 31 |
"O2": "O₂",
|
| 32 |
"mm Hg": "mmHg",
|
| 33 |
"g dL": "g/dL",
|
|
|
|
| 25 |
def strict_clean_ocr(text):
|
| 26 |
"""Fixes common OCR misreads for medical units and numbers."""
|
| 27 |
corrections = {
|
|
|
|
|
|
|
|
|
|
| 28 |
"O2": "O₂",
|
| 29 |
"mm Hg": "mmHg",
|
| 30 |
"g dL": "g/dL",
|