kandi background
Explore Kits

Chatbot using Bi-directional Recurrent Neural Network

by Sri Balaji J

A Chatbot is like a digital assistant, can be pretrained or have self-learning capability. It can be trained to understand the user queries and respond in the natural language of the user during a conversation. The proposed bot could identify the emotional status of the users and can provide suggestions using Bi-directional Recurrent Neural Network and tensor flow library functions. So I've created this kit based on paper "Intelligent Chatbot Model to Enhance the Emotion Detection in social media using Bi-directional Recurrent Neural Network". This kit can be helpful to build a similar bot. For further info refer this paper by the link below Intelligent Chatbot Model to Enhance the Emotion Detection in social media using Bi-directional Recurrent Neural Network

Development Environment

Development environment is a workspace with a set of processes and programming tools used to develop the source code for an application or software product. VSCode, Jupyter Notebook and spyder are such environments used for development and debugging. Jupyter Notebook is a web-based interactive environment often used for experiments, whereas VSCode and spyder is used to get a typical experience of IDE for developers.

Exploratory Data Analysis

For extensive analysis and exploration of data, and to deal with arrays, these libraries are used. They are also used for performing scientific computation and data manipulation.

Model development and Sentimental analysis

A bag-of-words model, or BoW for short, is a way of extracting features from the text for use in modeling, such as with machine learning algorithms. Bi-directional neural network, a machine learning algorithm is used to train the model. Since it has two hidden layers that can go both forward and backwards the model could have both the data that is used in the past and the future data that are useful in the prediction of the reply for the question asked in the chatbot. Sentiment analysis is the classification step where the statement is classified as a positive or negative or a neutral one by giving them a sentiment score. Score is given as +1,-1 or 0 depending upon the classification. The calculation is done based on the sentiment score by combining the score of the words for which TextBlob is used.

GUI development

GUI is a Graphical Interface that is a visual representation of communication presented to the user for easy interaction with the machine. Here are some libraries that can be used to develop GUI for chatbots.

  • © 2022 Open Weaver Inc.