Stemming the Qur'an

Stemming the Qur'an

Stemming the Qur’an Naglaa Thabet School of English Literature, Language and Linguistics University of Newcastle Newcastle upon Tyne, UK, NE1 7RU [email protected] Abstract the fact that most of them deal with Modern Standard Arabic as their input text; the language of In natural language, a stem is the the Qur’an is Classical Arabic. Orthographic morphological base of a word to which affixes can variations and the use of diacritics and glyphs in be attached to form derivatives. Stemming is a the representation of the language of Classical process of assigning morphological variants of Arabic increase the difficulty of stemming. In words to equivalence classes such that each class many respects, the Qur’an, with its unique lexicon corresponds to a single stem. Different stemmers and orthography requires dedicated attention. have been developed for a wide range of languages Therefore, I have developed a new light and for a variety of purposes. Arabic, a highly stemmer that uses the Qur’an in western inflected language with complex orthography, transliteration to improve the effectiveness of the requires good stemming for effective text analysis. stemming of the text. Preliminary investigation indicates that existing approaches to Arabic stemming fail to provide 2 Stemming in Arabic effective and accurate equivalence classes when applied to a text like the Qur’an written in Arabic belongs to the Semitic family of Classical Arabic. Therefore, I propose a new languages, and as such differs from European stemming approach based on a light stemming languages morphologically, syntactically and technique that uses a transliterated version of the semantically. The Arabic language is somewhat Qur’an in western script. difficult to deal with due to its orthographic variations and its complex morphological structure. 1 Introduction Xu et al. provide an overview of the challenges the Arabic language creates for information retrieval Stemming has been widely used in several [10, 11]. fields of natural language processing such as data mining, information retrieval, and multivariate 2.1 Arabic Morphology analysis. Some applications of multivariate analysis of text involve the identification of lexical The grammatical system of the Arabic occurrences of word stems in a text. Such lexical language is based on a root-and-affix structure and analysis, in which the frequency of word is considered as a root-based language. Most occurrences is significant, cannot be done without Arabic words are morphologically derived from a some form of stemming. list of roots, to which many affixes can be attached In morphology, variants of words which have to form surface words. Most of these roots are similar semantic interpretations are considered to made up of three consonants which convey belong to the same stem and to be equivalent for semantics. In addition to the different forms of the purposes of text analysis and information retrieval. Arabic word that results from the derivational and For this reason, a number of stemming algorithms inflectional process, most prepositions, have been developed in an attempt to reduce such conjunctions, pronouns, and possession forms are morphological variants of words to their common attached to the Arabic surface form. stem. Various stemming algorithms for a number of 2.2 Arabic Orthography languages have been proposed. The structure of these stemmers range from the simplest technique, Orthographic variations are prevalent in Arabic. such as removing suffixes, to a more complicated Vocalized texts make use of diacritics to represent design which uses the morphological structure of short vowels. The omission of such diacritics in words to derive a stem. non-vocalized text gives rise to ambiguity, In case of Arabic, several stemming algorithms specifically if words are read out of context. Other to ي have been developed. The major inadequacy of spelling variations include changing the letter existing systems to stem the Qur’an results from with together. For example, broken plurals for nouns ﺂ and ,أ ,إ at the end of a word and replacing ى A sense of discrimination and a good and adjectives do not get conflated with their .ا plain knowledge of grammar and usage are required if singular forms, and past tense verbs do not get one is to avoid misreading a word. conflated with their present tense forms, because In terms of multivariate analysis of text as well they retain some affixes and internal differences. as information retrieval, the combination of a rich 3 Stemming the Qur’an morphology and a pervasively ambiguous writing system results in a degree of complexity such that My main objective for stemming the Qur’an is some sort of pre-processing and classification is to prepare the text as data for multivariate analysis required. Therefore, stemming is very important of the lexical semantics of the Qur’an using self- for Arabic text analysis. organizing maps in which words with similar 2.3 Approaches to Arabic Stemming meanings are placed at the same or neighbouring points so that the topological relations among them Several stemming algorithms for Arabic have represent degrees of semantic similarity. This work been proposed based on different principles; each requires the construction of vector space models of produces rather different sets of stem the suras (chapters) of the Qur’an such that each classifications. It is possible to evaluate these sura is represented by a vector indicating the stemming algorithms by the accuracy of the results occurrence frequency of variables. This involves they produce. Larkey et al. gives a good summary counting the occurrences of lexical items in the of stemming approaches for the Arabic language Qur’an. Such a task cannot be done accurately [9]. The most common approaches used in Arabic without some sort of stemming of words in the text. stemming are the light and the root-based The Qur’an has two significant textual features. stemmers. The first is that the Classical Arabic language in Root-based Stemming is based on removing all which the Qur’an is written has created difficulty attached prefixes and suffixes in an attempt to in reading and understanding it, even for the Arabs extract the root of a given Arabic surface word. themselves. Its lexicon, morphology and grammar Several morphological analyzers have been are more complicated than Modern Standard developed, e.g. Buckwalter [3], Khoja and Garside Arabic. It, therefore, requires specific attention. [7] and Darwish [5]. The second significant point is the wide use of Light Stemming is used not to produce the vocalization. Diacritics (ْ, ّ, ِ , ُ, َ, ٍ , ٌ, ً ) representing linguistic root of a given Arabic surface form, but short vowels are prevalent in the Qur’an. Every to remove the most frequent suffixes and prefixes. word, even every letter is marked with a diacritic. The most common suffixation includes duals and The meanings of the words in the Qur’an require plurals for masculine and feminine, possessive the use of such diacritical marks; otherwise it forms, definite articles, and pronouns. Several light becomes very difficult to comprehend their stemmers have been developed, all based on suffix meanings especially when out of context. and prefix removal and normalization. Examples Vocalized text, in Arabic includes diacritics for of light stemmers include: Aljlayl & Frieder’s short vowels and other details. Thus, a word could Stemmer [2], Darwish’s Al-Stem [6], Chen & have several meanings when marked with different Gey’s TREC 2002 Stemmer [4], and Larkey et diacritics. (see Table 1). al.’s U Mass Stemmer [8, 9]. All light stemmers adhere to the same steps of Word Transliteration Meaning mulk reign ﻣُﻠْﻚ normalization and stemming. The main difference malik king ﻠِﻣَ ﻚ among them is the number of prefixes and suffixes malak angel ﻠَﻣَ ﻚ removed from each one. During the normalization khuluq morals ﺧُﻠْﻖ process, all diacritics, punctuation, and glyphs are khalq creation ﺧَﻠْﻖ removed. The light stemmers had different amah female slave ﻣَاَ ﺔ ,stopword lists consisting of Arabic pronouns ummah nation اُ ﺔﱠﻣ particles and the like removed after minimal normalization. Test results of previous researchers Table 1. Orthographic variations of words as in [2, 8], proved that the light stemmer achieved superior performance over the root-based approach For those reasons stemming the Qur’an is not since it reduces sense ambiguity by grouping an easy task. In principal, the way existing Arabic semantically related words into the same class. stemmers are structured indicates that they will not Although light stemming can correctly classify work reliably on the stemming of the Qur’an. Most many variants of words into large stem classes, it of the existing stemmers rely on Modern Standard can fail to classify other forms that should go Arabic as their input script. This modern form of Arabic is a simplified form of Classical Arabic. Another advantage of using transliteration is The main differences between both forms are that avoiding the removal of suffixes and prefixes that ﺑ Modern Standard Arabic has less orthographic sometimes could be part of the word. The prefix variation, a less complicated lexicon and a more (pronounced as “bi”) is very common in Arabic. of the ﺐ modern vocabulary. The following two points are This preposition resembles the letter also significant regarding the use of existing Arabic alphabet. Thus, removing this letter stemmers to stem the Qur’an. indistinguishably would cause ambiguity if the First, the root-based algorithm increases word letter is part of a word. For example, in words as is part of the ﺑ proof), the letter) ﺒُ ﻦﺎهﺮ ,(sea) ﺑَ ﺮﺤ ambiguity. The root algorithm stems the surface is a ﺑ with a pen) the) ﺒِ مﻠﻗ form to a base form from which the word variants word, whereas, in are derived.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    4 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us