This is a Python-based project for dealing with human symptoms and predicting their possible outcomes.
The primary goal of this project is to forecast the disease so that patients can get the desired output according to their primary symptoms.
We used TKinter to create a desktop-based application and Spacy for NLP-based processes like text sentence tokenization and lemmatization, and we used a Huggingface pretrained model to extrat disease names from a given sentence ( or ner processing).
Downloading pre-trained model from Huggingface Model
from transformers import pipeline
PRETRAINED = "raynardj/ner-disease-ncbi-bionlp-bc5cdr-pubmed"
ners = pipeline(task="ner",model=PRETRAINED, tokenizer=PRETRAINED)
Download spacy For window, Linux, MacOS
pip install -U pip setuptools wheel
pip install -U spacy
python -m spacy download en_core_web_sm
Use the package manager pip to install the requirements.txt file package.
pip install -r requirements.txt
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.