Hostname: page-component-74656f9884-8rzl6 Total loading time: 0 Render date: 2026-11-05T14:58:57.683Z Has data issue: false hasContentIssue false

Morphologically rich Urdu grammar parsing using Earley algorithm

Published online by Cambridge University Press:  16 April 2015

QAISER ABBAS*
Affiliation:
Fachbereich Sprachwissenschaft, Universität Konstanz, 78457 Konstanz, Germany e-mail: qaiser.abbas@uni-konstanz.de
Rights & Permissions [Opens in a new window]

Abstract

This work presents the development and evaluation of an extended Urdu parser. It further focuses on issues related to this parser and describes the changes made in the Earley algorithm to get accurate and relevant results from the Urdu parser. The parser makes use of a morphologically rich context free grammar extracted from a linguistically-rich Urdu treebank. This grammar with sufficient encoded information is comparable with the state-of-the-art parsing requirements for the morphologically rich Urdu language. The extended parsing model and the linguistically rich extracted-grammar both provide us better evaluation results in Urdu/Hindi parsing domain. The parser gives 87% of f-score, which outperforms the existing parsing work of Urdu/Hindi based on the tree-banking approach.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2015 
Figure 0

Fig. 1. Phrase and dependency structure example.

Figure 1

Fig. 2. A verb V example from the URDU.KON-TB treebank.

Figure 2

Fig. 3. A noun phrase (NP) example from the URDU.KON-TB treebank.

Figure 3

Fig. 4. Passing up lexical information to the syntactical level.

Figure 4

Fig. 5. Bracketed annotation of Example 2.

Figure 5

Fig. 6. A CFG of the example sentence in 2.

Figure 6

Algorithm 1 A CFG extraction algorithm

Figure 7

Algorithm 2 Urdu Parser

Figure 8

Algorithm 3 Predictor

Figure 9

Algorithm 4 Scanner

Figure 10

Fig. 7. A back-pointer calculation example of the Urdu parser.

Figure 11

Algorithm 5 Back Pointer

Figure 12

Algorithm 6 Builder

Figure 13

Fig. 8. An output of the BUILDER() method.

Figure 14

Algorithm 7 Empty Productions

Figure 15

Algorithm 8 Editor

Figure 16

Fig. 9. Incomplete solution of the Urdu paser.

Figure 17

Algorithm 9 Completer

Figure 18

Fig. 10. Charts generated by the Urdu parser for a sentence 7.

Figure 19

Fig. 11. A bracketed parse tree generated by the Urdu parser for a sentence 7.

Figure 20

Table 1. Evaluation results of the Urdu parser