Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-07T10:28:58.323Z Has data issue: false hasContentIssue false

Generating Arabic TAG for syntax-semantics analysis

Published online by Cambridge University Press:  24 March 2022

Cherifa Ben Khelil*
Affiliation:
LIFAT, Université de Tours, Tours 37200, France
Chiraz Ben Othmane Zribi
Affiliation:
RIADI, ENSI, Université La Manouba, La Manouba, Tunisia
Denys Duchier
Affiliation:
LIFO, Université d’Orléans, Orléans, France
Yannick Parmentier
Affiliation:
LORIA, Projet SYNALP, Université de Lorraine, Vandoeuvre-les-Nancy, France
*
*Corresponding author. E-mail: cherifa.bk@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

Arabic presents many challenges for automatic processing. Although several research studies have addressed some issues, electronic resources for processing Arabic remain relatively rare or not widely available. In this paper, we propose a Tree-adjoining grammar with a syntax-semantic interface. It is applied to the modern standard Arabic, but it can be easily adapted to other languages. This grammar named “ArabTAG V2.0” (Arabic Tree Adjoining Grammar) is semi-automatically generated by means of an abstract representation called meta-grammar. To ensure its development, ArabTAG V2.0 benefits from a grammar testing environment that uses a corpus of phenomena. Further experiments were performed to check the coverage of this grammar as well as the syntax-semantic analysis. The results showed that ArabTAG V2.0 can cover the majority of syntactical structures and different linguistic phenomena with a precision rate of 88.76%. Moreover, we were able to semantically analyze sentences and build their semantic representations with a precision rate of about 95.63%.

Information

Type
Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Semantic frame of the sentence “Sam travels from Paris to Orleans.”

Figure 1

Figure 2. Organization of the meta-grammatical description of verbal sentences.

Figure 2

Figure 3. Organization of the meta-grammatical description of nominal sentences.

Figure 3

Figure 4. Tree fragments for adverbs management.

Figure 4

Figure 5. Inserting the adverb (kathīrān/ a lot) in the sentence (yanāmu / Ali sleeps).

Figure 5

Figure 6. Derived tree of the sentence (sayaktubuhu/ he will write it).

Figure 6

Figure 7. Derived trees of (yanāmu/ sleeps)/ (huwa yanāmu/ he sleeps).

Figure 7

Figure 8. Example of handling embedded structures with TAG.

Figure 8

Figure 9. Example of handling crossed dependencies with TAG.

Figure 9

Figure 10. Agreement between the verb and the subject when the verb precedes the subject.

Figure 10

Figure 11. Agreement between the verb and the subject when subject precedes the verb.

Figure 11

Figure 12. Distribution of tree models in ArabTAG V2.0.

Figure 12

Figure 13. Validation architecture of ArabTAG V2.0.

Figure 13

Table 1. Phenomena corpus

Figure 14

Figure 14. Semi-automatic generation of ArabTAG V2.0 with semantic dimension.

Figure 15

Figure 15. Hierarchy of semantic roles implemented in SemArabTAG.

Figure 16

Figure 16. Hierarchy of frame types implemented in SemArabTAG.

Figure 17

Figure 17. Hierarchy of semantic frames of the predicate in SemArabTAG.

Figure 18

Figure 18. Example of an elementary frame for a noun phrase defined in SemArabTAG.

Figure 19

Figure 19. Description of the syntax-semantic interface within the meta-grammar.

Figure 20

Figure 20. Elementary frames assigned to (the policeman) and (the thief).

Figure 21

Figure 21. Semantic frames attributed to the verb (to pursue).

Figure 22

Figure 22. The process of the syntax-semantic analysis of the sentence.

Figure 23

Figure 23. Triggering the unification process of semantic frames.

Figure 24

Figure 24. Unification of semantic frames.

Figure 25

Figure 25. Result of the syntax-semantic analysis.

Figure 26

Figure 26. Parsing process.

Figure 27

Figure 27. Extract from the morphological lexicon: (calīyun/ Ali), (fāṭimah/ Fatima) and (yuḥibu/loves).

Figure 28

Figure 28. Extract from the lemma basis corresponding to: (calīyun/ Ali), (fāṭimah/ Fatima) and (yuḥibu/loves).

Figure 29

Figure 29. Graphical output after parsing the sentence (calīyun yuḥibu fāṭimah/ Ali loves Fatima).

Figure 30

Table 2. Parsing results of the Grammatical (1000 sentences) and Ungrammatical Dataset (250 sentences)

Figure 31

Figure 30. Performance in terms of ambiguities in relation with sentence length.

Figure 32

Figure 31. Syntactic trees of the noun phrase (ṭalabati al-madrasati wa mudarisīhā/ students of the school and its teachers).

Figure 33

Figure 32. Syntax-semantic analysis process.

Figure 34

Figure 33. Semantic frame of the sentence (calīyun yuḥibu fāṭimah/ Ali loves Fatima).

Figure 35

Table 3. Results of the semantic analysis (460 sentences)

Figure 36

Figure 34. First semantic frame from the analysis of the sentence ( al-muṣallī calá al-masjidi/ The faithful perseveres in going to the mosque).

Figure 37

Figure 35. Second semantic frame from the analysis of the sentence (al-muṣallī calá al-masjidi/ The faithful perseveres in going to the mosque).

Figure 38

Figure 36. Structure of the exported XML file of the sentence (calīyun yuḥibu fāṭimah/ Ali loves Fatima).

Figure 39

Figure 37. Encoded semantic frame of the exported XML file of the sentence (calīyun yuḥibu fāṭimah/ Ali loves Fatima).