Skip to main content

Arabic Question-Answering System Using Search Engine Techniques

  • Conference paper
  • First Online:
Multimedia Technology and Enhanced Learning (ICMTEL 2021)

Abstract

The Arabic language is one of the most widely spoken languages in the world. Many natural language processing experts have tried to understand its linguistic complexity. This makes text processing and its applications difficult, particularly in question-answering systems. Some researchers have unsuccessfully tried to tackle the problem of creating an effective question-answering system. In this paper, we present a question-answering system for a Saudi Arabia labor law dataset. Our system works in three main stages named Data Preparation, Data Preprocessing and Answer Extraction. The main aim of the first two stages is to prepare and preprocess the dataset in order to be in a suitable format for building question-answering system. In the Answer Extraction stage, two text similarity measurements are applied, which is TF-IDF and Cosine. Then, the candidate answers are evaluated and ranked based on their similarity scores and the most relevant answer to the user’s query is displayed as a final answer. We evaluated our proposed system by test it using 100 of manually generated user queries and on average we achieved a good results.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. PyPI. https://pypi.org/project/docx2txt/

  2. The system of labor, the ministry of human resources and social development, in the kingdom of Saudi Arabia. https://hrsd.gov.sa/ar/policies

  3. Al-Chalabi, H., Ray, S., Shaalan, K.: Semantic based query expansion for arabic question answering systems. In: 2015 First International Conference on Arabic Computational Linguistics (ACLing), pp. 127–132. IEEE (2015)

    Google Scholar 

  4. Al-Jedady, A.A., Al-Kabi, M.N., Alsmadi, I.M.: Fast arabic query matching for compressed arabic inverted indices. Int. J. Database Theory Appl. 5(4), 81–94 (2012)

    Google Scholar 

  5. AlMaayah, M., Sawalha, M., Abushariah, M.A.: Towards an automatic extraction of synonyms for quranic arabic wordnet. Int. J. Speech Technol. 19(2), 177–189 (2016)

    Article  Google Scholar 

  6. Atwan, J., Mohd, M.: Arabic query expansion: a review. Asian J. Inf. Technol. 16(10), 754–770 (2017)

    Google Scholar 

  7. Callison-Burch, C., Osborne, M., Koehn, P.: Re-evaluation the role of bleu in machine translation research. In: 11th Conference of the European Chapter of the Association for Computational Linguistics (2006)

    Google Scholar 

  8. Laurent, D., Séguéla, P., Nègre, S.: Qa better than IR? In: Proceedings of the Workshop on Multilingual Question Answering-MLQA 2006 (2006)

    Google Scholar 

  9. Lin, C.Y.: Rouge: a package for automatic evaluation of summaries. In: Text Summarization Branches Out, pp. 74–81 (2004)

    Google Scholar 

  10. Malhas, R., Elsayed, T.: Ayatec: building a reusable verse-based test collection for arabic question answering on the holy qur’an. ACM Trans. Asian Low Resour. Lang. Inf. Process. 19, 781–7821 (2020)

    Article  Google Scholar 

  11. Mervin, R.: An overview of question answering system. Int. J. Res. Adv. Technol. (IJRATE) 1 (2013)

    Google Scholar 

  12. Moukdad, H.: Lost in cyberspace: How do search engines handle arabic queries? In: Proceedings of the Annual Conference of CAIS/Actes du congrès annuel de l’ACSI (2004)

    Google Scholar 

  13. Rosso, P., Benajiba, Y., Lyhyaoui, A.: Towards an arabic question answering system (2006)

    Google Scholar 

  14. Salton, G., Buckley, C.: Term-weighting approaches in automatic text retrieval. Inf. Process. Manag. 24(5), 513–523 (1988)

    Article  Google Scholar 

  15. Sanan, M., Rammal, M., Zreik, K.: Internet arabic search engines studies. In: 2008 3rd International Conference on Information and Communication Technologies: From Theory to Applications, pp. 1–8. IEEE (2008)

    Google Scholar 

  16. Scholer, F., Williams, H.E., Yiannis, J., Zobel, J.: Compression of inverted indexes for fast query evaluation. In: Proceedings of the 25th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 222–229 (2002)

    Google Scholar 

  17. Steinberger, J., Ježek, K.: Evaluation measures for text summarization. Comput. Inf. 28(2), 251–275 (2012)

    Google Scholar 

  18. Suleiman, D., Awajan, A.: Comparative study of word embeddings models and their usage in arabic language applications. In: 2018 International Arab Conference on Information Technology (ACIT), pp. 1–7. IEEE (2018)

    Google Scholar 

  19. Suleiman, D., Awajan, A.A., Al Etaiwi, W.: Arabic text keywords extraction using word2vec. In: 2019 2nd International Conference on new Trends in Computing Sciences (ICTCS), pp. 1–7. IEEE (2019)

    Google Scholar 

  20. Tawileh, W., et al.: Evaluation of five web search engines in arabic language. In: LWA, pp. 221–228 (2010)

    Google Scholar 

  21. Zeid, M.S., Belal, N.A., El-Sonbaty, Y.: Arabic question answering system using graph ontology. In: Silhavy, R., Silhavy, P., Prokopova, Z. (eds.) CoMeSySo 2020. AISC, vol. 1294, pp. 212–224. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-63322-6_17

    Chapter  Google Scholar 

  22. Zhong, B., He, W., Huang, Z., Love, P.E., Tang, J., Luo, H.: A building regulation question answering system: a deep learning methodology. Adv. Eng. Inf. 46, 101195 (2020)

    Article  Google Scholar 

  23. Zouaoui, S., Rezeg, K.: A novel quranic search engine using an ontology-based semantic indexing. Arab. J. Sci. Eng. 46, 1–22 (2021)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tahani Alqurashi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Alamir, M., Alharth, S., Alqurashi, S., Alqurashi, T. (2021). Arabic Question-Answering System Using Search Engine Techniques. In: Fu, W., Xu, Y., Wang, SH., Zhang, Y. (eds) Multimedia Technology and Enhanced Learning. ICMTEL 2021. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 387. Springer, Cham. https://doi.org/10.1007/978-3-030-82562-1_31

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-82562-1_31

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-82561-4

  • Online ISBN: 978-3-030-82562-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics