Hostname: page-component-74656f9884-rngvg Total loading time: 0 Render date: 2026-11-06T00:36:21.628Z Has data issue: false hasContentIssue false

Lemaza : An Arabic why-question answering system*

Published online by Cambridge University Press:  24 August 2017

AQIL M. AZMI
Affiliation:
Department of Computer Science, King Saud University, Riyadh 11543, Saudi Arabia e-mail: aqil@ksu.edu.sa, noalshenaifi@ksu.edu.sa
NOUF A. ALSHENAIFI
Affiliation:
Department of Computer Science, King Saud University, Riyadh 11543, Saudi Arabia e-mail: aqil@ksu.edu.sa, noalshenaifi@ksu.edu.sa
Rights & Permissions [Opens in a new window]

Abstract

Question answering systems retrieve information from documents in response to queries. Most of the questions are who- and what-type questions that deal with named entities. A less common and more challenging question to deal with is the why -question. In this paper, we introduce Lemaza (Arabic for why), a system for automatically answering why -questions for Arabic texts. The system is composed of four main components that make use of the Rhetorical Structure Theory. To evaluate Lemaza, we prepared a set of why -question–answer pairs whose answer can be found in a corpus that we compiled out of Open Source Arabic Corpora. Lemaza performed best when the stop-words were not removed. The performance measure was 72.7%, 79.2% and 78.7% for recall, precision and c@1, respectively.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2017 
Figure 0

Fig. 1. Example of three different question types: what, how much and why. It helps illustrate the difficulty of answering why -questions, and why it is not as straightforward as the more direct type of questions. Sample text is drawn from multiple Arabic sources, translated into English with the aid of Google Translate.

Figure 1

Fig. 2. Example of Arabic language derivations.

Figure 2

Table 1. A single sample text and two different RS-trees

Figure 3

Fig. 3. General architecture of our Arabic why-question answering system.

Figure 4

Algorithm 1 The proposed algorithm for the question analysis. This constitute the first component (out of four) that makes up our Arabic why-QA system.

Figure 5

Table 2. Example of how a question is processed by Algorithm 1. We do not show the whole set of expanded keywords

Figure 6

Algorithm 2 The RST-based algorithm to extract answer for the why-question.

Figure 7

Algorithm 3 The main algorithm to handle Arabic why-questions.

Figure 8

Fig. 4. Corresponding RST-tree to the sample text featured in Table 3.

Figure 9

Table 3. A sample Arabic text titled, ‘Toxic metals are a main component in commercial and counterfeit cosmetics’

Figure 10

Table 4. Two candidate answers for the Arabic query ‘Why do they warn us from using cosmetics?’, corresponding to different RST relations. Our system picks candidate answer 1 since its RST relation has a higher priority

Figure 11

Fig. 5. Screenshot of Lemaza, our Arabic why QA system.

Figure 12

Fig. 6. The effect of eliminating an individual preprocessing step on the overall performance of Lemaza.

Figure 13

Table 5. Performance comparison with other RST based why–QA systems. The measure for the other systems is as reported by their respected authors.