<?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="448"/><title>Exploiting Hidden Morphophonemic Constraints for Finding the Underlying Forms of 'weak' Arabic Verbs</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 448^-54, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Ramsay" givenname="Allan"><org  name="University of Manchester" country="United Kingdom" city="Manchester"/></author><author surname="Mansour" givenname="Hanady"><org  name="University of Manchester" country="United Kingdom" city="Manchester"/></author></firstpageheader><frontmatter><p><b>Exploiting Hidden Morphophonemic Constraints for Finding the Underlying Forms of 'weak' Arabic Verbs</b></p><p><b>Allan Ramsay Hanady Mansour</b></p><p>School of Computer Science Department of Arabic,</p><p>University of Manchester College of Arts and Sciences</p><p>Manchester M13 9PL, UK Qatar University, State of Qatar</p><p>Allan.Ramsay@manchester.ac.uk hanadyma@qu.edu.qa</p></frontmatter><abstract>We present a treatment of Arabic morphol­ogy which allows us to deal with 'weak' verbs by paying attention to the underly­ing phonological process. This provides us with a very clean way of thinking about such verbs, and also makes maintenance of the lexicon very straightforward. </abstract></header><body><section number="1" title="Introduction"><p>It is well known that Arabic morphology is com­plex: the language uses a combination of concate-native and discontinuous processes, and the effects of these are obscured by the fact that many phono-logically significant items (short vowels, gemina­tions) are not written in modern Arabic.</p><p>We present a treatment of Arabic morphology which covers the standard cases, but which has two significant advantages. (i) We delay making decisions about the underlying form until we have the information that is necessary for getting the de­cision right. Unlike most attempts at diacriticisa-tion, we do not enumerate all the possible forms and then try to choose between them. Instead we leave decisions on specific diacritics until we are in a position to get them right-e.g. we delay choos­ing between declarative and interrogative present tense prefixes for a verb until we know whether it is being used in a statement or a question. This enables us to weave morphological and syntactic processing together very efficiently, as described below. (ii) We can take account of the phonolog­ical processes that produce the varying forms of 'weak' verbs without having to declare these verbs as belonging to a special class. Weak verbs are in fact regular verbs whose spelling reflects a small set of phonological contractions. Our analysis al­lows us to obtain 'underlying forms' for the sur­face forms of weak verbs which show how they are related to their roots.</p></section><section number="2" title="Basic Mechanisms"><p>The basic problems of Arabic morphology are well known. A single word may have numerous forms, marking various syntactic features, where a form may have a combination of prefixes and af­fixes and the vowels at the heart of the word may vary. Thus çif <b>(kataba)</b>... are all forms of a single verb, with a variety of prefixes and suffixes mark­ing such things as tense, agreement and mode, and with each form involving different vowels be­tween the consonants ç-i-i' <b>(k?t?b). </b>The situation is made worse by the fact that the short vowels, and a number of other significant items, are not generally written. This means that the full forms çif <b>(kataba), </b>ç-f <b>(kutiba), </b>... are all written as <i>(ktb). </i>To make things even worse, Arabic gener­ally forms families of words around a single root. These are sometimes marked by derivational pre­fixes, but in many cases there is no visible prefix of this kind, so that the written form (ktb) also corresponds to a plural noun ( çif <b>(kutub)) </b>and to two forms of two different verbs, çif <b>(kataba) </b>and ç-f <b>(kutiba) </b>(active and passive of 'to <i>write') çjf</i></p><p><b>(kattaba) </b>and çif <b>(kuttiba) </b>(active and passive of 'to <i>make write'). </i>Thus we have three sets of inter­linked problems: different forms ofthe same word may be written quite differently, different forms of the same word may be written the same but have different underlying sets of vowels, and different words may be written the same (and may or may not have different underlying sets of vowels).</p><p>We follow fairly standard practice by describ­ing a word in terms of a template and a set of fillers <i>(e.g. </i>(McCarthy and Prince, 1990)); we use a categorial description of the way roots and af­fixes combine (Bauer, 1983); in order to improve the efficiency of the process of lexical lookup, we store the lexicon as a lexical trie; and then we add a set of spelling rules to account for the variations in surface forms that are observed under various conditions.<page local="2" global="449"/></p><subsection number="2.1" title="Characters"><p>We represent the graphemes that make up a word as bundles of information that we will refer to as 'characters . A character has a number of proper­ties. It has (usually) a written form; it has an 'un­derlying form, which might be a diacritic mark (and hence unwritten in normal text) and which can be used to derive the phonetic transcription; it can be classified as being a consonant or a vowel, and in the latter case it can be either long or short; and it has various other features, which we will introduce as they become relevant. Thus the semi­vowel j <b>(w) </b>is represented as in Fig. 1 (note that this item marked as being both a consonant and a vowel, since it has the properties of both).</p><p><i>character(char(j </i><b>(w)),</b></p><doubt alpha="64.7" length="17" tooSmall="False" monospace="0.0">underlying^' w"),</doubt><doubt alpha="66.7" length="30" tooSmall="False" monospace="0.0">vc(+vowel, +consonant, +long))</doubt><p>Figure 1 : The character j <b>(w)</b></p><p>To save space we will sometimes simply write a character like the one in Fig. 1 as # j <b>(w), </b>but when­ever you see something of this form you should try to remember that it is just a shorthand for a com­plex object of the kind shown in Fig. 1.</p></subsection><subsection number="2.2" title="Templatic Specification of Lexical Items"><p>In order to know what forms a word may take, you need to know three things: what are the con­sonants in the root, what are the vowels that fill the gaps between those consonants under different conditions, and are the consonants geminated?</p><p>We therefore represent a root by providing a template, as in Fig. 2.</p><doubt alpha="62.0" length="192" tooSmall="False" monospace="0.0">history(diacritics(choices(actvPres(["o", "u "]), actvPast(["a ", "a "]), psvPast(["u", "i"]), psvPres(["o", "a "]))), actualVowels(A))) consonants (targetConsonants(B), actualConsonants (B)))</doubt><figure caption="Figure 2: Template for one sense ofç-i-f(k?t?b)"></figure><p>This template specifies the vowels that are to be used for filling the gaps in the root for different tense/voice combinations. The slot for the 'actual vowels will be bound to one of the options, once the tense and voice are actually known. The tem­plate further specified that the underlying conso­nants are the same as the ones that appear in the written form-we will see examples where this is not so below.</p></subsection><subsection number="2.3" title="Categorial Treatment of Inflectional Morphology"><p>In addition to describing how the vowels and con­sonants of the root change in the underlying form depending on the tense and mood (for verbs) and the number and gender (for nouns), we have to specify the patterns of affixes that a given root takes. We do this using a categorial description of the affixes that a given item requires in order to complete itself. We make two assumptions: (i) we assume that an open-class word will typically be obtained from an underlying root via a derivational suffix. Thus we assume that j-x-ZiJ <i>(aastk?t?b), çJ-^-Z,, (mk?t?b), </i>çJ;Vl <i>(ak?t?b) </i>and so on are all obtained by adding a derivational prefix to the root <i>çJ-Jf (k?t?b). </i>For consistency we further as­sume that forms with no visible derivational affix are nonetheless obtained from the root by adding an empty prefix. (ii) We assume that each individ­ual affix specifies what further affixes are required, using the extended categorial rules in Fig. 3 to process words strictly from right to left, as pro­posed by (Ades and Steedman, 1982) for handling syntactic relations. Allowing each affix to specify what else is required allows roots to require vari­able numbers of affixes, <i>e.g. </i>the derivational affix çj (aast) which obtains a verb from ç-x-f <i>(k?t?b) </i>starts a different chain of affixes from the prefix ^ <i>(m) </i>which obtains a noun from this root. This pro­vides a more flexible approach to describing the structure of a word than using a context-free gram­mar, as suggested by (Kiraz, 2001).</p><doubt alpha="29.4" length="34" tooSmall="False" monospace="0.0">G/H=&gt;•G /1, I / HG\H=&gt;•G /1, I \ H</doubt><figure caption="Figure 3: Combinatory categorial rules"></figure><p>Consider the written form j-Zx-j <i>(ystktb). </i>This has two possible readings, as an active transitive verb or as the passive form of that verb. In both cases it is made out of a number of pieces, as shown in Fig. 4.</p><doubt alpha="44.0" length="25" tooSmall="False" monospace="0.0">• + *(ya+rsta+kotib+0+?),</doubt><doubt alpha="12.5" length="8" tooSmall="False" monospace="0.0">- _*j,*_</doubt><doubt alpha="47.2" length="36" tooSmall="False" monospace="0.0">• + * +çi£+-JjU-j(yu+ustu+kotab+0+?)</doubt><figure caption="Figure 4: Possible structure for(ystktb)"></figure><p>Fig. 4 shows that <i>(ystktb) </i>is actually made out of five pieces-the root ç-x-f <i>(k?</i><i>t?b), </i>the derivational prefix j-j! (zst), a tense circum-fix consisting of the prefix <i>(y?) </i>and an empty suffix, and an agreement marker whose form can­not be decided out of context. The slot fillers in the root and the tense prefix vary depending on whether the verb is active or passive, with the phonological consequence that the prefix would be pronounced ' <i>yaasta </i>in the active and ' <i>yuustu </i>in the passive. The underlying form of the agree­ment marker cannot in fact be determined until the mood of the verb is known-it will be ; <b>(u) </b>if the verb is used in a statement or a question, ; <b>(a) </b>if it is being used in a context where a subjunctive is required, and.<page local="3" global="450"/> () if a jussive is intended.</p></subsection><subsection number="2.4" title="The Lexicon as a Trie"><p>We store the lexicon as a trie. This is a well-known technique for managing dictionaries, since it facil­itates lexical lookup. The only slightly odd thing about the trie we use is that it contains arcs with unknown items, to mark the fact that roots have holes in them which can be filled in a variety of ways. In particular, a single hole may be filled by either an (unwritten) short vowel or a (writ­ten) long vowel, depending on fine-grained syn­tactic factors. This makes the normal processing of traversing the trie more complex, but is un­avoidable: how we deal with this is discussed in Section 2.5.</p></subsection><subsection number="2.5" title="Spelling Rules"><p>In most languages, phonological processes and other quirks of the writing system mean that there are a range of 'boundary effects where elements of a word are joined together. The prefix <i>im- </i>on the English words <i>'impossible' </i>and <i>'imperfect</i>', for example, is a variant on the negation prefix <i>in-</i>that appears on <i>'incorrect' </i>and <i>'indecisive' </i>which arises because it is easier to get from saying'm' to ' <i>p </i>(because they both involve closing your lips) than to get from ' <i>n </i>to ' <i>p </i>.</p><p>Phenomena of this kind are generally dealt with by specifying 'spelling rules', often in the form of finite-state automata of some kind. We will write such rules using the format /L/1P1/R/=&gt;Q, mean­ing that if <i>P </i>occurs in a context where it is pre­ceded by L and followed by R then it should be re­placed by Q, as suggested by (Chomsky and Halle, 1968). We will use <i>c0, cl, </i><i>...</i><i> </i>to denote arbitrary consonants, <i>v0, vl, </i><i>...</i><i> </i>to denote vowels and <i>x0, xl, </i><i>...</i><i> </i>to denote arbitrary consonants, and we will add specific features by including them in square brackets [...]. If the context is unimportant then we will write /???/. It is important to note that we are using these rules in the reverse of the standard direction: morphophonemic rules are usually used to describe what the surface form would be given a particular set of constituents. We are using these rules to recover the underlying form from the sur­face forms. This should be borne in mind when reading the rules below.</p><p>There are numerous such cases in Arabic: we will illustrate the form of our rules by consider­ing the feminine agreement marker, which is pro­nounced differently depending on whether it is the last element of the word to which it is attached.</p><p>We assume that the canonical form of this item is the one that appears at the end of a word, which is pronounced 'ha', and is written as 5 (t). We then have a spelling rule that says that if you see a o <i>(t)</i><i> </i>in the middle of a word, it might actually be this item, having undergone a change in the way it is written to reflect the fact that it is easier to say ' <i>ta </i>than ' <i>ha </i>in the middle of a word. The rule in Fig. 5 says that if the written form of a word contains a consonant #c0, where this consonant is not a slot filler <i>(—query), </i>and this is followed by an ordinary o (t) and another character #x0, then maybe the underlying item was the feminine marker 5 (t), which has been replaced by o (t) to reflect the change in pronunciation of this item when it appears in the middle of a word (note that this character carries the marker <i>+taa </i>to indicate that it is not just the normal character #o (t)). Thus application of this rule to the word jl-jjl^ <i>(darsta-</i><i>n)</i><i> </i>produces the underlying form jlLiJi <b>(daristan)<footnote anchor="1"/></b></p><doubt alpha="31.6" length="38" tooSmall="False" monospace="0.0">/c0:[—query]/#0(t)/x0/ =&gt; #5(t):[+taa]</doubt><p>Figure 5 : Rule for tamarbuta replacement Application of spelling rules is interwoven with the search through the lexical trie. You cannot search the trie effectively without being aware of the potential application of these rules, but it is un­realistic either to apply the rules to lexical entries before constructing the tree (since this would lead to an explosion in the size of the trie) or to ap­ply them blindly to the surface string (because this would again lead to the construction of an expo­nentially large number of forms, many of which have no correspondents in the lexicon). Our strat­egy is to apply rules as they become relevant dur­ing traversal of the trie. That way we do not apply rules to strings that have no counterparts in the trie, but we do apply them as soon as their effect would lead to exploration of a branch. The left-hand context of the antecedent of a rule is thus the route that has been followed so far through the trie, the right-hand context is the currently unconsumed portion of the input string, and the consequent of the rule is the branch of the trie that is to be explored.<page local="4" global="451"/></p><footnote label="1">This might look a little odd, since it has the word final version of the feminine marker appearing in the middle of the word, but that s the whole point of this rule: the item in question is the feminine marker, but because it is in a word-internal position it has undergone a phonological change.</footnote><p>We also use rules of this kind to insert the 'fillers' into the templatic descriptions of roots. As noted above, we include the gaps between the con­sonants in a root as arcs in the trie. These gaps can in general be filled either by short (unwritten) vowels or by long (written) ones. In any particu­lar form of a given root, the way that they are to be filled is determined, but since you do not know which form you have until you have looked the word up, and possibly not until you have exam­ined its syntactic role, you have to allow for all possible ways of traversing these arcs. To do this we make use of the two rules in Fig. 6.</p><doubt alpha="46.9" length="81" tooSmall="False" monospace="0.0">/cl: [—query]/\ c2: [—query, —taa]\/???/ =^-?: [+vowel, —long, +query, +inserted]</doubt><doubt alpha="55.8" length="113" tooSmall="False" monospace="0.0">/cl: [—query]/\vl: [+long, —query]:B\/???/ =^-?: [+long, +inserted, —multiple] :C if [underlying] [underlying] @C</doubt><figure caption="Figure 6: Rules for slot-fillers"></figure><p>The first of these rules says that if you've just traversed a consonant cl, and the next character is another consonant <i>c2, </i>where neither <i>cl </i>nor <i>c2 </i>is itself a query or the tarmabuta, then you might try inserting an unspecified short vowel, i.e. an item whose surface form is <i>?</i>, so that it can be used to traverse an arc for a slot filler. The second rule in Fig. 6 says that if you have just traversed a conso­nant <i>cl </i>, and the next character is a long vowel <i>B, </i>then you can try replacing the long vowel by a <i>? </i>which is marked as being long, and which shares the same <i>underlying </i>character as the original long vowel.</p><p>Between them these rules allow us to account for the slot-and-filler structure of Arabic nouns and verbs, since we simply introduce ?s at appro­priate points, marking them as corresponding to short or long vowels appropriately, and in the case of long vowels remember what the actual underly­ing form of the long vowel was.</p><p>There are a number of other spelling rules, which can be used to account for a range of phe­nomena from fairly trivial things (such as the fact that the hamza can be omitted on word-initial char­acters) to more interesting cases such as the dele­tion of the second occurrence of a repeated con­sonant after a sukun <i>(e.g. </i>obtaining the underlying form S-Lf <b>(gadod) </b>from the written form -a».</p></subsection><subsection number="2.6" title="Delayed Decisions about Underlying"><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">Forms</doubt><p>In general, just looking at a word will not tell you what the short vowels in its underlying form are. Consider, for instance, the word jj-aj <i>(ydrs). </i>This has a number of interpretations, as the active and passive forms of verbs meaning 'study' and 'teach', but even if we consider just one of these, say the active form of the version meaning 'study', we see that there are a number of possibilities. In particular, it could occur in a context requiring an indicative form, <i>e.g. </i>as the main verb of a declar­ative sentence, or in one requiring a subjunctive form <i>(e.g. </i>after certain complementisers and mod­ifiers), or one requiring a jussive form. The final agreement marker takes different forms in the dif­ferent kinds of context, as shown in Fig. 7.</p><doubt alpha="60.0" length="45" tooSmall="False" monospace="0.0">(1)a.-jj-aJI a)&gt;!1 jj-aj(ydrs aalwld aaldrs.)</doubt><p>b. -^jaJI        t_rjJ: J <i>(nl ydrs aalwld aaldrs.)</i></p><p>jj.Jj.Aj<b> (yadorusu) </b>(study)</p><p>declarative</p><p>jJjJI <b>(alwaladu) </b>(boy)</p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">agent</doubt><p>ÂJI <b>(aldarsa) </b>(lesson) jJjJ! <b>(alwaladu) </b>(boy)</p><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">object</doubt><p><b>(yadorusa) </b>(study)</p><p>subjunctive</p><p>jjjJJI <b>(aldarsa) </b>(lesson)</p><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">y(ln)</doubt><p>modifier</p><p>Fi gure 7: indicative/subjunctive forms of jj-aj <i>(ydrs)</i></p><p>Generating both these versions as soon as you saw the written form would be a major problem for any system that was going to attempt to parse the input text, since it would double the number of analyses that needed to be explored.</p><p>There are plenty of similar instances. Even in Fig. 7, for instance, the nouns jJjJI <i>(aalwld) </i>and jjjjJI <i>(aaldrs) </i>have different case markers (ijjjJi <b>(a-lwalad-u) </b>and iJjjJI <b>(aldars-a)), </b>because jJjJI <i>(älwld) </i>is the subject and jj-aJI <i>(aaldrs) </i>is the object. But these case markers cannot be determined until the syntactic role of these items is known (and, in­deed, not until the context in which the verb itself<page local="5" global="452"/></p><p>1 st pers sing 1 st pers not sing 2nd pers sing masc 2nd pers sing fem 2nd pers dual 2nd pers plural masc 2nd pers plural fem 3rd pers sing masc 3rd pers sing fem 3rd pers dual masc 3rd pers dual fem 3rd pers plural masc 3rd pers plural fem past actv past psv present actv present psv</p><p><b>cJiSj (waqaftu) LiSj (waqafna ) cJiSj (waqafta) cJiSs (waqafti) L-isj (waqaftuma ) V^iSj (waqaftum) (waqaftuna) __j (waqafa) çÇ-àSjj (waqafat)</b></p><p><b>UJïj (waqafa ) uüSj (waqafata ) I_jjJSj (waqafwa) <u>1^räS j (waqafna)</u></b> <b>ÇiS j (wuqiftu) UiS j (wuqifna) ÇJiS j (wuqifta) cJiS * (wuqifti) U-iS j (wuqiftuma ) V^jzs * (wuqiftum) JïiJ j (wuqiftuna) j (wuqifa) ÇiS j (wuqifat)</b> <b>j (naqifu) j (taqifu) àîiïj (taqifyna) jliäj (taqifani) j jcjjf (taqifwna) j;jjjj&gt; (taqifna) (yaqifu)</b> <b>(taqifu) jliïj (yaqifani) jUüj (taqifani) jjjjj</b>l <b>(yaqifwna) <u>.</u></b><b><u>^rä^ (yaqifna)</u></b> <b>_àSjj" (twqafu) ùîiSy (twqafyna) jliSy (twqafani) j_jjui_jj (twqafwna) yàïy (twqafna) _sïy (ywqafu)</b> <b>_äSjj" (twqafu) jliJjj (ywqafani) jjLüäjJj (twqafani) j JjJSJj (ywqafwna) <u>.</u></b><b><u>yiSjJ (ywqafna)</u></b></p><doubt alpha="63.8" length="69" tooSmall="False" monospace="0.0">U5 j (wuqifa ) l-jjS j (wuqifata ) IjjJS j (wuqifwa)1^fä5 j (wuqifna)</doubt><doubt alpha="60.0" length="10" tooSmall="False" monospace="0.0">&lt;_pa'qifu)</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">*-</doubt><doubt alpha="51.9" length="27" tooSmall="False" monospace="0.0">__»»!pawqafu) __»y (nwqafu)</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">*</doubt><figure caption="Figure 8: Full conjugation for__Sj(wqf(attested by (Khwask, 1992; El-Dahdah, 1991))"></figure><p>appears is known, because in some contexts sub­jects are marked as being accusative). Again, gen­erating all the possibilities at the point when you look the word up will multiply the options that a parser would have to explore: if we had generated the nominative, accusative and genetive forms of the two nouns, and the indicative, subjunctive and jussive forms of the verb, when we looked up the words in (1)(a) then we would have had to look at potentially 27 times as many possibilities.</p><p>To cope with this, we use 'just-in-time con­straints' (similar to Hewitt (1971)'s 'if-added demons', or to 'watched literals' in theorem prov­ing (Moskewicz et al., 2001)) to leave an unspec­ified item in the underlying form, to be filled in when the required information becomes available. Thus the forms that are produced when we first look up the words jjJu <i>(ydrs), </i>jJjJI <i>(aalwld) </i>and <b>jjjjJI </b><i>(äldrs) </i>are <b>• jijJû (yadrus?), • jJjJI (alwalad?)</b> and <b>• jjjjJI (aldars?</b><b>), </b>where the ?s indicate that there is some element of the word which is not yet known, because the contextual information that would fix it is not yet available.</p></subsection></section><section number="3" title="Weak Verbs"><p>So far so good. We can produce fine-grained dia-criticisations using a combination of slot-and-filler templates, a lexical trie and a set of spelling rules, and we can delay decisions about the underlying form until relevant syntactic information turns up. We now turn to the question of 'weak' verbs.</p><p>These are verbs whose root contains a semi­vowel (usually <b>j </b>(w), <b>^ </b>(y) or <b>I </b><i>(a)</i>), which some­times appears in the written form and sometimes goes missing or changes its form. These words do not appear to fit the normal slot-and-filler pattern, since the set of consonants in the written form appears to vary, so it does not look as though you can set a single template and fill in the slots. A typical example is the verb <b>_£j </b><i>(wqf), </i>whose conjugation is given in Fig. 8.</p><p>The awkward thing about Fig. 8 is that most of the table looks as though it corresponds to a verb whose root is <b>_üj </b><i>(wqf), </i>but in the column for the active present tense the initial <b>j </b><i>(w)</i><i> </i>is missing.</p><p>Why is it missing here and nowhere else? Cru­cially, why is it missing in the column for the present active but not the column for the present passive?</p><p>The only differences between the active and passive are that the <i>underlying </i>forms of the pre­fixes are different-the active prefix is <b>J (ya-), </b>the passive one is <b>J (yu</b>-)-and that the diacritics that fill in the slots may be different.</p><p>It is hard to see what the diacritics for the ac­tive present of <b>_üj </b><i>(wqf) </i>would be. Because the initial consonant has disappeared there is no obvi­ous trace of a vowel following the position where it would have been, but it seems reasonable to as­sume that it is a <b>; (a), </b>since the cases where we can see the diacritics seem fairly regular, and a <b>; (a) </b>for the first diacritic in the active present is common for regular verbs. It therefore looks as though the initial <b>j (w) </b>disappears if it is preceded by a <b>; (a) </b>in the underlying form. There is, of course, no trace of this in the written form, and there is indeed no trace of it in the phonetic form, but the underlying process is that the awkwardness of pronouncing <b>j! (awa) </b>has led to the deletion of the <b>j (wa)</b></p><p>We therefore introduce a spelling rule which says that if you have just traversed a consonant and an (unwritten) <b>; (a), </b>and the next item is a conso­nant, you should consider the possibility that a <b>j (w) </b>has been deleted from the surface form. This<page local="6" global="453"/></p><p>past actv past psv present actv present psv 1st pers sing 1st pers not sing 2nd pers sing masc 2nd pers sing fem 2nd pers dual 2nd pers plural masc 2nd pers plural fem 3rd pers sing masc 3rd pers sing fem 3rd pers dual masc 3rd pers dual fem 3rd pers plural masc 3rd pers plural fem</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">*</doubt><p>o «jZi <b>(sakawtu) </b>lj«Zj <b>(sakawna ) </b>O «Zi <b>(sakawta)</b></p><p>O «Zi <b>(sakawti)</b> brjZi <b>(sakawtuma)</b></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">-</doubt><p>y «Zi <b>(sakawtum) </b>y«Zi <b>(sakawtuna) </b>ICi <b>(saka ) </b>ÇZi <b>(sakat) </b>!«Zj <b>(sakawa ) </b>l-Zi <b>(sakata) </b>!«Zj <b>(sakawa ) </b><u>j «Zi </u><b><u>(sakawna)</u></b></p><p>JçZj <b>(sukiytu) </b>l-Zi <b>(sukiyna )</b> jZi <b>(sukiyta) </b>çZj <b>(sukiyti)</b></p><p>L-Zi <b>(sukiytuma )</b></p><p><b>■f</b>^Z" <b>(sukiytum) </b>à^Z" <b>(sukiytuna) </b>/Ci <b>(sukiya) </b>çjZj <b>(sukiyat)</b></p><p>IjZi <b>(sukiya ) </b>l-jZi <b>(sukiyata ) </b>!«Zj <b>(sukuwa ) </b><u>àjZi </u><b><u>(sukiyna)</u></b> «Z-J <b>(taskuw) </b>ùjZ—J <b>(taskiyna) </b>j!«Z—J <b>(taskuwani)</b> j «Z—J <b>(taskuwna)</b> j jZ-jj <b>(taskuwna)</b> «Zi <b>(taskuw)</b> jliZJj <b>(yaskuwani)</b> jjljZïïj <b>(taskuwani)</b> j«Z—J <b>(yaskuwna) </b><u>j «Zij </u><b><u>(yaskuwna)</u></b></p><doubt alpha="64.0" length="25" tooSmall="False" monospace="0.0">«Zi!! pa'skuw)«Zi(naskuw)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">--*</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">-*</doubt><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">«Z-J(yaskuw)</doubt><doubt alpha="46.7" length="15" tooSmall="False" monospace="0.0">, "C-l1(Vskaa )</doubt><doubt alpha="53.8" length="13" tooSmall="False" monospace="0.0">, "C-(nuskaa)</doubt><p>/V-ï<b>j (tuskaa ) </b>OJZ<b>-J (tuskayna) </b>jj<b>L</b>Z-ï<b>i (tuskayani) </b>à<b>î</b>Zi-' <b>(tuskayna) </b>àJZï<b>û (tuskayna) </b>jC-J <b>(yuskaa ) </b>jC— <b>(tuskaa )</b> jtjZ<b>—J (yuskayani)</b> jjZ<b>—J (yuskawna)</b> àJZ<b>—j (yuskayna)</b></p><doubt alpha="63.6" length="22" tooSmall="False" monospace="0.0">-"&gt;—jtjZ—J (tuskayani)</doubt><figure caption="Figure 9: Conjugation for«Zj(skw) (attested by (Khwask, 1992; El-Dahdah, 1991))"></figure><p>rule only applies if the j <b>(w) </b>is also followed by an unwritten ; <b>(a), </b>so we will insert this as well. Note that the item being rewritten here is in fact the empty string: this rule just inserts <i>j </i><b>(w), </b>; <b>(a) </b>between <i>c0, </i>; <b>(a) </b>and <i>cl </i>.</p><doubt alpha="23.3" length="30" tooSmall="False" monospace="0.0">/c0, #;(a)/0]/cl/=&gt;#j(w),#;(a)</doubt><figure caption="Figure 10: Spelling rule for missingj(w)"></figure><p>Fig. 10 says that if you have just traversed arcs corresponding to a consonant <i>c0 </i>and a gap which was filled by an unwritten vowel whose underlying form was ; <b>(a), </b>and the next character to be scanned is another consonant cl, then you could try insert­ing a <i>j </i><b>(w) </b>and a following gap-filler which also has underlying form ; <b>(a).</b></p><p>This rule allows us to spot that the surface form <i>(tqf </i>corresponds to an underlying diacritici-sation i-lsj; <b>(tawaqufa), </b>but not to the passive form <b>(tuwuqifa) </b>because in the latter case the un­derlying vowel in the prefix was ; <b>(u), </b>which does not trigger the rule.</p><p>Now consider the conjugation of «Zj (skw), as shown in Fig. 9. Much of this can be ac­counted for by assuming that the diacritics for the four tense/mood combinations for this verb are <i>actvPast=["a", "a"], psvPast=["u", "i"], actvPres=["o ", "u "], psvPres =["o ", "a "]. </i>The past active column is accounted for by the rule in Fig. 10: the third singular masculine and femi­nine and third dual feminine forms have suffixes which begin with ; <b>(a) </b>added to them, so Fig. 10 deletes the final j! <b>(aw) </b>from the root to produce</p><p>ICi <i>(ska)</i>, JçZi <b>(skt) </b>and IjZi <b>(skwa) </b>as the surface forms. The other cases are slightly more com­plex. Most of the present active column leaves</p><p>the end of the root unchanged as j! <b>(uw), </b>most of the passive past column is produced by a rule of the form /???/!/#. g <b>(y)/ =&gt; </b>#; <b>(u</b>)#j <b>(w) </b>and most of the passive present is produced by</p><doubt alpha="36.4" length="44" tooSmall="False" monospace="0.0">/#;(a)/l#gÖÖ|/v0[-long]/=&gt; #j(w)and /#;(a),#</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">g</doubt><p><b>(y</b>)/0]/???/=&gt;# <i>j </i><b>(w).</b></p><p>In each of these columns, however, there are cases that do not fit the main pattern. Why, for in­stance, is the 2nd person singular feminine active</p><p>present tense 6iZ-îj <b>(taskiyna) </b>when every other en­* try in this column has «Zj <b>(skuw) </b>as its root? In­spection of the components of this item show that it is made up of ^1+«Z--+; <b>(tu+skuw+iyna).</b><b> </b>But in that case the rule /???/0]/#. g <b>(y)/ =&gt; </b>#; <b>(u)# </b><i>j </i><b>(w) </b>that we introduced to cover the past passive forms applies here also, producing the observed form. Similarly, the presence of jjZJLj <b>(yuskawna) </b>as the 3rd person plural masculine passive present appears odd in the passive present column, where most of the time «Zi <b>(skaw) </b>has been turned to j£i <b>(ssky); </b>but again consideration of the components of jjZiij <b>(yuskawna) </b>as jj+ «Z-ï+J <b>(yu+skaw+wna)</b></p><doubt alpha="63.8" length="149" tooSmall="False" monospace="0.0">shows that the relevant rule here is /#j(w)/[0]/???/==&gt;#j(w)(i.e. thej(w)at the end of the stem is deleted in the surface form) rather than /#;(a),#g</doubt><p><b>(y)/!/???/=&gt;# </b><i>j </i><b>(w).</b></p><p>Thus the vast majority of the cases in Fig. 9 arise very straightforwardly by applying spelling rules which reflect simple phonological processes. If you look only at the surface forms, these rules are hard to spot, but looking at the full underly­ing forms they become much more apparent. The case of the 3rd person masculine plural passive past, however, requires a little more attention. The basic building blocks here are !j+ «Zj <b>(sukiw+wa</b>).</p><page local="7" global="454"/><doubt alpha="61.5" length="135" tooSmall="False" monospace="0.0">Applying produces !«&gt;+J&gt;^(sukiy+wa).But then the sequence(iy+w)is itself awkward, so a sub­sequent rule /???/#.(i),#g(y)/#j(w)/ =&gt;#;(u)</doubt><p>comes into play, leading finally to !«Zj <b>(sukuwa)</b>. We thus have the rules in Fig. 11:</p><doubt alpha="25.0" length="96" tooSmall="False" monospace="0.0">/c0, #;(a)/[0]/cl/=&gt;#j(w),#;(a)/???!]/#-(i)#g(y)/      #;(u)#j(w)/#;(a)/#gÖÖ|/v0[-long]/=&gt; #j(w)</doubt><doubt alpha="19.2" length="26" tooSmall="False" monospace="0.0">/#;(a)#g(y)/0]/???/=&gt;#j(w)</doubt><doubt alpha="18.2" length="22" tooSmall="False" monospace="0.0">/#j(w)/[|/???/=&gt; #j(w)</doubt><doubt alpha="21.4" length="28" tooSmall="False" monospace="0.0">/???/#-(i),#g(y)/#j(w)/#;(u)</doubt><p>Figure 11 : Spelling rules for j (w)</p></section><section number="4" title="Conclusions"><p>We have shown how using phonologically moti­vated spelling rules allows us to treat Arabic weak-initial and weak-final verbs in exactly the same way as other verbs, specifying a template and a set of slot fillers for the various tense/mood combi­nations (the same approach also works for weak-middle verbs, but there was no space to discuss these here). This has two major advantages: it provides a very clear separation between the cause of the apparent irregularity of these verbs and their actual adherence to the usual slot-and-filler pattern of Arabic verbs; and by providing this separation, it makes it easy to maintain the lexicon. Compar­ison with a small number of examples shows that this approach provides correct analyses for several cases which the Buckwalter analyser misses.</p><p>These rules are phonologically plausible, in that they all reflect changes in pronunciation that arise from awkward combinations of phonemes. Apply­ing them allows us to reconstruct the underlying forms from the surface forms, without having to put complex descriptions in the lexicon. We can simply say that «Zi (skw) is a regular verb, with the slot fillers given above, rather than having to list all the forms of the stem and assigning very precise sets of affixes to them, as in for instance the Buckwalter analyser (Buckwalter, 2004).</p><p>Lexicons that require multiple specifications for a single item are hard to maintain, since you have to know a great deal about the meanings of the tags that say what affixes will attach to a given item (see (Algihaad and Abdelfatah, 2009) for a similar approach). It is much easier to simply say that «Zj <i>(skw) </i>is a regular verb that takes <i>actvPast=["a", "a"], psvPast=["u", "i"], actvPres=["o", "u"], psvPres=["o ", "a"] </i>as its diacritics, and to let the spelling rules look after the surface appearance. Indeed, the Buckwalter analyser misses out a num­ber of the forms in Fig. 9, notably several of the passive forms (and some cases which have both active and passive readings, e.g. j«Z-j <i>(yskwn)). </i>The output of this analyser also relies on the sense tagging (given as the English gloss) to link the dif­ferent forms of a single word. The morphologi­cal analysis of çZi (skt), for instance, is given as Ol+Zi <b>(sk+at). </b>The only way to ascertain that this is a form of the same word as the others in Fig. 9 is by noting that they have same English gloss-there is nothing in the structure that makes the link clear.</p></section><references><p>Ades, A E and M J Steedman. 1982. On the order of words. <i>Linguistics and Philosophy, </i>4:517-558.</p><p>Algihaad, A and A Abdelfatah. 2009. Morphologi­cal analyizer for arabic verbs. In <i>3rd IEEE Interna­tional Conference on Arabic Language Processing (CITAL '09), </i>Rabat, Morocco. IEEE.</p><p>Bauer, L. 1983. <i>English Word Formation. </i>CUP, Cam­bridge.</p><p>Buckwalter, T. 2004. Buckwalter Arabic morpholog­ical analyzer version 2.0. Linguistic Data Consor­tium.</p><p>Chomsky, N and M Halle. 1968. <i>The sound pattern of English. </i>MIT Press, Cambridge, Mass.</p><p>El-Dahdah, A. 1991. <i>Dictionary of Arabic verb conju­gation. </i>Liprairie du Liban.</p><p>Hewitt, C. 1971. Planner: a language for proving the­orems in robots. In <i>2nd International Joint Confer­ence on Artificial Intelligence.</i></p><p>Khwask, Z. 1992. <i>Lessons in Syntax and Morphology. </i>Dar Almarefah Alghamayah, Alexandria, Egypt.</p><p>Kiraz, G. 2001. <i>Computational Nonlinear Morphol­ogy: with emphasis on Semitic languages. </i>Cam­bridge University Press, Cambridge.</p><p>McCarthy, J and A Prince. 1990. Prosodic morphol­ogy and templatic morphology. In Eid, M and J Mc­Carthy, editors, <i>Perspectives on Arabic linguistics II: papers from the second annual symposium on Arabic linguistics, </i>pages 1-54, Amsterdam. Ben­jamins.</p><p>Moskewicz, M, C Madigan, Y Zhao, L Zhang, and S Malik. 2001. Chaff: Engineering an efficient SAT solver. In <i>39th Design Automation Conference, </i>Las Vegas.</p></references></body></article>