Skip to content

A Chatbot that can detect and respond to user queries in different languages

Notifications You must be signed in to change notification settings

avd151/Language-Detector-Chatbot

Repository files navigation

Language-Detector-Chatbot

It is a Chatbot which provides Language detection features by identifying language of given text and images

Requirements

Use the package manager pip to install following python libraries.

pip install numpy
pip install pandas
pip install seaborn
pip install matplotlib
pip install scikit-learn
pip install nltk
nltk.download('punkt')
pip install PyQt5
pip install Pillow
pip install Pytesseract
  1. Download pytorch from https://pytorch.org/ using customizations as required, or using the below command.
pip3 install torch==1.8.2+cpu torchvision==0.9.2+cpu torchaudio===0.8.2 -f https://download.pytorch.org/whl/lts/1.8/torch_lts.html
  1. Download and install tesseract 32 bit or 64 bit from https://github.com/UB-Mannheim/tesseract/wiki and add path of tesseract.exe to the 4th line of file ocr.py

Usage

Run chat.py file by opening terminal or command prompt, and typing the following command

python chat.py

Run main.py file in terminal to chat on GUI

python main.py

Output

chatbot demo

About

A Chatbot that can detect and respond to user queries in different languages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages