<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="752"/><title>Adaptive Feedback Message Generation for Second Language Learners of Arabic</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 752-757, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Shaalan" givenname="Khaled"><org  name="British University in Dubai" city="Dubai UAE"/></author><author surname="Magdy" givenname="Marwa"><org  name="British University in Dubai" city="Dubai UAE"/></author></firstpageheader><frontmatter><p><b>Adaptive Feedback Message Generation for Second Language</b></p><p><b>Learners of Arabic</b></p><p><b>Khaled Shaalan</b></p><p>The British University in Dubai, PO Box 345015 Dubai, UAE</p><p>khaled.shaalan@buid.ac.ae</p></frontmatter><abstract>This paper addresses issues related to generat­ing feedback messages to errors related to Ar­abic verbs made by second language learners (SLLs). The proposed approach allows for in-dividualization. When a SLL of Arabic writes a wrong verb, it performs analysis of the input and distinguishes between different lexical er­ror types. The proposed system issues the in­telligent feedback that conforms to the learn­er's proficiency level for each class of error. The proposed system has been effectively evaluated using real test data and achieved sat­isfactory results. </abstract></header><body><section number="1" title="Introduction"><p>Second language acquisition is a difficult task. There are various methods to acquire a new lan­guage and all of them require some form of feedback, a reaction to what has been said or written. The recent trend is to automate the feed­back through Intelligent Language Tutoring Sys­tem (ILTS).</p><p>The current trend concentrates on NLP tools and techniques geared towards the diagnosis of errors produced by SLLs and identifying the cause of their errors rather than providing the correct version directly.</p><p>This paper is about the generation of feedback message based on individual proficiency levels. The proficiency level measure is based on the progression in the learner answers. In particular, when a SLL of Arabic writes a wrong verb, it distinguishes between this set of lexical error types: <i>lexical category selection, pattern selec­tion, tense selection, mood selection, subject-verb agreement, verb conjugation, connected pronouns </i>and/or <i>consonant, </i>and <i>vowel letters. </i>Nevertheless, it provides the intelligent feedback that conforms to the learner's expertise for each</p><p><b>Marwa Magdy</b></p><p>Faculty of Computers &amp; Information, Cairo University, 12613 Egypt m.magdy@fci-cu.edu.eg class of error. There are three learning levels for each concept covered: <i>beginner, intermediate </i>and <i>advanced. </i>A learner who generally has mas­tered an Arabic concept might receive a hint just indicating the <i>class of error. </i>Whereas, the learn­er who generally knows the concept but still needs practice in its application the feedback is the <i>type of the error. </i>For the beginner learning level, the feedback is as specific as possible, the exact <i>source of the error </i>is provided.</p><p>The edit distance technique is employed to an­alyze the erroneous Arabic verb. The deep analy­sis of the learner input helps in accurately detect­ing the lexical errors and issuing the appropriate feedback to the learner.</p><p>To the best of our knowledge, very few re­searches has considered true diagnosis and issu­ing feedback of Arabic lexical errors. For exam­ple, Shaalan (2005a; 2005b) has developed an ILTS system for Arabic learners which just em­bed specific morphological analysis rules to pro­vide feedback. In addition, there exist some sys­tems that are designed for SLLs of other lan­guages than Arabic which still keep the behavior of spell checkers (Faltin et al., 2005; Faltin, 2003; Rimrott, 2003; Hsieh et al., 2002).</p><p>The rest of this paper is structured as follows. Section 2 introduces an analysis of Arabic lexical errors. Section 3 describes the proposed model. Section 4 discusses the results. Section 5 gives concluding remarks.</p></section><section number="2" title="Arabic Lexical Error Typology"><p>To decide on the set of errors handled, we inves­tigated the literature which defined the most fre­quent types of errors made by Arabic SLLs (cf. Ali 1998; Abd Alghaniy 1998; Jassem 2000). These errors can be classified into: <i>Errors in word formation, Errors in semantic or word choice </i>and <i>Errors at the interface of lexical and grammar. </i>Tables 1 through 4 provide details of lexical errors.</p><page local="2" global="753"/><p>ule such as the one explained in (Shaalan et al., 2010a; Shaalan et al., 2011).</p><table caption="Table 4: Errors at the Interface of Lexical and Gram­mar"></table></section><section number="3" title="System Overview"><p>The proposed system is specially designed for individualized SLL of Arabic. The objective test method is used such that the expected learner's answer is relatively short and well-focused<footnote anchor="2"/>. The system contains the following components:</p><p>The <i>lexical error checker </i>is an NLP compo­nent that analyzes the learner's answer and de­tects possible source of errors. It gets the initial error detection assumptions about each word in the learner answer from the word analyzer mod-</p><footnote label="1">Habash et al. (2007) Arabic transliteration is used here to Romanize Arabic examples.</footnote><footnote label="2">There is only one possible correct answer</footnote><p>This module generates all possible word anal­yses for each ill-formed input. It uses constraint relaxation and edit-distance techniques to split each erroneous word into three possible seg­ments: <i>prefix+stem+suffix. </i>Then the lexical error checker proceeds to detect source of errors using edit distance techniques. <i>Tutoring module </i>is re­sponsible for initialization of the student model and issuing appropriate error specific feedback message suited to the learner's expertise level. The proposed system keeps a record of the learn­er's performance history. This information is held in the <i>student model. </i>The <i>item banking </i>compo­nent contains different types of questions to be issued to the learner.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Error Type</b></p></td><td class="cell"><p><b>Source of Error</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Verb pat­tern</p><p>Acronym:</p><p>VP</p></td><td class="cell"><p>Incorrect usage of root pattern. Wrong: <b>iW</b>^/Âa-tawaS-al/^I-arrive).</p><p>Correct:   <b>iMjî  </b>/Âu-wASil/ (I-continue)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Table 1: Semantic or Word Choice Errors</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Error Type</b></p></td><td class="cell"><p><b>Source of Error</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Connected pronouns Acronym: CP</p></td><td class="cell"><p>Incorrect usage of pronouns with</p><p>respect to verb tense.</p><p>Wrong: &lt;^&gt;* /ya-jiy.-tu/ (I-he-</p><p>came)</p><p>Correct:     /jiy.-tu/ (I-came)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Verb con­jugation Acronym:</p><p>VC</p></td><td class="cell"><p>Incorrect conjugation of Arabic</p><p>weak verbs.</p><p>wrong: /najaw/</p><p>correct: ^ /najA/ (he escaped)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Table 2: Word Formation Errors due to Morphology</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 3: Word Formation Errors due to Phonology" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Error</b></p></td><td class="cell"><p><b>Source of Error</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Type</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Switching a conjugated verb with its</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>infinitive, e.g.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Lexical</p></td><td class="cell"><p>Wrong:   <b>»Lafl*   </b>/AlSalAah/ (the-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>catego-</p></td><td class="cell"><p>praying)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Correct:       /Âu-Sal~iy/ (I-pray)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Acro-</p></td><td class="cell"><p>Switching an infinitive with its con-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nym:</p></td><td class="cell"><p>jugated verb, e.g.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LC</p></td><td class="cell"><p>Wrong word:      /biç.-tu/ (I-sold)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Correct word:       /Albay. ç/ (the-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>selling)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Verb</p></td><td class="cell"><p>Using incorrect verb tense, e.g.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>tense</p></td><td class="cell"><p>Wrong word: <b>J</b><b>j&gt;* </b>/nu-riyd/ (we-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Acro-</p></td><td class="cell"><p>want)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nym:</p></td><td class="cell"><p>Correct  word:  <b>U</b><b>j</b><b>I</b><b>J </b>/ÂarAda-nA/</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>VT</p></td><td class="cell"><p>(we-wanted)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Disa-</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>gree-</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ment of</p></td><td class="cell"><p>The disagreement may be in gender,</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>a con-</p></td><td class="cell"><p>number and person disagreement,</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nected</p></td><td class="cell"><p>e.g. *</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>pronoun</p></td><td class="cell"><p>Wrong word:  <b>isJj^* </b>/liyu-wad~iy/</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>with the</p></td><td class="cell"><p>(to-pray-he)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>subject</p></td><td class="cell"><p>Correct word: <b>&lt;|JjV </b>/liÂu-wad~iy/</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Acro-</p></td><td class="cell"><p>(to-pray-I)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nym:</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SVD</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Verb</p></td><td class="cell"><p>Using incorrect verb mood, e.g.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>mood</p></td><td class="cell"><p>Wrong:   <b><i>JàJ</i></b><b><i> </i></b>/ya-Â.tiy/ (he-come</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Acro-</p></td><td class="cell"><p>[indicative])</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>nym:</p></td><td class="cell"><p>Correct: ^ /ya-Â.t/ (he-come [jus-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>VM</p></td><td class="cell"><p>sive])</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Error Type</b></p></td><td class="cell"><p><b>Source of Error</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Conso­nant let­ters Acro­nym: CL</p></td><td class="cell"><p>Incorrect usage of letters with a closely related pronunciation. Wrong: <b>jjialwî* </b>/Âa-S.taTiyç/' Correct: <b>j</b><b>^IL </b>/Âa-s.taTiyç / (I-am-able).</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Vowel letters Acro­nym: VL</p></td><td class="cell"><p>Making short vowel a long one. Wrong: <b>^Uwî* </b>/ÂaS.bAH-at/. Correct: <b>'"^.'"l</b><b>î </b>/ÂaS.baH-at / (be­came)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Making long vowel a short one. Wrong: <b><i>ùijj? </i></b>/ta-zuri-yna/. Correct: <b><i>öiJjjß </i></b>/ta-zwri-yna/ (you-visit)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="3" global="754"/><subsection number="3.1" title="Item Banking"><p>The item banking is a database of test items. It includes different types of questions like Dicta­tion, Word order, Build a sentence, Transform a sentence category, Word formation practice and Fill in blank.</p><p>Each question is accompanied by an associat­ed list of concepts to test how well the learner has mastered them. Furthermore, each question has some parameters that help the system to di­agnose errors. The parameter list is a list of <i>fea­ture structures </i>(FSs) for all Arabic words in the correct answer. They include features: <i>correct word without diacritics, correct word with dia­critics, root, pattern, type of verb, prefix string, suffix string, lexical category, tense, voice, mood, subject, object gender, number </i>and <i>person.</i></p></subsection><subsection number="3.2" title="Student Model"><p>The student model used here contains only in­formation about the proficiency level of the stu­dent. The <i>perturbation error </i>model is used to represent this knowledge. In this model, there exist one or more misconceptions for each con­cept in an introductory course for teaching Ara­bic weak verbs. For example, the <i>vowel letters </i>concept has two associated misconceptions: <i>make short vowel long one </i>and the vice versa.</p><p>For each concept along with its associated bug, the student model keeps a frequency of this error, to each student, which falls in the range of one of the three learning levels. The frequency of the bug is expressed by a number pair <i>[S, T]; </i>where the variable <i>S </i>represents how many times the student has made this error and the variable T represents the total number of times in which the student has met this concept.</p></subsection><subsection number="3.3" title="Lexical Error Checker"><p>This module gets its input from the word analyz­er module. The input presents all possible initial analyses for each erroneous word in the learner answer. These analyses consist of five elements: prefix, stem, suffix, FS that describes the ana­lyzed word, and an initial error indication. The later is a list that denotes: the required editing operation (e.g., insert) to the affix string, the ac­tual character and the position where the opera­tion should take place. For example, if the learn­er writes the wrong verb jSJli* /qAl.-tw/ (told-I). The input of the lexical error checker in this case is as follows:</p><p><b>Prefix: </b>Null,  <b>Stem:   </b>"JLJ", <b>Suffix:</b></p><p><b>"</b>d<b>",  FS:   </b>first person singular perfect verb, <b>Error indication:</b><b> </b>[in­sert ('j ',5)j</p><p>The objective of the lexical error checker is to detect errors in the stem string and to confirm errors in affixes given from the word analyzer module. It contains the following components: error analysis, error classification, filtering mod­ule.</p><subsubsection number="3.3.1" title="Error Analysis Module"><p>This module proceeds with the analysis of all words in the learner's answer. It receives a list containing all possible word analyses from word analyzer module and all possible analyses that have the same root as the correct answer from the morphological analyzer module. And then generate the final analysis of the input words. The following shows how this module works:</p><p>Example 1:  Write a sentence using the following Arabic roots. p-j-o &lt;J-j-j /q-w-l,H-q,d-wm/.</p><p>Assume the following two answers; where (a) includes a wrong conjugation of a Hollow (mid­dle weak) verb, and (b) is the correct answer.</p><doubt alpha="56.2" length="32" tooSmall="False" monospace="0.0">a. l_o_JI ù  j^JI_9-ljlj/qAl.-tw</doubt><p>AlHaq~ dAyimAâ/   (I  always told the-truth).</p><p>b. l_o_JI ù  j&gt;J I   <b><i>Js-äl   </i></b>/Âa-quwl AlHaq~ dAyimAâ/   (I  always tell the-truth) .</p><p><b><i>Stepl: </i></b>the morphological analyzer does not result in any solution that has the same root as correct answer J-j-6 /q-w-l/. However, applying the word analyzer module on the word j^*/qAl.-tw/ (I-told) results in only one solution, <i>'first per­son singular perfect verb active voice with extra Waw in the affix', </i>which becomes the output of step 1.</p><p><b><i>Step2: </i></b>The input solution list could be mini­mized by a number of factors: learner's answer, question parameters, and error categories han­dled by the system. We derived a set of heuristic rules to discard irrelevant solutions. An example of these rules is given in Table 5.</p><p><b><i>Step3: </i></b>For every solution in the list, the sys­tem morphologically generates a well-formed stem. A shallow morphological generator is de­veloped that is based on the notion of a Morpho­logical Form Hierarchy (MFH) or tree (Cavalli et al., 2000). The input of this module is a FS.</p><p>The transformation rules attached to each leaf node of the MFH effects the desired morphologi­cal transformations for that node. The output of the transformation is the <i>transformed stem </i>string from the root string.<page local="4" global="755"/> Figure 1 shows an example of a rule attached to a node in the MFH.</p><doubt alpha="65.2" length="23" tooSmall="False" monospace="0.0">_Rule (1): Description_</doubt><p><i><u>IF</u> </i>the <b>affix string </b>in the learner answer <b>match­es </b>the <b>correct </b>affix string <i><u>AND</u> </i>the <b>FS </b>of the <b>correct answer </b>does not <b>match </b>with the FS of the <b>learner answer</b></p><p>Tense: perfect venbjype: hollow other verb types <b><i>deleteMiddleLetter </i>rule ,</b> subjnum: sg or dl subjnum: pl <b><i>convertMiddleLetter </i>rule___A___</b> subjgender^'rn subjgender^ f <b><i>convertMiddleLetter </i>rule <i>deleteMiddleLetter </i>rule</b></p><doubt alpha="59.5" length="37" tooSmall="False" monospace="0.0">'siibjperson: 1 or 2 subj pe^son: 3 _</doubt><figure caption="Figure 1: A subtree showing the stem change for per­fect verbs of pattern cWVfaEala/"></figure><p>The rationale behind this module is that the specified FS is matched against the features de­fining each subtree until a leaf is reached. At that point, the transformation rule attached to the leaf node is tried. If no rule is found or none of the clauses of the applicable rule match, it returns the value of <i>root </i>unchanged. After applying this step on Example 1, it produces the stem Ja /qul/</p><p><b><i>Step4: </i></b>In this step, the system matches the generated stem with the extracted (analyzed) one using <i>three-way-match </i>method (Elmi and Evens 1998). The inserted and deleted characters are only constraints to be weak letters<footnote anchor="3"/>. Also, the converted characters should only be performed with another one that has similar pronunciation. The matching process works as follows: partition the two words according to the following pat­terns the generated stem pattern = x<b>w</b>z and ex­tracted stem pattern = x<b>v</b>z. Where <i>x </i>is the initial segment, <i>z </i>is the tail segment; <i>u </i>and <i>v </i>are the error segments. First, the initial segment is se­lected. The tail segment is processed likewise. Finally, the error segments are the remaining characters of the two words.</p><footnote label="3">This is because the learner may have a problem in either verb conjugation or vowel letters.</footnote><p>Applying this step on Example 1, the extracted stem is Jâ /qAl/ while the generated one is Ja /qul/. The matched initial segment is {J} and the matched tail segment is {J}. The error segment for the extracted stem is {I} whereas it is empty for the generated stem. Therefore, the system concludes that there is some extra character I /A/. This extra character does not match the diacritic sign of the generated word at this position (i.e. the added character is I while the diacritic sign at second position is /u/).</p><p><b><i>Step5: </i></b>Ambiguity is a standard problem in any NLP application. In ILTS, relaxing the con­straints of the language in order to be able to ana­lyze learner's answer generally produces more interpretations than systems designed for only well-formed input. The ambiguity problem men­tioned here is discussed and partially solved in (Shaalan et al., 2010b).</p></subsubsection><subsubsection number="3.3.2" title="Error Classification Module"><p>This module will recognize different error types from word analysis structure. It contains a set of <i>if-then </i>rules to recognize different error types. Examples of these rules are given below.</p><p><b><i>Rule Make Short Vowel long one Error:</i></b></p><p><b><i>IF </i></b>there is an inserted character in the affix <b><i>OR  </i></b>(there is an inserted character in the stem <b><i><u>AND</u> </i></b>this char­acter matches with the diacritic sign at this position of the correct word) <b><i><u>THEN</u> </i></b>the error in vowel letters. The parameter of this error is ["short", "long"]</p><p>Notice that the learner might make multiple errors in his input. So, this module exhaustively tests <i>all </i>IF-statements to detect all possible error types the learner has made.</p><p>Applying this module on the input word /qAl.-tw/ (I-told), it detects that the learner has made three errors: 1) <i>Verb tense </i>error since the correct word tense is <i>imperfect </i>while the ana­lyzed one is <i>perfect, </i><i>2)</i><i> Make short vowel long one </i>since there is an extra character in affix, and 3) <i>Verb conjugation </i>error since there is an extra character at position 2 in the stem and this char­acter does not match the correct diacritic sign.</p></subsubsection><subsubsection number="3.3.3" title="Filtering Module"><p>This module accommodates multiple errors, in­structional feedback messages need to be priori­tized by the system and displayed one at a time to the student to avoid multiple error reports.</p><p>The system maintains an error priority queue to rank feedback with respect to the dependency <i><u>THEN </u></i><u>discard this solution.</u><u></u>_ <b>Example:</b><b> </b>if the learner writes the word /qAl.-tu/ (I-told) instead of ^ /qul-tu/ (I-told), the system will extract <b>four </b>suffixes that have the same orthographic form but differ in their meaning. All these suffixes except 1st singular <u>suffix are discarded</u>_ of errors, e.g. verb tense error has higher priority than verb conjugation error.<page local="5" global="756"/></p><table caption="Table 5: An example of a filtering rule"></table></subsubsection></subsection><subsection number="3.4" title="Tutoring Module"><p>This module is responsible for initializing the student model for each new registered student and issuing appropriate error specific feedback message suited to the learner's level. The initiali­zation process is to set the frequency of all bugs in the student model to [0,   0].</p><p>The feedback system is responsible for gener­ating feedback messages that conform to the learner's expertise. It includes <i>error database </i>and <i>feedback message generator. </i>The error data­base contains a specification of all different er­rors categories handled by the system.</p><p>The feedback message generator module re­ceives a number that defines proficiency level according to this error- beginner or intermediate or advanced. In addition, it receives the error type along with its parameters. Then, it proceeds as follows: for the advanced learning level, the feedback is to provide a hint to the class of the error. For the intermediate, it provides the type of error. For the beginner, the feedback refers to the exact source of the error. For example, the ad­vanced learner will get the following message "error at the interface of lexical and grammar". While the intermediate will get "verb tense er­ror". The beginner message is "incorrect use of perfect verb instead of imperfect"</p></subsection></section><section number="4" title="System Evaluation"><p>We conducted an experiment that measures how successfully the proposed model diagnoses errors and provides correct error specific feedback that conforms to the learning level. The <i>quantitative </i>measures are used. These measures rely on col­lecting different test sets written by real SLLs in a typical teaching/learning environment. It was necessary that these learners have different back­grounds (i.e., differ in their first language) to test if the system is general enough and not aimed to a specific sort of learners. The different types of errors and the exact source of errors in the test set are <i>subjectively </i>identified by a human spe­cialist to produce the reference set. The test set is then fed into the system and the detected and undetected errors are reported. The recall rate for each error type is calculated.</p><p>The above mentioned methodology is applied on a real test set that consists of 116 real Arabic sentences. Table 6 summarizes the evaluation results. The first column in this table describes the different error types while the second column presents the total number of occurrences of each error type in the test set. The rest of columns pre­sent the recall rate of fully diagnosed errors, par­tially-diagnosed, and general error indication, respectively.</p><p>Notice, however, the error specific feedback message produced by the system in cases of par­tially diagnosed errors is the same for both the beginner and intermediate learning level. This is because the source of error was not detected by the system. While the feedback message in cases of general error indication is a catch-all error message for all learning levels.</p><p>The highly recall rate is for <i>consonant letters </i>and <i>verb mood </i>(100%). While the less recall rate is for <i>verb pattern </i>(57.1%). This is because of the ambiguity problem. The system has no direct knowledge of what the student meant to express. For example, if the learner writes the word instead of /ta-çal~am-tu/ (I-study). It is not clear whether the learner meant /çalim-tu/ (I-knew) by using the pattern /façil/ or /çal~am-tu/ (I-taught) by using the pattern /faç~al/. The system successfully detects that the error type is <i>verb pattern </i>but fails to identify the exact wrong pattern. Therefore the feedback message for both beginner and intermediate learner in this case is the same "incorrect use of verb pattern".</p></section><section number="5" title="Conclusion"><p>Learning Arabic language is a challenge because of its complex linguistic structure which poses a difficulty to SLLs. They not only make errors done by native speakers but also others that arise due to competence issues. Our study indicated that using methods and tools designed for a na­tive speaker spell checking is certain to be inadequate, especially for highly derivational and in­flectional languages such as Arabic.<page local="6" global="757"/> Therefore, we adopted methods and tools that meet the SLLs of Arabic needs. Moreover, those learners want to improve their language skills in order not to fall in the same mistakes very often. There­fore, it was appropriate that we developed a di­agnosis system, letting the learners find out the correct solution for themselves. Error messages point the learner to the right direction for correc­tion.</p><table caption="Table 6: Evaluation Results" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Er-</p></td><td class="cell"><p></p></td><td class="cell"><p><i>fully</i></p></td><td class="cell"><p>Partially</p></td><td class="cell"><p>General</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>ror</p></td><td class="cell"><p></p></td><td class="cell"><p><i>Diag-</i></p></td><td class="cell"><p>diagnosed</p></td><td class="cell"><p>Error in-</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Typ</p></td><td class="cell"><p>N</p></td><td class="cell"><p><i>nosed</i></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>dication</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>e</p></td><td class="cell"><p></p></td><td class="cell"><p>N</p></td><td class="cell"><p>%</p></td><td class="cell"><p>N</p></td><td class="cell"><p>%</p></td><td class="cell"><p>N</p></td><td class="cell"><p>%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CL</p></td><td class="cell"><p>8</p></td><td class="cell"><p>8</p></td><td class="cell"><p>100</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>VL</p></td><td class="cell"><p>24</p></td><td class="cell"><p>19</p></td><td class="cell"><p>79.2</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>5</p></td><td class="cell"><p>20.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>VC</p></td><td class="cell"><p>21</p></td><td class="cell"><p>14</p></td><td class="cell"><p>66.7</p></td><td class="cell"><p>1</p></td><td class="cell"><p>4.8</p></td><td class="cell"><p>6</p></td><td class="cell"><p>28.6</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>CP</p></td><td class="cell"><p>7</p></td><td class="cell"><p>6</p></td><td class="cell"><p>85.7</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>1</p></td><td class="cell"><p>14.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>VP</p></td><td class="cell"><p>14</p></td><td class="cell"><p>8</p></td><td class="cell"><p>57.1</p></td><td class="cell"><p>3</p></td><td class="cell"><p>21.4</p></td><td class="cell"><p>3</p></td><td class="cell"><p>21.4</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>LC</p></td><td class="cell"><p>16</p></td><td class="cell"><p>14</p></td><td class="cell"><p>87.5</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>2</p></td><td class="cell"><p>12.5</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>VT</p></td><td class="cell"><p>17</p></td><td class="cell"><p>11</p></td><td class="cell"><p>64.7</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>6</p></td><td class="cell"><p>35.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SVD</p></td><td class="cell"><p>24</p></td><td class="cell"><p>17</p></td><td class="cell"><p>70.8</p></td><td class="cell"><p>5</p></td><td class="cell"><p>20.8</p></td><td class="cell"><p>2</p></td><td class="cell"><p>8.3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>VM</p></td><td class="cell"><p>2</p></td><td class="cell"><p>2</p></td><td class="cell"><p>100</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Total</p></td><td class="cell"><p>133</p></td><td class="cell"><p>99</p></td><td class="cell"><p>74.4</p></td><td class="cell"><p>9</p></td><td class="cell"><p>6.8</p></td><td class="cell"><p>25</p></td><td class="cell"><p>18.8</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><p>In order to evaluate our approach, we acquired a test data set from a real educational SLLs envi­ronment. In the absence of a complete computa­tionally erroneous Arabic corpus, either for re­search or commercial purposes, we only could manually collect a relatively small test set. For­tunately, it was sufficient to show that approach and techniques employed in this paper have suc­cessfully analyzed ill-formed verbs written by SLLs of Arabic. Nevertheless, it shows the capa­bility of issuing an intelligent feedback message that conforms to the learner proficiency level allowing the system to perform individualization in the teaching process.</p><p>The approach and techniques described in this research can be used with other Semitic lan­guages which share similar morphological fea­tures of Arabic to provide appropriate feedback to their SLLs.</p></section><references><p>Abd Alghaniy, K. E. 1998. Arabic and Malaysian Languages from Phonological and Morphological Perspective: A Contrastive Analysis Approach. Master Thesis, Cairo University, Egypt, 1998.</p><p>Ali, M. B. 1998. Linguistic Analysis of Mistakes by Students at the University of Malaya: An Error Analysis Approach. Master Thesis, Cairo Universi­ty, Egypt, 1998.</p><p>Cavalli-Sforza, V., Soudi, A. and Mitamura, T. 2000.</p><p>Arabic Morphology Generation Using a Concate-native Strategy. In Proceedings of the 1st Confer­ence, NAACL 00. Seattle, Washington, pp: 86-93.</p><p>Elmi, M. A. and Evens, M. 1998. Spelling Correction Using Context. In Proceedings of 36th ACL 98, Montreal, Canada, pp: 360-364.</p><p>Faltin, A. V., L'haire, S. and Ndiaye, M. 2005. A Spell Checker for Language Learners of French and a Learner Corpus. In Proceedings of EURO-</p><p>CALL 05. Cracow, Poland.</p><p>Faltin, A. V. 2003. Syntactic Error Diagnosis in the Context of Computer Assisted Language Learning.</p><p>PhD Thesis, University of Geneva, Switzerland, 2003.</p><doubt alpha="58.0" length="50" tooSmall="False" monospace="0.0">Habash, N., Soudi, A., and Buckwalter, T. 2007. On</doubt><p>Arabic Transliteration. In Arabic Computational Morphology: Knowledge-based and Empirical Methods. Soudi, Abdelhadi; van den Bosch, Antal; Neumann, Günter (Eds.), 2007. ISBN: 978-1-4020­6045-8</p><p>Hsieh, C.-C., Tsai, T.-H., Wible, D. and Hsu, W.-L.</p><p>2002. Exploiting Knowledge Representation in an Intelligent Tutoring System for English Lexical Er­rors. In Proceedings <b>Of </b>ICCE 2002, Auckland, New Zealand, pp: 115-116.</p><p>Jassem, J. A. 2000. Study on Second Language Learners of Arabic: An Error Analysis Approach. Kuala Lumpur (Malaysia): A.S. Noordeen. ISBN 983-065-093-6.</p><p>Rimrott, A. 2003. SANTY: A Spell Checking Algo­rithm for Treating Predictable Verb Inflection Mis­takes Made by Non-Native Writers of German. Term Paper for LING 807 - Computational Lin­guistics at Simon Fraser University (Burnaby, Canada).</p><p>Shaalan, K., Magdy, M., Fahmy, A. 2011. Morpho­logical analysis of ill formed Arabic verbs for se­cond language learners. In McCarthy, P.M &amp; Boonthum, C. (ed.), Applied Natural Language Processing and content analysis: Identification, In­vestigation, and Resolution (In Press).</p><p>Shaalan, K., Magdy, M., Fahmy, A. 2010a. Morpho­logical Analysis of Ill-formed Arabic Verbs in In­telligent Language Tutoring Framework. In the Proceedings of FLAIRS-23, Applied Natural Lan­guage Processing Track, Florida, USA, 2010.</p><p>Shaalan, K., Samy, D. and Magdy, M. 2010b. To­wards Resolving Morphological Ambiguity in Ar­abic Intelligent Language Tutoring Framework. In Proceedings of International Workshop on Sup­porting e-Learning with Language Resources and Semantic Data (LREC 2010), Valletta, Malta</p><p>Shaalan K. 2005a. An Intelligent Computer Assisted Language Learning System for Arabic Learners, in Computer Assisted Language Learning: An Inter­national Journal, Taylor &amp; Francis Group Ltd., 18(1 &amp; 2): 81-108.</p><p>Shaalan K. 2005b. Arabic GramCheck: A Grammar Checker for Arabic, Software Practice and Experi­ence, John Wiley &amp; sons Ltd., UK, 35(7):643-665.</p></references></body></article>