SlideShare a Scribd company logo
1 of 4
Download to read offline
Turkish Journal of Computer and Mathematics Education Vol.12 No.9 (2021), 1786- 1789
1786
Research Article
Chatbot Application for Tourism using Natural Language Tool Kit
R.Srinivasana
, M.Kavithab
, R.Kavithac
, K.Thaslima Nasreend
a
Professor, Department of CSE, Vel Tech Rangarajan Dr.Sagunthala R & D
Institute of Science and Technology
b
Professor, Department of CSE, Vel Tech Rangarajan Dr.Sagunthala R & D Institute of Science and Technology
c
Professor, Department of CSE, Vel Tech Rangarajan Dr.Sagunthala R & D
Institute of Science and Technology
d
Assistant Professor, Department of CSE, K.Ramakrishnan College of Engineering, Trichy
Article History: Received: 10 January 2021; Revised: 12 February 2021; Accepted: 27 March 2021; Published
online: 20 April 2021
_____________________________________________________________________________________________________
Abstract: Chatbot is widely popular now-a-days which is designed to increase the interaction and conversation
with human users, mainly over the internet and it is catching speed as an application of computer program.
Traditionally, it works as getting a question by the user and answered by a software program. The user can enter
the query via text. If the user enters the query which is not presented in the data base, the chat bot uses the google
search and gives the relevant answers to the user. When the user enters the query, the bot uses the pattern matching
compares and relates the words in the question with the words in the data base. From the user input, the words in
the sentence will be scored to get the similarity. The highest score obtained will be printed as output. NLP (Natural
Language Processing) method is used in order to understand the human language by the computer.
Keywords: Chatbot, Pattern Matching, NLP, Google search
1. Introduction
The chatbot is used to conduct the conversation which allows the people to access to information via
messaging application. The conversation can be done via text, speech or even interact with a chat bot using
graphical interfaces. Each platform has its own specific features which is used to determine the possible ways in
which the chatbot can interact with the user. Currently there are two different types of chatbots. They are: Rule
based chatbot: These types of chatbots mostly work on interactive FAQ (frequently asked questions). They are
programmed to identify and recognize the key terms and patterns from the user query from which they can respond
with pre-set answers in the database. AI chatbot: These kind of chatbots acts as an artificial brain, using the
techniques like natural language processing from NLTK (natural language toolkit). This kind of chatbot not only
understands from the query, but also context, intents, emotions and continuously gets updated as it learnt from the
conversation with user. Simple functional chatbots works on the pre-written keywords in the program that they
understand. Each of these commands or keywords will be written by the programmer separately using the regular
expressions or some other forms of string analysis. Aditya Deshpande et al [1] explained about the evolution of
the chatbots from an elementary model to an advances artificial intelligent system. Also describes how chatbot
perfectly rival a human dialogue, it should analyze the input given by user using NLP and formulate correct
response. David Corser et al [2] enlightened about how a travel bot advising system based on the information
extracted from the social media like Facebook, twitter, Instagram etc. and linked data. The tweets or posts
published by the users on the social media platform known to provide travel information for the location, including
bus operators and transport authorities. Dahiya.M et al [3] illuminated about the artificial intelligent chatbot and
how to create the dialog box, modules description, and the working of pattern matching that compares the user
query and matches the keywords with the data base. Ebtesam H. Almansor et al [4] explicates about the survey on
intelligent chatbots which works more efficiently than the rule based chatbots. These chat bots uses the deep
learning which helps to learn intents, emotions etc from the user query. 4 Jwala.K et al [4] explained about the
differences between the chatbot build by using NLP and Deep learning. Also discussed about the metrics for
increasing the enactment of chat bots which helps in future enhancements. Ramachandran et al [6] discussed about
the user adoption of chatbots. The users are much more adopted to the chatbots than ever before in recent times. It
is because of the features of the chatbot like customer support, its conversation. Sameera A. et al [7] explained
about the fundamental technique AIML. The purpose of AIML is to streamline the job of informal modelling, in
relation to a ‘stimulus-response’ process. Sasa Arsovski et al[8] enlightened about the resemblances and variances
in the execution of chat bot and analyzes the source languages used in the designing of chatbot AIML and chat
script. S.J.Du Preez et al[9] enlightened about how messages are configured to XML and summarized. The main
components used in this chatbot are client, server, and content attainment. The server used in this bot is a Simple
object access protocol (SOAP). Zia Babar et al [10] described the retrieval-based chat bot and generative chatbots.
Turkish Journal of Computer and Mathematics Education Vol.12 No.9 (2021), 1786- 1789
1787
Research Article
Rule based chatbot gives the answers for the queries which are present in the data base where as generative bots
uses deep learning and learn from the user questions.
2. Proposed System
Figure 2.1: Architecture Diagram
Figure 2.1 shows the architecture of Chatbot application. The proposed system of chat bot is more
efficient than the existing rule based chat bot. The users enters the message, Intent Classification will intent the
message and also recognizes the entity. Based on the query, candidate response generator will respond and give
related response. In existing system it can only answers for the queries that are in data base. But in this proposed
system, even if the questions are not present in database the chat bot uses the google search and give the answers
to the questions. A chatbot system allows communication among computer and users through natural language.
The travelers during their tourism faces a lot of problems for the queries and details as they don’t know anything
regarding the place. In such cases this travel bot is very useful to the travelers. In comparison to the other service
channels such as tourist guides, chatbot enables a very cost and time effective way to address concerns. The
chatbots can instantly gives the responses to the customers without making them to wait for long time. Most of the
messaging platforms are using the chat bot now a days which increases the interaction between user and the system.
3. Implementation
3.1 Data Collection
Figure 3.1 represents the data collection. All the data should be collected and stored in the data base i.e.,
text file. When the user enters the query the chat bot uses the pattern matching to watch the key word with the data
base.
Figure 3.1 Data Collection
3.2 Training the Chatbot
Figure 3.2 represents the training the chat bot. The chat bot is trained using the intents, entitites, emotions
etc. Most of the intents are trained using the greeting inputs and greeting responses. Chat bot using Python requires
some prerequisite modules to be installed. The modules are NLTK, sklearn, random, numpy etc. From Nltk module
the NLP is imported which is used by the chatbot to understand the human language. Chat bot takes some steps to
convert the user query into the structured data. The processing steps are: Normalization: The program processes
the text to find common spelling mistakes or typographical errors that might user wants to convey. Tokenization:
It divides the string of sentences into words and words into tokens and lemmer preprocess the tokens. The greeting
Turkish Journal of Computer and Mathematics Education Vol.12 No.9 (2021), 1786- 1789
1788
Research Article
inputs and outputs are given in the program. User enters the query. Using the keyword and pattern matching
compares the strings from the data base and suitable output will be given by the bot during the conversation. If the
query is not present in the data base then the bot uses the google search and finds the answer for the query and
displays the relevant answer. Next the server app will be build that will the API for Chat bot queries.
Figure 3.2 Training the Chatbot
3.3 Chabot Design
Chat bot design: Figure 4.8 represents the chat bot design. The output page which converse with the user
is designed using html. The user has to enter the text in the text box and should click the submit button in order to
give the input query.
Figure 3.3: Chatbot design
Figure 3.4 Conversation between user and bot
4. Conclusion
Travel chatbots are advantageous all round. Chatbots perform at a very high standard and provide
consistent and rapid replies to users compared to that of outdated procedures. Travelers are constantly increasing
their information needs. These chatbots serve to help the customers by providing the relevant and beneficial
answers to travel queries. Chatbots are fully operational systems that can support user service understandings and
reply time. The current implementation allows more tools to be easily integrated to provide better results. The
future scope of chatbots could include many benefits for enterprises, but they need to be gently nudged in the right
direction for business to reap these benefit.
Turkish Journal of Computer and Mathematics Education Vol.12 No.9 (2021), 1786- 1789
1789
Research Article
References
1. Aditya Deshpande and Alisha Shahane (2018), “A Survey of various chatbot
implementation techniques”, Dept. of Computer Science, MAEER’s MIT college of
engineering, pune, India.
2. Atricio Perez, Fabian De-La-Cruz, Ximena Guerron, Geovanny Conrado, Patricia Quiroz-
Palma, Winther Molina (2019), "ChatPy: Conversational agent for SMEs", Information
Systems and Technologies (CISTI) 2019 14th
Iberian Conference on,pp.
3. Dahiya.M(2017), “A Tool of Conversation : Chatbot” Dept. of Computer Science, Maharaja
Surajmal Institute, Janakapuri,India.
4. Ebtesam H. Almansor and Farookh Khadeer Hussain(2018), “Survey On Intelligent Chat
bots”University of Technology, Sydney, Australia.
5. Jwala.K, G.N.V.G Sirisha, G.V. Padma Raju (2019), “Developing a Chatbot Using Machine
Learning”,International Journal of Recent Technology and Engineering (IJRTE) ISSN:
2277-3878, Volume-8 Issue- 1S3.
6. Ramachandran, Ajay (2019), “User Adoption of Chat bots”,International Journal of
Advanced Computer Science and Applications, Vol. 6. 29
7. Randall Wald, Taghi M. Khoshgoftaar, Amri Napolitano, Chris Sumner (2013), "Predicting
susceptibility to social bots on Twitter", Information Reuse and Integration (IRI) IEEE 14th
International Conference on, pp. 6- 13, 2016.
8. Sameera A. Abdul-Kader (2016),” Survey on Chatbot Design Techniques in Speech
Conversation Systems” School of Computer Science and Electronic Engineering/University
of Essex Colchester/ UK Diyala University/ Diyala/ Iraq.
9. Sasa Arsovski,Adrian David Cheok , Muniru Idris, Mohd Radzee Bin Abdul Raffu (2019),
“Analysis Of The Chatbot Open Source Languages AIML and Chatscript”.
10. Zia Babar and Alexi Lapouchnian (2018), “Chatbot DesignReasoning about design options
and process architecture” Faculty of Information, University of Toronto.

More Related Content

Similar to 3598-Article Text-6763-1-10-20210422.pdf

IRJET- Review of Chatbot System in Hindi Language
IRJET-  	  Review of Chatbot System in Hindi LanguageIRJET-  	  Review of Chatbot System in Hindi Language
IRJET- Review of Chatbot System in Hindi LanguageIRJET Journal
 
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 AIIRJET Journal
 
A Survey on Various Types of Chatbots
A Survey on Various Types of ChatbotsA Survey on Various Types of Chatbots
A Survey on Various Types of ChatbotsIRJET Journal
 
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 AnalysisIRJET Journal
 
IRJET - A Study on Building a Web based Chatbot from Scratch
IRJET - A Study on Building a Web based Chatbot from ScratchIRJET - A Study on Building a Web based Chatbot from Scratch
IRJET - A Study on Building a Web based Chatbot from ScratchIRJET Journal
 
IRJET- Interactive Interview Chatbot
IRJET-  	  Interactive Interview ChatbotIRJET-  	  Interactive Interview Chatbot
IRJET- Interactive Interview ChatbotIRJET Journal
 
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.IIRJET Journal
 
WHATSAPP CHATBOT FOR CAREER GUIDANCE
WHATSAPP CHATBOT FOR CAREER GUIDANCEWHATSAPP CHATBOT FOR CAREER GUIDANCE
WHATSAPP CHATBOT FOR CAREER GUIDANCEIRJET Journal
 
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 DesignCourtney Esco
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfAnastasiaSteele10
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfStephenAmell4
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfJamieDornan2
 
IRJET - A Web-based College Enquiry Chatbot using .Net and Dataset
IRJET - A Web-based College Enquiry Chatbot using .Net and DatasetIRJET - A Web-based College Enquiry Chatbot using .Net and Dataset
IRJET - A Web-based College Enquiry Chatbot using .Net and DatasetIRJET Journal
 
Chatbot
ChatbotChatbot
Chatbotijtsrd
 
IRJET- A Survey to Chatbot System with Knowledge Base Database by using Artif...
IRJET- A Survey to Chatbot System with Knowledge Base Database by using Artif...IRJET- A Survey to Chatbot System with Knowledge Base Database by using Artif...
IRJET- A Survey to Chatbot System with Knowledge Base Database by using Artif...IRJET Journal
 
IRJET- College Enquiry Chatbot System(DMCE)
IRJET-  	  College Enquiry Chatbot System(DMCE)IRJET-  	  College Enquiry Chatbot System(DMCE)
IRJET- College Enquiry Chatbot System(DMCE)IRJET Journal
 
IRJET- Information Chatbot for an Educational Institute
IRJET- Information Chatbot for an Educational InstituteIRJET- Information Chatbot for an Educational Institute
IRJET- Information Chatbot for an Educational InstituteIRJET Journal
 

Similar to 3598-Article Text-6763-1-10-20210422.pdf (20)

IRJET- Review of Chatbot System in Hindi Language
IRJET-  	  Review of Chatbot System in Hindi LanguageIRJET-  	  Review of Chatbot System in Hindi Language
IRJET- Review of Chatbot System in Hindi Language
 
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
 
A Survey on Various Types of Chatbots
A Survey on Various Types of ChatbotsA Survey on Various Types of Chatbots
A Survey on Various Types of Chatbots
 
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 - A Study on Building a Web based Chatbot from Scratch
IRJET - A Study on Building a Web based Chatbot from ScratchIRJET - A Study on Building a Web based Chatbot from Scratch
IRJET - A Study on Building a Web based Chatbot from Scratch
 
IRJET- Interactive Interview Chatbot
IRJET-  	  Interactive Interview ChatbotIRJET-  	  Interactive Interview Chatbot
IRJET- Interactive Interview Chatbot
 
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
 
WHATSAPP CHATBOT FOR CAREER GUIDANCE
WHATSAPP CHATBOT FOR CAREER GUIDANCEWHATSAPP CHATBOT FOR CAREER GUIDANCE
WHATSAPP CHATBOT FOR CAREER GUIDANCE
 
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 Based Chatbot for FAQs
AI Based Chatbot for FAQs AI Based Chatbot for FAQs
AI Based Chatbot for FAQs
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdf
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdf
 
How to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdfHow to build an AI-powered chatbot.pdf
How to build an AI-powered chatbot.pdf
 
IRJET - A Web-based College Enquiry Chatbot using .Net and Dataset
IRJET - A Web-based College Enquiry Chatbot using .Net and DatasetIRJET - A Web-based College Enquiry Chatbot using .Net and Dataset
IRJET - A Web-based College Enquiry Chatbot using .Net and Dataset
 
Chatbot
ChatbotChatbot
Chatbot
 
IRJET- A Survey to Chatbot System with Knowledge Base Database by using Artif...
IRJET- A Survey to Chatbot System with Knowledge Base Database by using Artif...IRJET- A Survey to Chatbot System with Knowledge Base Database by using Artif...
IRJET- A Survey to Chatbot System with Knowledge Base Database by using Artif...
 
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 in_pythion
Chat bot in_pythionChat bot in_pythion
Chat bot in_pythion
 
IRJET- Information Chatbot for an Educational Institute
IRJET- Information Chatbot for an Educational InstituteIRJET- Information Chatbot for an Educational Institute
IRJET- Information Chatbot for an Educational Institute
 
ijeter35852020.pdf
ijeter35852020.pdfijeter35852020.pdf
ijeter35852020.pdf
 

More from SatishBhalshankar

genuine2-an-open-domain-chatbot-based-on-generative-models.pdf
genuine2-an-open-domain-chatbot-based-on-generative-models.pdfgenuine2-an-open-domain-chatbot-based-on-generative-models.pdf
genuine2-an-open-domain-chatbot-based-on-generative-models.pdfSatishBhalshankar
 
Attentive_fine-tuning_of_Transformers_for_Translat.pdf
Attentive_fine-tuning_of_Transformers_for_Translat.pdfAttentive_fine-tuning_of_Transformers_for_Translat.pdf
Attentive_fine-tuning_of_Transformers_for_Translat.pdfSatishBhalshankar
 

More from SatishBhalshankar (6)

Liebman_Thesis.pdf
Liebman_Thesis.pdfLiebman_Thesis.pdf
Liebman_Thesis.pdf
 
FULLTEXT01.pdf
FULLTEXT01.pdfFULLTEXT01.pdf
FULLTEXT01.pdf
 
genuine2-an-open-domain-chatbot-based-on-generative-models.pdf
genuine2-an-open-domain-chatbot-based-on-generative-models.pdfgenuine2-an-open-domain-chatbot-based-on-generative-models.pdf
genuine2-an-open-domain-chatbot-based-on-generative-models.pdf
 
IRJET-V7I51160.pdf
IRJET-V7I51160.pdfIRJET-V7I51160.pdf
IRJET-V7I51160.pdf
 
Attentive_fine-tuning_of_Transformers_for_Translat.pdf
Attentive_fine-tuning_of_Transformers_for_Translat.pdfAttentive_fine-tuning_of_Transformers_for_Translat.pdf
Attentive_fine-tuning_of_Transformers_for_Translat.pdf
 
ms_3.pdf
ms_3.pdfms_3.pdf
ms_3.pdf
 

Recently uploaded

Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 

Recently uploaded (20)

Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 

3598-Article Text-6763-1-10-20210422.pdf

  • 1. Turkish Journal of Computer and Mathematics Education Vol.12 No.9 (2021), 1786- 1789 1786 Research Article Chatbot Application for Tourism using Natural Language Tool Kit R.Srinivasana , M.Kavithab , R.Kavithac , K.Thaslima Nasreend a Professor, Department of CSE, Vel Tech Rangarajan Dr.Sagunthala R & D Institute of Science and Technology b Professor, Department of CSE, Vel Tech Rangarajan Dr.Sagunthala R & D Institute of Science and Technology c Professor, Department of CSE, Vel Tech Rangarajan Dr.Sagunthala R & D Institute of Science and Technology d Assistant Professor, Department of CSE, K.Ramakrishnan College of Engineering, Trichy Article History: Received: 10 January 2021; Revised: 12 February 2021; Accepted: 27 March 2021; Published online: 20 April 2021 _____________________________________________________________________________________________________ Abstract: Chatbot is widely popular now-a-days which is designed to increase the interaction and conversation with human users, mainly over the internet and it is catching speed as an application of computer program. Traditionally, it works as getting a question by the user and answered by a software program. The user can enter the query via text. If the user enters the query which is not presented in the data base, the chat bot uses the google search and gives the relevant answers to the user. When the user enters the query, the bot uses the pattern matching compares and relates the words in the question with the words in the data base. From the user input, the words in the sentence will be scored to get the similarity. The highest score obtained will be printed as output. NLP (Natural Language Processing) method is used in order to understand the human language by the computer. Keywords: Chatbot, Pattern Matching, NLP, Google search 1. Introduction The chatbot is used to conduct the conversation which allows the people to access to information via messaging application. The conversation can be done via text, speech or even interact with a chat bot using graphical interfaces. Each platform has its own specific features which is used to determine the possible ways in which the chatbot can interact with the user. Currently there are two different types of chatbots. They are: Rule based chatbot: These types of chatbots mostly work on interactive FAQ (frequently asked questions). They are programmed to identify and recognize the key terms and patterns from the user query from which they can respond with pre-set answers in the database. AI chatbot: These kind of chatbots acts as an artificial brain, using the techniques like natural language processing from NLTK (natural language toolkit). This kind of chatbot not only understands from the query, but also context, intents, emotions and continuously gets updated as it learnt from the conversation with user. Simple functional chatbots works on the pre-written keywords in the program that they understand. Each of these commands or keywords will be written by the programmer separately using the regular expressions or some other forms of string analysis. Aditya Deshpande et al [1] explained about the evolution of the chatbots from an elementary model to an advances artificial intelligent system. Also describes how chatbot perfectly rival a human dialogue, it should analyze the input given by user using NLP and formulate correct response. David Corser et al [2] enlightened about how a travel bot advising system based on the information extracted from the social media like Facebook, twitter, Instagram etc. and linked data. The tweets or posts published by the users on the social media platform known to provide travel information for the location, including bus operators and transport authorities. Dahiya.M et al [3] illuminated about the artificial intelligent chatbot and how to create the dialog box, modules description, and the working of pattern matching that compares the user query and matches the keywords with the data base. Ebtesam H. Almansor et al [4] explicates about the survey on intelligent chatbots which works more efficiently than the rule based chatbots. These chat bots uses the deep learning which helps to learn intents, emotions etc from the user query. 4 Jwala.K et al [4] explained about the differences between the chatbot build by using NLP and Deep learning. Also discussed about the metrics for increasing the enactment of chat bots which helps in future enhancements. Ramachandran et al [6] discussed about the user adoption of chatbots. The users are much more adopted to the chatbots than ever before in recent times. It is because of the features of the chatbot like customer support, its conversation. Sameera A. et al [7] explained about the fundamental technique AIML. The purpose of AIML is to streamline the job of informal modelling, in relation to a ‘stimulus-response’ process. Sasa Arsovski et al[8] enlightened about the resemblances and variances in the execution of chat bot and analyzes the source languages used in the designing of chatbot AIML and chat script. S.J.Du Preez et al[9] enlightened about how messages are configured to XML and summarized. The main components used in this chatbot are client, server, and content attainment. The server used in this bot is a Simple object access protocol (SOAP). Zia Babar et al [10] described the retrieval-based chat bot and generative chatbots.
  • 2. Turkish Journal of Computer and Mathematics Education Vol.12 No.9 (2021), 1786- 1789 1787 Research Article Rule based chatbot gives the answers for the queries which are present in the data base where as generative bots uses deep learning and learn from the user questions. 2. Proposed System Figure 2.1: Architecture Diagram Figure 2.1 shows the architecture of Chatbot application. The proposed system of chat bot is more efficient than the existing rule based chat bot. The users enters the message, Intent Classification will intent the message and also recognizes the entity. Based on the query, candidate response generator will respond and give related response. In existing system it can only answers for the queries that are in data base. But in this proposed system, even if the questions are not present in database the chat bot uses the google search and give the answers to the questions. A chatbot system allows communication among computer and users through natural language. The travelers during their tourism faces a lot of problems for the queries and details as they don’t know anything regarding the place. In such cases this travel bot is very useful to the travelers. In comparison to the other service channels such as tourist guides, chatbot enables a very cost and time effective way to address concerns. The chatbots can instantly gives the responses to the customers without making them to wait for long time. Most of the messaging platforms are using the chat bot now a days which increases the interaction between user and the system. 3. Implementation 3.1 Data Collection Figure 3.1 represents the data collection. All the data should be collected and stored in the data base i.e., text file. When the user enters the query the chat bot uses the pattern matching to watch the key word with the data base. Figure 3.1 Data Collection 3.2 Training the Chatbot Figure 3.2 represents the training the chat bot. The chat bot is trained using the intents, entitites, emotions etc. Most of the intents are trained using the greeting inputs and greeting responses. Chat bot using Python requires some prerequisite modules to be installed. The modules are NLTK, sklearn, random, numpy etc. From Nltk module the NLP is imported which is used by the chatbot to understand the human language. Chat bot takes some steps to convert the user query into the structured data. The processing steps are: Normalization: The program processes the text to find common spelling mistakes or typographical errors that might user wants to convey. Tokenization: It divides the string of sentences into words and words into tokens and lemmer preprocess the tokens. The greeting
  • 3. Turkish Journal of Computer and Mathematics Education Vol.12 No.9 (2021), 1786- 1789 1788 Research Article inputs and outputs are given in the program. User enters the query. Using the keyword and pattern matching compares the strings from the data base and suitable output will be given by the bot during the conversation. If the query is not present in the data base then the bot uses the google search and finds the answer for the query and displays the relevant answer. Next the server app will be build that will the API for Chat bot queries. Figure 3.2 Training the Chatbot 3.3 Chabot Design Chat bot design: Figure 4.8 represents the chat bot design. The output page which converse with the user is designed using html. The user has to enter the text in the text box and should click the submit button in order to give the input query. Figure 3.3: Chatbot design Figure 3.4 Conversation between user and bot 4. Conclusion Travel chatbots are advantageous all round. Chatbots perform at a very high standard and provide consistent and rapid replies to users compared to that of outdated procedures. Travelers are constantly increasing their information needs. These chatbots serve to help the customers by providing the relevant and beneficial answers to travel queries. Chatbots are fully operational systems that can support user service understandings and reply time. The current implementation allows more tools to be easily integrated to provide better results. The future scope of chatbots could include many benefits for enterprises, but they need to be gently nudged in the right direction for business to reap these benefit.
  • 4. Turkish Journal of Computer and Mathematics Education Vol.12 No.9 (2021), 1786- 1789 1789 Research Article References 1. Aditya Deshpande and Alisha Shahane (2018), “A Survey of various chatbot implementation techniques”, Dept. of Computer Science, MAEER’s MIT college of engineering, pune, India. 2. Atricio Perez, Fabian De-La-Cruz, Ximena Guerron, Geovanny Conrado, Patricia Quiroz- Palma, Winther Molina (2019), "ChatPy: Conversational agent for SMEs", Information Systems and Technologies (CISTI) 2019 14th Iberian Conference on,pp. 3. Dahiya.M(2017), “A Tool of Conversation : Chatbot” Dept. of Computer Science, Maharaja Surajmal Institute, Janakapuri,India. 4. Ebtesam H. Almansor and Farookh Khadeer Hussain(2018), “Survey On Intelligent Chat bots”University of Technology, Sydney, Australia. 5. Jwala.K, G.N.V.G Sirisha, G.V. Padma Raju (2019), “Developing a Chatbot Using Machine Learning”,International Journal of Recent Technology and Engineering (IJRTE) ISSN: 2277-3878, Volume-8 Issue- 1S3. 6. Ramachandran, Ajay (2019), “User Adoption of Chat bots”,International Journal of Advanced Computer Science and Applications, Vol. 6. 29 7. Randall Wald, Taghi M. Khoshgoftaar, Amri Napolitano, Chris Sumner (2013), "Predicting susceptibility to social bots on Twitter", Information Reuse and Integration (IRI) IEEE 14th International Conference on, pp. 6- 13, 2016. 8. Sameera A. Abdul-Kader (2016),” Survey on Chatbot Design Techniques in Speech Conversation Systems” School of Computer Science and Electronic Engineering/University of Essex Colchester/ UK Diyala University/ Diyala/ Iraq. 9. Sasa Arsovski,Adrian David Cheok , Muniru Idris, Mohd Radzee Bin Abdul Raffu (2019), “Analysis Of The Chatbot Open Source Languages AIML and Chatscript”. 10. Zia Babar and Alexi Lapouchnian (2018), “Chatbot DesignReasoning about design options and process architecture” Faculty of Information, University of Toronto.