Switch to unified view

a b/HealthCare_ChatBot/README.md
1
# Healthcare Chatbot
2
3
This is a Python-based project for dealing with human symptoms and predicting their possible outcomes.
4
5
#### Project Goal
6
The primary goal of this project is to forecast the disease so that patients can get the desired output according to their primary symptoms. 
7
 
8
## Technology used
9
We used **[TKinter](https://docs.python.org/3/library/tkinter.html)** to create a desktop-based application and **[Spacy](https://spacy.io/)** for NLP-based processes like ***text sentence tokenization and lemmatization***, and we used a **[Huggingface](https://huggingface.co/)** pretrained model to extrat disease names from a given sentence ***( or ner processing)***.
10
11
#### Huggingface
12
Downloading pre-trained model from [Huggingface Model](https://huggingface.co/raynardj/ner-disease-ncbi-bionlp-bc5cdr-pubmed)
13
```python
14
15
from transformers import pipeline
16
PRETRAINED = "raynardj/ner-disease-ncbi-bionlp-bc5cdr-pubmed"
17
ners = pipeline(task="ner",model=PRETRAINED, tokenizer=PRETRAINED)
18
19
```
20
21
#### Spacy
22
23
Download [spacy](https://spacy.io/usage) For window, Linux, MacOS
24
```bash
25
pip install -U pip setuptools wheel
26
pip install -U spacy
27
python -m spacy download en_core_web_sm
28
```
29
30
31
## Installation
32
33
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the requirements.txt file package.
34
35
```bash
36
pip install -r requirements.txt 
37
```
38
## Output Image
39
#### First opening window
40
![first window](https://github.com/Durgesh63/HealthCare_ChatBot/blob/master/firstwindow.png?raw=true)
41
42
#### Main Opening Window
43
![Main Window](https://github.com/Durgesh63/HealthCare_ChatBot/blob/master/main_window.png?raw=true)
44
45
## Contributing
46
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
47
48
Please make sure to update tests as appropriate.