Automated Question Answering based on Improved TF-IDF and Cosine Similarity

Muzamil Ahmed, H. Khan, Saqib Iqbal, Q. Althebyan
{"title":"Automated Question Answering based on Improved TF-IDF and Cosine Similarity","authors":"Muzamil Ahmed, H. Khan, Saqib Iqbal, Q. Althebyan","doi":"10.1109/SNAMS58071.2022.10062839","DOIUrl":null,"url":null,"abstract":"This paper proposes an automated question answering system based on improved Term Frequency- Inverse Document Frequency (TF-IDF) and cosine similarity. The main purpose of this research study is to provide an effective question answering system that retrieves precise and relevant answers to the users' queries with high confidence. The existing studies in the relevant literature show that several techniques have been proposed for automatic question answering systems. The rule-based techniques depend on inference rules and take less time to respond to the user query. However, generations of pattern and inference rules are difficult as natural languages lack to follow a fixed pattern. The content-based similarity method pre-computes similarity with all the repository questions for a given query. In this research study, firstly all repository questions are pre-processed and a matrix using the improved TF -IDF model is generated. Then, we find the similarity of each user query with the matrix after query pre-processing. For the proposed approach, we remove stop-words and apply lemmatization and POS tagging techniques for pre-processing. The proposed framework is implemented using the standard datasets used in the existing studies. The empirical analysis-based results show that the systems adopting the proposed technique takes less than five seconds to respond to user queries with maximum similarity. The proposed framework attains up to 84% accuracy.","PeriodicalId":371668,"journal":{"name":"2022 Ninth International Conference on Social Networks Analysis, Management and Security (SNAMS)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2022-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 Ninth International Conference on Social Networks Analysis, Management and Security (SNAMS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SNAMS58071.2022.10062839","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

This paper proposes an automated question answering system based on improved Term Frequency- Inverse Document Frequency (TF-IDF) and cosine similarity. The main purpose of this research study is to provide an effective question answering system that retrieves precise and relevant answers to the users' queries with high confidence. The existing studies in the relevant literature show that several techniques have been proposed for automatic question answering systems. The rule-based techniques depend on inference rules and take less time to respond to the user query. However, generations of pattern and inference rules are difficult as natural languages lack to follow a fixed pattern. The content-based similarity method pre-computes similarity with all the repository questions for a given query. In this research study, firstly all repository questions are pre-processed and a matrix using the improved TF -IDF model is generated. Then, we find the similarity of each user query with the matrix after query pre-processing. For the proposed approach, we remove stop-words and apply lemmatization and POS tagging techniques for pre-processing. The proposed framework is implemented using the standard datasets used in the existing studies. The empirical analysis-based results show that the systems adopting the proposed technique takes less than five seconds to respond to user queries with maximum similarity. The proposed framework attains up to 84% accuracy.
基于改进TF-IDF和余弦相似度的自动问答
提出了一种基于改进词频-逆文档频率(TF-IDF)和余弦相似度的自动问答系统。本研究的主要目的是提供一个有效的问答系统,能够以高置信度检索用户查询的精确且相关的答案。现有的相关文献研究表明,已经提出了几种用于自动问答系统的技术。基于规则的技术依赖于推理规则,响应用户查询所需的时间更少。然而,模式和推理规则的生成是困难的,因为自然语言缺乏遵循固定的模式。基于内容的相似性方法预先计算给定查询与所有存储库问题的相似性。在本研究中,首先对所有知识库问题进行预处理,并使用改进的TF -IDF模型生成一个矩阵。然后,通过查询预处理,找出每个用户查询与矩阵的相似度。对于所提出的方法,我们去除停止词,并应用词序化和词性标注技术进行预处理。提出的框架是使用现有研究中使用的标准数据集来实现的。基于实证分析的结果表明,采用该技术的系统在5秒内就能以最大的相似度响应用户的查询。该框架的准确率高达84%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信