SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 07 Issue: 03 |March 2020 www.irjet.net p-ISSN:2395-0072
© 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 2164
Chatbot for HR Department Using AIML and LSA
Ajaykumar Kushwaha1, Rishikesh Nanaware2, Damini Pandare 3
1Student, Dept. of Information Technology, Atharva College of Engineering, Malad, Mumbai, Maharashtra
2Student, Dept. of Information Technology, Atharva College of Engineering, Malad, Mumbai, Maharashtra
3Student, Dept. of Information Technology, Atharva College of Engineering, Malad, Mumbai, Maharashtra
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - Chatbots are programs thatimpersonatehuman
discussion utilizing Artificial Intelligence (AI). Today’s
Chatbots are becoming smarter, more responsive and more
useful. Chatbot technology at their core uses Natural
Language Processing (NLP). Softwares used by the HR
department for Payroll management, Human Resources
Management (HRM) are very tedious to use as they require
visiting various pages, sections and forms even for benign
details. A chatbot can simplify this task by letting user
communicate in Naturallanguageandgetprecise information
with just one query. In, this paper we have proposed a chatbot
which can give a response in different interface elements like
tables, graphs, etc. It can understand the meaning of different
queries searching for same response and gives response
according to that.
Key Words: Chatbot, NLP, AIML, LSA, Human resource
Management, Stemming.
1.INTRODUCTION
A Chatbot is a new tool, introduced in the market that
simplifies user interaction withcomputers.In banking,sales,
services it has made tremendous growth in the past. As per
IBM - 265 billion client demands are recorded every year
and organizations spent almost $1.3trilliontoaddressthem.
Utilizing chatbots could assist spare with increasing to 30%
of this expense[1] . Microsoft CEO Satya Nadella believes that
the evolution of user behaviour with computing will
naturally involve the use of chatbots as the underlying basis
for communication between user and information[2].
According to Suresh Iyer, CIO of Blue Star, Sales executives
spend a lot of time assembling and processing information
by themselves which can be done by chatbot and chatbot
may also be used as a guide[3]. Various management tools
available in the market canhelpmanagehumanresourcebut
mastering these tools and drawing insights is time-
consuming and tedious.
In this paper, we are proposing an intelligent chatbot that is
not only easy to use but also helps the user derive faster
business insights. The bot can also respond to common
greetings. The chatbot is built using Artificial Intelligence
Markup Language (AIML) and Latent Semantic Analysis
(LSA) and the required data is fetched from the database of
the company.
In the proposed chatbot, there are two types of responses,
template-based and analysis-based. Template-based
responses are usually provided for greetingsandpredefined
queries whereas analysis-based responses are provided for
complex inputs. Template-based queries are handled by
AIML solely for other responses LSA, stemming, and other
NLP tools are additionally used.
Artificial Intelligence Markup Language(AIML)[4]
AIML has four major tags, namely <aiml>, <category>,
<pattern> and <template>.The AIML tag defines the start
and the end of AIML document. The category tag defines a
unit of knowledge and contains pattern and template tag.
The pattern tag defines user input and may have wild card
characters like star(*) and underscore(_).The template tag
represents the response of the bot to the user input. AIML
lacks the capability of performing mathematical operations
and needs updating regularly. [5]
Code:
<category>
<pattern>
Do you know *
</pattern>
<template>
Sorry ,I have no Idea about <star/>
</template>
</category>
Output:
// User : Do you know Ajay
//Bot : Sorry ,I have no Idea about Ajay
Latent Semantic Analysis[6]
Latent Semantic Analysis(LSA) practices'bagofwords'model,it
learns latent topics by performing a matrix decomposition on
the document-term matrix using Singular value decomposition
(SVD). This can help in classifying texts andconcludingthe topic
of the text. The initial step in LSA is the term frequency-inverse
document frequency (TF-IDF). It reflects how important a word
is to a document in a collection or corpus. The Next and Final
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 07 Issue: 03 |March 2020 www.irjet.net p-ISSN:2395-0072
© 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 2165
step is to use SVD to perform dimensionality reduction on the
TF-IDF vectors.
Stemming
Stemming is a process of reducing a word to its root form
i.e. lemma, eliminating the suffix and prefix. It is an
important step in natural language processing. Potter’s
Stemmer is one of the most popular stemming methods
proposed in 1980. [7]
Eg:
 EED -> EE
(Agreed -> Agree)
 TION -> T
(Introduction ->Introduct)
2. LITERATURE REVIEW
1. Chatbot for University Related FAQs [8]
Chatbots are programs that mimic human conversation
using Artificial Intelligence (AI). Chatbots are being used for
e-commerce,health-related,tourism-related,hotels,payment
websites, and applications. This paper proposed a chatbot
that is designed for students who have queries at the
university. Chatbot uses AIML (Artificial IntelligenceMarkup
Language) and LSA (Latent Semantic Analysis) technologies.
Template-based queries such as welcome greetings will be
responded using AIML, as AIML stores responses to these
queries and other questions will be answered anytime using
LSA.
User discussion starts with welcome greetings and
general questions. When a user submits a query it is tested
whether it has response stored in AIML format.
 User post the query on chatbot
 The user’s query is matched with the predefined
format stored in the AIML file by the developer.
 Pattern matching is performed between the user
entered query and knowledge (pattern).
 If the pattern is matched then stored string is given
as response, otherwise, it is handled by LSA.
2. AutomatedThai-FAQChatbotusingRNN-LSTM[9]
Users interact with businesses using emails and live
chatbots. Though emails look formal in a business
environment, users prefer to use chatbotsastheyare easyto
use. Business needs to keep admins who can reply to
customers' queries. This is a time-consuming process as
admins need to type responses to each query manually and
the customer has to wait for the response. Also, this is costly
as admins need to be paid by businesses. Hence chatbots
seem very efficient replacement to emails and give
interactive user experience. In this paper , the proposed
chatbot uses a Recurrent Neural Network (RNN) in the form
of Long Short-Term Memory (LSTM) for text classification.
The proposed chatbot automatically responds to customers
Frequently Asked Questions (FAQs).
Preparing data
Developers had used 2,636 pairs of questions and answers.
These were then manually classified into 80 classes
according to the number of FAQ types and numbered them.
Classification Model
This model is a neural network that learns to categories the
questions. It includes three layers.
 Embedding layer is the first layer where words are
mapped to vectors of real numbers that learn
representation for predefined fixed-sized
vocabulary from a corpus of text.
 The second layer is the long short-term memory
(LSTM) layer. It is a particular kind of recurrent
neural network (RNN). It is capable of learning
sequential data such as text and video. With the
help of LSTM, RNN can remember inputs for a long
period.
 The third layer is the Dense layer (Output layer)
with a softmax activation function.
The softmax activation operates in the output layer and
represents a categorical distribution over class labels and
obtains the probabilities of each inputs belonging to a label.
Because of the softmax activation function, we have to
encode the label of questions to one-hot format for the
learning process of the model.
3. A Pilot Study Integrating anAI-drivenChatbotin
an Introductory Programming Course[10]
In this research, the developer team developedanintelligent
chatbot interface for a computer programming course. The
chatbot initially had a very limited dataset. It would be
advanced by user interaction with the chatbot. This chatbot
is capable of evolving with the needs of the student. This
paper discusses, how the chatbot was developed and
integrated into the course, how the dataset was developed,
the usage during the pilot study and future scope for the
chatbot. The future scope includes improving the user
interface, improving error rate and much more. This paper
has also detailed the mechanism to handle issues like false-
positive responses. The database for chatbot was populated
with MATLAB functions. 21 unique users interacted with
chatbot out of which six users interactedwiththechatbot for
more than one session and others interacted only once.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 07 Issue: 03 |March 2020 www.irjet.net p-ISSN:2395-0072
© 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 2166
3. PROPOSED MODEL
In this work, we have developed an interactive Chatbot for
the HR department to find answers to their queries. User
will interact in natural language with the bot. Our system
employs AIML and LSA technologies.
The collection of FAQs are preprocessed using tokenization,
stemming and stopword removal.
Fig-1: preprocessing FAQs
The user will enter a query using natural language and
thereafter AIML will match the query with AIML script to
provide a proper response. The system will switch to LSA, if
AIML Script is unable to answer the query, as giving all
possible user input is not feasible. LSA has an assumption
that words with related meaning will occur in a similarpiece
of text.
Fig-2: LSA computation
A matrix will be generated containing "Words counts per
document". This matrix will comprise of the row
representing a unique word and columns representing each
document. We will now apply a mathematical technique
called singular value decomposition (SVD), which is used to
reduce the number of rows while preserving similarity.
Documents are compared by taking a cosine similarity i.e.
dot product between the normalizations of two vectors.
Values close to 1 indicate similar document and values close
to 0 indicate dissimilar document.
Fig-3: Formulating Response
In response to the user query, AIML and LSA will further
produce either a plain-Text or SQL query as a response. If a
plain text is produced it is output as it is, else if SQL query is
returned, it is executed on employee database of the
organization and output is displayed in an appropriatechart
or tabular format, else for irrelevant queries we further ask
for clarifications.
4. RESULT
The chatbot will be able to help the HR departmentget quick
responses to their queries. It will help them manage
Employee details, Employee salary, Employee attendance
and many more. The results are displayed in text, tabular
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 07 Issue: 03 |March 2020 www.irjet.net p-ISSN:2395-0072
© 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 2167
and chart format. Snapshots of the proposed system are
displayed in Fig, 2, Fig.3, Fig.4 respectively.
Fig-4: Employee Details
Fig-5: Employee Expertise
Fig-6: Employee Attendance Chart
5. CONCLUSION
This project will simplify the work of the HR department by
obtaining accurate answers to their questions. The Chatbot
will flag the user queries that had no response from the bot.
Those queries can be further analyzed to enhance AIML
patterns. Therefore, the chatbot will be able to continuously
develop and learn from the data which is new to the system.
As future work, we can provide the user with more
interactive charts, buttons, emoticon, embedded maps and
other GUI elements. We may also apply analysis such as
Sentiment Analysis, Summarization and Topic modelling to
make the bot more friendly and conversational, hence
building an informal experience that mimicsa humanfriend.
6. REFERENCES
[1] “How chatbots can help reduce customer service costs
by 30%”, https://www.ibm.com/blogs/watson/2017/
10/how-chatbots-reduce-customer-service-costs-by-30-
percent/
[2] “Microsoft CEO Satya Nadella says chatbots will
revolutionize computing”,
https://www.onmsft.com/news/microsoft-ceo-satya-
nadella-says-chatbots-will-revolutionize-computing
[3] “How chatbots are changing India Inc”,
https://cio.economictimes.indiatimes.com/news/next-
gen-technologies/how-chatbots-are-changing-india-
inc/74604260
[4] “Artificial Intelligence Markup Language”,
http://www.aiml.foundation/
[5] “Intelligent ChattingService UsingAIML”,SaqibG,Faizan
, Ghatte N , IEEE International Conference on Current
Trends toward Converging Technologies, 2018
[6] “Latent Semantic Analysis with python” ,
https://www.datacamp.com/community/tutorials/disc
overing-hidden-topics-python
[7] “The Porter Stemming Algorithm “,
https://tartarus.org/martin/PorterStemmer
[8] “Chatbot for University Related FAQs”, Bhavika R.
Ranoliya ,NidhiRaghuwanshi and Sanjay Singh,
International Conference on Advances In Computing
Communications and Informatics 2017
[9] “Automated Thai-FAQ Chatbot using RNN-LSTM”,
PanitanMuangkammuen, NarongIntiruk ,Kanda
RunapongsaSaikaew , 22 nd International Computer
Science and Engineering Conference 2018
[10] “A Pilot Study IntegratinganAI-drivenChatbotinan
Introductory Programming Course”, Matthew Verleger,
James Pembridge, IEEE Frontiers in Education
Conference (FIE),2018

Weitere ähnliche Inhalte

Was ist angesagt?

Interactive speech based games for autistic children with asperger syndrome
Interactive speech based games for autistic children with asperger syndromeInteractive speech based games for autistic children with asperger syndrome
Interactive speech based games for autistic children with asperger syndrome
Amal Abduallah
 
A black-box-approach-for-response-quality-evaluation-of-conversational-agent-...
A black-box-approach-for-response-quality-evaluation-of-conversational-agent-...A black-box-approach-for-response-quality-evaluation-of-conversational-agent-...
A black-box-approach-for-response-quality-evaluation-of-conversational-agent-...
Cemal Ardil
 
Financial Tracker using NLP
Financial Tracker using NLPFinancial Tracker using NLP
Financial Tracker using NLP
Dr. Amarjeet Singh
 
Fakebuster fake news detection system using logistic regression technique i...
Fakebuster   fake news detection system using logistic regression technique i...Fakebuster   fake news detection system using logistic regression technique i...
Fakebuster fake news detection system using logistic regression technique i...
Conference Papers
 
Benchmarking supervived learning models for emotion analysis
Benchmarking supervived learning models for emotion analysisBenchmarking supervived learning models for emotion analysis
Benchmarking supervived learning models for emotion analysis
Conference Papers
 

Was ist angesagt? (20)

An Intelligent Career Counselling Bot A System for Counselling
An Intelligent Career Counselling Bot A System for CounsellingAn Intelligent Career Counselling Bot A System for Counselling
An Intelligent Career Counselling Bot A System for Counselling
 
IRJET- NEEV: An Education Informational Chatbot
IRJET-  	  NEEV: An Education Informational ChatbotIRJET-  	  NEEV: An Education Informational Chatbot
IRJET- NEEV: An Education Informational Chatbot
 
IRJET - College Enquiry Chatbot
IRJET - College Enquiry ChatbotIRJET - College Enquiry Chatbot
IRJET - College Enquiry Chatbot
 
IRJET - Chat-Bot for College Information System using AI
IRJET -  	  Chat-Bot for College Information System using AIIRJET -  	  Chat-Bot for College Information System using AI
IRJET - Chat-Bot for College Information System using AI
 
Interactive speech based games for autistic children with asperger syndrome
Interactive speech based games for autistic children with asperger syndromeInteractive speech based games for autistic children with asperger syndrome
Interactive speech based games for autistic children with asperger syndrome
 
Chat bot in_pythion
Chat bot in_pythionChat bot in_pythion
Chat bot in_pythion
 
IRJET- Artificial Intelligence Based Chat-Bot
IRJET-  	  Artificial Intelligence Based Chat-BotIRJET-  	  Artificial Intelligence Based Chat-Bot
IRJET- Artificial Intelligence Based Chat-Bot
 
IRJET- College Enquiry Chatbot System(DMCE)
IRJET-  	  College Enquiry Chatbot System(DMCE)IRJET-  	  College Enquiry Chatbot System(DMCE)
IRJET- College Enquiry Chatbot System(DMCE)
 
Chat-Bot for College Management System using A.I
Chat-Bot for College Management System using A.IChat-Bot for College Management System using A.I
Chat-Bot for College Management System using A.I
 
A black-box-approach-for-response-quality-evaluation-of-conversational-agent-...
A black-box-approach-for-response-quality-evaluation-of-conversational-agent-...A black-box-approach-for-response-quality-evaluation-of-conversational-agent-...
A black-box-approach-for-response-quality-evaluation-of-conversational-agent-...
 
IRJET - Number/Text Translate from Image
IRJET -  	  Number/Text Translate from ImageIRJET -  	  Number/Text Translate from Image
IRJET - Number/Text Translate from Image
 
IRJET- ASL Language Translation using ML
IRJET- ASL Language Translation using MLIRJET- ASL Language Translation using ML
IRJET- ASL Language Translation using ML
 
Profile Analysis of Users in Data Analytics Domain
Profile Analysis of   Users in Data Analytics DomainProfile Analysis of   Users in Data Analytics Domain
Profile Analysis of Users in Data Analytics Domain
 
Financial Tracker using NLP
Financial Tracker using NLPFinancial Tracker using NLP
Financial Tracker using NLP
 
Banking botreport
Banking botreportBanking botreport
Banking botreport
 
IRJET- College Enquiry Chat-Bot using API.AI
IRJET- College Enquiry Chat-Bot using API.AIIRJET- College Enquiry Chat-Bot using API.AI
IRJET- College Enquiry Chat-Bot using API.AI
 
IRJET- Personality Prediction System using AI
IRJET- Personality Prediction System using AIIRJET- Personality Prediction System using AI
IRJET- Personality Prediction System using AI
 
Fakebuster fake news detection system using logistic regression technique i...
Fakebuster   fake news detection system using logistic regression technique i...Fakebuster   fake news detection system using logistic regression technique i...
Fakebuster fake news detection system using logistic regression technique i...
 
Analysis of sms feedback and online feedback using sentiment analysis for ass...
Analysis of sms feedback and online feedback using sentiment analysis for ass...Analysis of sms feedback and online feedback using sentiment analysis for ass...
Analysis of sms feedback and online feedback using sentiment analysis for ass...
 
Benchmarking supervived learning models for emotion analysis
Benchmarking supervived learning models for emotion analysisBenchmarking supervived learning models for emotion analysis
Benchmarking supervived learning models for emotion analysis
 

Ähnlich wie IRJET - Chatbot for HR Department using AIML and LSA

Chatbot for chattint getting requirments and analysis all the tools
Chatbot for chattint getting requirments and analysis all the toolsChatbot for chattint getting requirments and analysis all the tools
Chatbot for chattint getting requirments and analysis all the tools
Songs24
 

Ähnlich wie IRJET - Chatbot for HR Department using AIML and LSA (20)

IRJET- Recruitment Chatbot
IRJET- Recruitment ChatbotIRJET- Recruitment Chatbot
IRJET- Recruitment Chatbot
 
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNING
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNINGCUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNING
CUSTOMER SUPPORT CHATBOT WITH MACHINE LEARNING
 
IRJET- Interactive Interview Chatbot
IRJET-  	  Interactive Interview ChatbotIRJET-  	  Interactive Interview Chatbot
IRJET- Interactive Interview Chatbot
 
IRJET- Conversational Assistant based on Sentiment Analysis
IRJET- Conversational Assistant based on Sentiment AnalysisIRJET- Conversational Assistant based on Sentiment Analysis
IRJET- Conversational Assistant based on Sentiment Analysis
 
IRJET- An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...
IRJET-  	  An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...IRJET-  	  An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...
IRJET- An Intelligent Behaviour Shown by Chatbot System for Banking in Ve...
 
IRJET- Multimedia Chatbot using Classification
IRJET- Multimedia Chatbot using ClassificationIRJET- Multimedia Chatbot using Classification
IRJET- Multimedia Chatbot using Classification
 
AI and Web-Based Interactive College Enquiry Chatbot
AI and Web-Based Interactive College Enquiry ChatbotAI and Web-Based Interactive College Enquiry Chatbot
AI and Web-Based Interactive College Enquiry Chatbot
 
Design of Chatbot using Deep Learning
Design of Chatbot using Deep LearningDesign of Chatbot using Deep Learning
Design of Chatbot using Deep Learning
 
A Review Comparative Analysis On Various Chatbots Design
A Review   Comparative Analysis On Various Chatbots DesignA Review   Comparative Analysis On Various Chatbots Design
A Review Comparative Analysis On Various Chatbots Design
 
AI CHAT BOT USING SHAN ALGORITHM
AI CHAT BOT USING SHAN ALGORITHMAI CHAT BOT USING SHAN ALGORITHM
AI CHAT BOT USING SHAN ALGORITHM
 
IRJET - Artificial Conversation Entity for an Educational Institute
IRJET - Artificial Conversation Entity for an Educational InstituteIRJET - Artificial Conversation Entity for an Educational Institute
IRJET - Artificial Conversation Entity for an Educational Institute
 
Chatbot for chattint getting requirments and analysis all the tools
Chatbot for chattint getting requirments and analysis all the toolsChatbot for chattint getting requirments and analysis all the tools
Chatbot for chattint getting requirments and analysis all the tools
 
A Research Paper on HUMAN MACHINE CONVERSATION USING CHATBOT
A Research Paper on HUMAN MACHINE CONVERSATION USING CHATBOTA Research Paper on HUMAN MACHINE CONVERSATION USING CHATBOT
A Research Paper on HUMAN MACHINE CONVERSATION USING CHATBOT
 
VOCAL- Voice Command Application using Artificial Intelligence
VOCAL- Voice Command Application using Artificial IntelligenceVOCAL- Voice Command Application using Artificial Intelligence
VOCAL- Voice Command Application using Artificial Intelligence
 
COLLEGE ENQUIRY CHATBOT SYSTEM IN JAVASCRIPT
COLLEGE ENQUIRY CHATBOT SYSTEM IN JAVASCRIPTCOLLEGE ENQUIRY CHATBOT SYSTEM IN JAVASCRIPT
COLLEGE ENQUIRY CHATBOT SYSTEM IN JAVASCRIPT
 
An Intelligent Chatbot for College Enquiry with Amazon Lex
An Intelligent Chatbot for College Enquiry with Amazon LexAn Intelligent Chatbot for College Enquiry with Amazon Lex
An Intelligent Chatbot for College Enquiry with Amazon Lex
 
User stories collection via interactive chatbot to support requirements gathe...
User stories collection via interactive chatbot to support requirements gathe...User stories collection via interactive chatbot to support requirements gathe...
User stories collection via interactive chatbot to support requirements gathe...
 
Survey on Chatbot Classification and Technologies
Survey on Chatbot Classification and TechnologiesSurvey on Chatbot Classification and Technologies
Survey on Chatbot Classification and Technologies
 
Revolutionizing Industry 4.0: GPT-Enabled Real-Time Support
Revolutionizing Industry 4.0: GPT-Enabled Real-Time SupportRevolutionizing Industry 4.0: GPT-Enabled Real-Time Support
Revolutionizing Industry 4.0: GPT-Enabled Real-Time Support
 
WHATSAPP CHATBOT FOR CAREER GUIDANCE
WHATSAPP CHATBOT FOR CAREER GUIDANCEWHATSAPP CHATBOT FOR CAREER GUIDANCE
WHATSAPP CHATBOT FOR CAREER GUIDANCE
 

Mehr von IRJET Journal

Mehr von IRJET Journal (20)

TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
TUNNELING IN HIMALAYAS WITH NATM METHOD: A SPECIAL REFERENCES TO SUNGAL TUNNE...
 
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURESTUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
STUDY THE EFFECT OF RESPONSE REDUCTION FACTOR ON RC FRAMED STRUCTURE
 
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
A COMPARATIVE ANALYSIS OF RCC ELEMENT OF SLAB WITH STARK STEEL (HYSD STEEL) A...
 
Effect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil CharacteristicsEffect of Camber and Angles of Attack on Airfoil Characteristics
Effect of Camber and Angles of Attack on Airfoil Characteristics
 
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
A Review on the Progress and Challenges of Aluminum-Based Metal Matrix Compos...
 
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
Dynamic Urban Transit Optimization: A Graph Neural Network Approach for Real-...
 
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
Structural Analysis and Design of Multi-Storey Symmetric and Asymmetric Shape...
 
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
A Review of “Seismic Response of RC Structures Having Plan and Vertical Irreg...
 
A REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADASA REVIEW ON MACHINE LEARNING IN ADAS
A REVIEW ON MACHINE LEARNING IN ADAS
 
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
Long Term Trend Analysis of Precipitation and Temperature for Asosa district,...
 
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD ProP.E.B. Framed Structure Design and Analysis Using STAAD Pro
P.E.B. Framed Structure Design and Analysis Using STAAD Pro
 
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
A Review on Innovative Fiber Integration for Enhanced Reinforcement of Concre...
 
Survey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare SystemSurvey Paper on Cloud-Based Secured Healthcare System
Survey Paper on Cloud-Based Secured Healthcare System
 
Review on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridgesReview on studies and research on widening of existing concrete bridges
Review on studies and research on widening of existing concrete bridges
 
React based fullstack edtech web application
React based fullstack edtech web applicationReact based fullstack edtech web application
React based fullstack edtech web application
 
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
A Comprehensive Review of Integrating IoT and Blockchain Technologies in the ...
 
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
A REVIEW ON THE PERFORMANCE OF COCONUT FIBRE REINFORCED CONCRETE.
 
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
Optimizing Business Management Process Workflows: The Dynamic Influence of Mi...
 
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic DesignMultistoried and Multi Bay Steel Building Frame by using Seismic Design
Multistoried and Multi Bay Steel Building Frame by using Seismic Design
 
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
Cost Optimization of Construction Using Plastic Waste as a Sustainable Constr...
 

Kürzlich hochgeladen

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 

Kürzlich hochgeladen (20)

HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 

IRJET - Chatbot for HR Department using AIML and LSA

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 |March 2020 www.irjet.net p-ISSN:2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 2164 Chatbot for HR Department Using AIML and LSA Ajaykumar Kushwaha1, Rishikesh Nanaware2, Damini Pandare 3 1Student, Dept. of Information Technology, Atharva College of Engineering, Malad, Mumbai, Maharashtra 2Student, Dept. of Information Technology, Atharva College of Engineering, Malad, Mumbai, Maharashtra 3Student, Dept. of Information Technology, Atharva College of Engineering, Malad, Mumbai, Maharashtra ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - Chatbots are programs thatimpersonatehuman discussion utilizing Artificial Intelligence (AI). Today’s Chatbots are becoming smarter, more responsive and more useful. Chatbot technology at their core uses Natural Language Processing (NLP). Softwares used by the HR department for Payroll management, Human Resources Management (HRM) are very tedious to use as they require visiting various pages, sections and forms even for benign details. A chatbot can simplify this task by letting user communicate in Naturallanguageandgetprecise information with just one query. In, this paper we have proposed a chatbot which can give a response in different interface elements like tables, graphs, etc. It can understand the meaning of different queries searching for same response and gives response according to that. Key Words: Chatbot, NLP, AIML, LSA, Human resource Management, Stemming. 1.INTRODUCTION A Chatbot is a new tool, introduced in the market that simplifies user interaction withcomputers.In banking,sales, services it has made tremendous growth in the past. As per IBM - 265 billion client demands are recorded every year and organizations spent almost $1.3trilliontoaddressthem. Utilizing chatbots could assist spare with increasing to 30% of this expense[1] . Microsoft CEO Satya Nadella believes that the evolution of user behaviour with computing will naturally involve the use of chatbots as the underlying basis for communication between user and information[2]. According to Suresh Iyer, CIO of Blue Star, Sales executives spend a lot of time assembling and processing information by themselves which can be done by chatbot and chatbot may also be used as a guide[3]. Various management tools available in the market canhelpmanagehumanresourcebut mastering these tools and drawing insights is time- consuming and tedious. In this paper, we are proposing an intelligent chatbot that is not only easy to use but also helps the user derive faster business insights. The bot can also respond to common greetings. The chatbot is built using Artificial Intelligence Markup Language (AIML) and Latent Semantic Analysis (LSA) and the required data is fetched from the database of the company. In the proposed chatbot, there are two types of responses, template-based and analysis-based. Template-based responses are usually provided for greetingsandpredefined queries whereas analysis-based responses are provided for complex inputs. Template-based queries are handled by AIML solely for other responses LSA, stemming, and other NLP tools are additionally used. Artificial Intelligence Markup Language(AIML)[4] AIML has four major tags, namely <aiml>, <category>, <pattern> and <template>.The AIML tag defines the start and the end of AIML document. The category tag defines a unit of knowledge and contains pattern and template tag. The pattern tag defines user input and may have wild card characters like star(*) and underscore(_).The template tag represents the response of the bot to the user input. AIML lacks the capability of performing mathematical operations and needs updating regularly. [5] Code: <category> <pattern> Do you know * </pattern> <template> Sorry ,I have no Idea about <star/> </template> </category> Output: // User : Do you know Ajay //Bot : Sorry ,I have no Idea about Ajay Latent Semantic Analysis[6] Latent Semantic Analysis(LSA) practices'bagofwords'model,it learns latent topics by performing a matrix decomposition on the document-term matrix using Singular value decomposition (SVD). This can help in classifying texts andconcludingthe topic of the text. The initial step in LSA is the term frequency-inverse document frequency (TF-IDF). It reflects how important a word is to a document in a collection or corpus. The Next and Final
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 |March 2020 www.irjet.net p-ISSN:2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 2165 step is to use SVD to perform dimensionality reduction on the TF-IDF vectors. Stemming Stemming is a process of reducing a word to its root form i.e. lemma, eliminating the suffix and prefix. It is an important step in natural language processing. Potter’s Stemmer is one of the most popular stemming methods proposed in 1980. [7] Eg:  EED -> EE (Agreed -> Agree)  TION -> T (Introduction ->Introduct) 2. LITERATURE REVIEW 1. Chatbot for University Related FAQs [8] Chatbots are programs that mimic human conversation using Artificial Intelligence (AI). Chatbots are being used for e-commerce,health-related,tourism-related,hotels,payment websites, and applications. This paper proposed a chatbot that is designed for students who have queries at the university. Chatbot uses AIML (Artificial IntelligenceMarkup Language) and LSA (Latent Semantic Analysis) technologies. Template-based queries such as welcome greetings will be responded using AIML, as AIML stores responses to these queries and other questions will be answered anytime using LSA. User discussion starts with welcome greetings and general questions. When a user submits a query it is tested whether it has response stored in AIML format.  User post the query on chatbot  The user’s query is matched with the predefined format stored in the AIML file by the developer.  Pattern matching is performed between the user entered query and knowledge (pattern).  If the pattern is matched then stored string is given as response, otherwise, it is handled by LSA. 2. AutomatedThai-FAQChatbotusingRNN-LSTM[9] Users interact with businesses using emails and live chatbots. Though emails look formal in a business environment, users prefer to use chatbotsastheyare easyto use. Business needs to keep admins who can reply to customers' queries. This is a time-consuming process as admins need to type responses to each query manually and the customer has to wait for the response. Also, this is costly as admins need to be paid by businesses. Hence chatbots seem very efficient replacement to emails and give interactive user experience. In this paper , the proposed chatbot uses a Recurrent Neural Network (RNN) in the form of Long Short-Term Memory (LSTM) for text classification. The proposed chatbot automatically responds to customers Frequently Asked Questions (FAQs). Preparing data Developers had used 2,636 pairs of questions and answers. These were then manually classified into 80 classes according to the number of FAQ types and numbered them. Classification Model This model is a neural network that learns to categories the questions. It includes three layers.  Embedding layer is the first layer where words are mapped to vectors of real numbers that learn representation for predefined fixed-sized vocabulary from a corpus of text.  The second layer is the long short-term memory (LSTM) layer. It is a particular kind of recurrent neural network (RNN). It is capable of learning sequential data such as text and video. With the help of LSTM, RNN can remember inputs for a long period.  The third layer is the Dense layer (Output layer) with a softmax activation function. The softmax activation operates in the output layer and represents a categorical distribution over class labels and obtains the probabilities of each inputs belonging to a label. Because of the softmax activation function, we have to encode the label of questions to one-hot format for the learning process of the model. 3. A Pilot Study Integrating anAI-drivenChatbotin an Introductory Programming Course[10] In this research, the developer team developedanintelligent chatbot interface for a computer programming course. The chatbot initially had a very limited dataset. It would be advanced by user interaction with the chatbot. This chatbot is capable of evolving with the needs of the student. This paper discusses, how the chatbot was developed and integrated into the course, how the dataset was developed, the usage during the pilot study and future scope for the chatbot. The future scope includes improving the user interface, improving error rate and much more. This paper has also detailed the mechanism to handle issues like false- positive responses. The database for chatbot was populated with MATLAB functions. 21 unique users interacted with chatbot out of which six users interactedwiththechatbot for more than one session and others interacted only once.
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 |March 2020 www.irjet.net p-ISSN:2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 2166 3. PROPOSED MODEL In this work, we have developed an interactive Chatbot for the HR department to find answers to their queries. User will interact in natural language with the bot. Our system employs AIML and LSA technologies. The collection of FAQs are preprocessed using tokenization, stemming and stopword removal. Fig-1: preprocessing FAQs The user will enter a query using natural language and thereafter AIML will match the query with AIML script to provide a proper response. The system will switch to LSA, if AIML Script is unable to answer the query, as giving all possible user input is not feasible. LSA has an assumption that words with related meaning will occur in a similarpiece of text. Fig-2: LSA computation A matrix will be generated containing "Words counts per document". This matrix will comprise of the row representing a unique word and columns representing each document. We will now apply a mathematical technique called singular value decomposition (SVD), which is used to reduce the number of rows while preserving similarity. Documents are compared by taking a cosine similarity i.e. dot product between the normalizations of two vectors. Values close to 1 indicate similar document and values close to 0 indicate dissimilar document. Fig-3: Formulating Response In response to the user query, AIML and LSA will further produce either a plain-Text or SQL query as a response. If a plain text is produced it is output as it is, else if SQL query is returned, it is executed on employee database of the organization and output is displayed in an appropriatechart or tabular format, else for irrelevant queries we further ask for clarifications. 4. RESULT The chatbot will be able to help the HR departmentget quick responses to their queries. It will help them manage Employee details, Employee salary, Employee attendance and many more. The results are displayed in text, tabular
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 07 Issue: 03 |March 2020 www.irjet.net p-ISSN:2395-0072 © 2020, IRJET | Impact Factor value: 7.34 | ISO 9001:2008 Certified Journal | Page 2167 and chart format. Snapshots of the proposed system are displayed in Fig, 2, Fig.3, Fig.4 respectively. Fig-4: Employee Details Fig-5: Employee Expertise Fig-6: Employee Attendance Chart 5. CONCLUSION This project will simplify the work of the HR department by obtaining accurate answers to their questions. The Chatbot will flag the user queries that had no response from the bot. Those queries can be further analyzed to enhance AIML patterns. Therefore, the chatbot will be able to continuously develop and learn from the data which is new to the system. As future work, we can provide the user with more interactive charts, buttons, emoticon, embedded maps and other GUI elements. We may also apply analysis such as Sentiment Analysis, Summarization and Topic modelling to make the bot more friendly and conversational, hence building an informal experience that mimicsa humanfriend. 6. REFERENCES [1] “How chatbots can help reduce customer service costs by 30%”, https://www.ibm.com/blogs/watson/2017/ 10/how-chatbots-reduce-customer-service-costs-by-30- percent/ [2] “Microsoft CEO Satya Nadella says chatbots will revolutionize computing”, https://www.onmsft.com/news/microsoft-ceo-satya- nadella-says-chatbots-will-revolutionize-computing [3] “How chatbots are changing India Inc”, https://cio.economictimes.indiatimes.com/news/next- gen-technologies/how-chatbots-are-changing-india- inc/74604260 [4] “Artificial Intelligence Markup Language”, http://www.aiml.foundation/ [5] “Intelligent ChattingService UsingAIML”,SaqibG,Faizan , Ghatte N , IEEE International Conference on Current Trends toward Converging Technologies, 2018 [6] “Latent Semantic Analysis with python” , https://www.datacamp.com/community/tutorials/disc overing-hidden-topics-python [7] “The Porter Stemming Algorithm “, https://tartarus.org/martin/PorterStemmer [8] “Chatbot for University Related FAQs”, Bhavika R. Ranoliya ,NidhiRaghuwanshi and Sanjay Singh, International Conference on Advances In Computing Communications and Informatics 2017 [9] “Automated Thai-FAQ Chatbot using RNN-LSTM”, PanitanMuangkammuen, NarongIntiruk ,Kanda RunapongsaSaikaew , 22 nd International Computer Science and Engineering Conference 2018 [10] “A Pilot Study IntegratinganAI-drivenChatbotinan Introductory Programming Course”, Matthew Verleger, James Pembridge, IEEE Frontiers in Education Conference (FIE),2018