{"title":"基于改进TF-IDF和余弦相似度的自动问答","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":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"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\":\"18 1\",\"pages\":\"0\"},\"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}","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}
Automated Question Answering based on Improved TF-IDF and Cosine Similarity
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.