![]() |
---|
Your Medical Abbreviation Disambiguation
- Creating an virtual environment using Python >= 3.8
py 3.8 -m venv env
- Activate the env
env\Scripts\activate.bat
- Installing the Python libraries
pip install -r requirements.txt
- Download unofficial Tesseract for Windows: tesseract-ocr-w64-setup-v5.1.0.20220510.exe (64 bit)
- Adding the path of Tesseract
- For simplicity, you can create a shortcut to your desktop and run this script
- For example:
- Target:
C:\Windows\System32\cmd.exe /K "D:\Project\Python\2022\MedBreviation\env\Scripts\activate.bat" && streamlit run main.py
- Start in:
D:\Project\Python\2022\MedBreviation
- Creating an virtual environment using Python >= 3.8
python3 -m venv env
- Activate the env
source env\bin\activate
- Installing the Python libraries
pip install -r requirements.txt
- Easy install for Google's Tesseract OCR
sudo apt install tesseract-ocr
- Run the script by activating the environment first then
streamlit run main.py
- First time run would take a bit longer as it download a 1.5GB of dataset
- Paste the text
OR - Upload the file (only accept PDF (Text-extractable), PNG, JPG, JPEG at the moment)
- Handle text file
- Poppler to convert scanned pdf into picture before passing it into the tesseract
- More general abbreviation to be included