<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Keeping it Simple: Generating Phrase Structure Trees from a Hindi Dependency Treebank</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Himanshu Yadav</string-name>
          <email>yadavhimanshu059@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ashwini Vaidya</string-name>
          <email>ashwini.vaidya@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Samar Husain</string-name>
          <email>samar@hss.iitd.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Indian Institute of Technology Delhi</institution>
          ,
          <country country="IN">India</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Jawaharlal Nehru University</institution>
          ,
          <country country="IN">India</country>
        </aff>
      </contrib-group>
      <fpage>123</fpage>
      <lpage>133</lpage>
      <abstract>
        <p>Converting a treebank from one representation type to another poses several challenges [4] [3]. These challenges are contingent on (amongst other things) the information encoded in source representation and the information required in target representation. In this paper, we propose a conversion algorithm that converts the Hindi-Urdu Dependency Treebank (HUTB) to a Phrase Structure (PS) representation. In order to do this, we extract structural information (for projecting heads) as well as predicate-argument information from the dependency structure (DS). The resulting PS trees are relatively flat with few empty categories (ECs) and are very close to the DS trees in their syntactic content. Our algorithm generates 'valid' PS trees. The validity is based on certain metrics such as well-formedness, linearity, etc. These trees could be further transformed for theory specific analyses.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Most modern treebanks make use of either Dependency Structure (DS) or Phrase
Structure (PS) representation to encode syntactic phenomenon. DS representation
has been used more frequently for free word order languages like Czech, Hindi,
Turkish, Russian etc. In addition, due to the development of efficient dependency
parsing algorithms, use of dependency formalism for treebanking has become
common [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. While DS representation offers several advantages, it is also known that
certain types of structural constraints (e.g. c-command) that are based on
constituent structures cannot be formalized in dependency structure. Such constraints
are known to play an important role in accounting for various syntactic phenomena
(e.g. reference resolution, syntactic islands, etc.) [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] (also see [
        <xref ref-type="bibr" rid="ref6 ref8">6, 8</xref>
        ]). In
addition, the PS representation lends itself naturally to capture the predictive nature of
human sentence processing via left-corner phrase structure parsing algorithm [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
It is therefore important to explore both these formalisms in order to investigate
their usefulness in language modeling and in building various applications. Since
a treebanking task uses a single representation, one needs to transform the original
representation to the desired representation.
      </p>
      <p>
        The complexity of a conversion algorithm will be contingent on (a) the
information encoded in the source vs the information required in the target, (b) word
order variation in the language, and (c) the choice of the target representation.
These factors can lead to small or large divergence between the source and target
representation. For example, Bhatt and Xia [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] required an intermediate layer in
order to handle the information asymmetry between the source and target
representation. Similarly, following Bhatt and Xia [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], Luu et al. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] also introduced
an additional intermediate layer to handle projectivity in their target PS. In this
work, we propose a conversion algorithm1 that converts the DS tree in HUTB to
the PS representation with the aim of maintaining ‘content of representation’ [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
between the source and target. The resulting trees are relatively flat with few empty
categories (ECs), i.e. these PS trees are very close to the DS trees as far as syntactic
information is concerned.
      </p>
      <p>Our paper is organized as follows: Section 2 discusses the salient properties
of the PS representation scheme that is generated by the algorithm. In Section 3,
we describe our conversion algorithm. Following this in section 4 we evaluate its
performance. We conclude the paper in section 5 and discuss future directions.
2</p>
    </sec>
    <sec id="sec-2">
      <title>The PS representation scheme</title>
      <p>
        Our proposed PS representation is relatively flat as it does not encode syntactic
roles (like Subject, Object etc.) structurally. The PS trees also do not necessarily
have binary branching or syntactically driven ECs. The flatness of the trees is a
by-product of the following representation choices (a) No intermediate projection
for heads, (b) No intermediate projection for dependents, (c) No binary branching.
These choices, in fact, relate to the questions pertaining to head projection and
dependent attachment raised by Xia and Palmer [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. They point out three issues
to be addressed by any conversion algorithm - (1) What kind of projection can a
category (X) have? (2) How far should a dependent project before it attaches to
its head? (3) To what position on a head’s projection chain2, should a dependent’s
projection attach? Regarding (1) and (2), as stated earlier, we do not have
intermediate projection for any head or dependent. Regarding (3), in our phrase structure,
a dependent is always a sister of its head. This is illustrated in Figure 1.
      </p>
      <p>In addition, we do not have any structurally distinguished position for encoding
syntactic roles. We capture this information using function tags like ‘–SUBJ’ for
Subject, ‘-OBJ-1’ for direct object etc. These design considerations are motivated
1The implemented algorithm can be downloaded from https://github.com/
yadavhimanshu059/Hindi_DS_to_PS_Conversion</p>
      <p>
        2A chain corresponds to all the intermediate projections of a category (X) upto its maximal
projection.
by the aim of maintaining ‘content of representation’ [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] between the source and
target.
      </p>
      <p>
        Interestingly, Collins et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] have also argued for flat PS representation scheme
for Czech, which is also a free word order language like Hindi. On the other hand,
PS representation scheme for Hindi by Bhatt et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] maintains fixed structural
positions for core arguments etc. leading to multiple empty categories. They
consistently assume a binary branching representation while maintaining a linear word
order. It is easy to see that getting to a representation proposed by [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] is difficult
because of the information asymmetry and the divergent analyses of various
phenomena in DS and PS [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Of course, we are not claiming that a more detailed
PS scheme for Hindi (e.g. Bhatt et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]) will not be useful at all. Indeed, from
a theoretical perspective, PS trees with elaborate empty categories might be very
useful. In fact, we envisage our PS schema (that is closer to DS) to be a useful
resource in order to reach such a representation.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>DS to PS conversion algorithm</title>
      <p>As stated earlier, our conversion algorithm does not use any additional information
other than the DS. We extract modifier-modified information (for projecting heads)
as well as predicate-argument information from the DS.</p>
      <p>We illustrate our conversion algorithm with the example in Figure 2 below.
The algorithm applies the following rules (i) rules for head-projection (ii) rules for
argument-adjunct distinction (iii) rules for joining argument structure sub-trees (iv)
rules for joining clauses in case of multi-clause constructions.</p>
      <p>Illustrative Example (see Figure 2)
(1)</p>
      <p>Mohan=kii baRI bahan shyaama aajkal
Mohan.N.m.sg=Gen elder.adj sister.N.M.sg Shyama.N.f.sg nowadays.adv
puranii kitaabein paRh-rahii-hai
old.adj.f.pl book.f.pl read-prog.f.sg-be
‘Mohan’s elder sister Shyama is reading old books these days’</p>
      <p>We use the sentence shown in Example 1 to illustrate our conversion process.
In step-1 (see Figure 2), we use the modifier-modified relation from the DS tree to
compute the heads of phrases in the corresponding PS tree. The modified element
takes the head position in phrases. The heads are marked with H* in Figure 2. In
step-2, the heads extracted from DS are recursively projected to generate
phrasefragments. We use the part-of-speech (POS) tag information from DS at this level.
Thus, a head with POS tag X projects to XP in phrase structure. The modifiers of
a head in DS take the non-head positions in a minimal phrase fragment.</p>
      <p>
        In step-3, we use the dependency relation label information of the modifiers
of the predicate in DS in order to make the distinction between arguments and
adjuncts. The following dependency relation to syntactic role mappings were used:
k1 – subject, k2/k2p – object, etc. Previous attempts to extract argument
information from the DS have shown that this mapping can correspond to
predicateargument information [
        <xref ref-type="bibr" rid="ref1 ref13">1, 13</xref>
        ]. Once the argument-adjunct distinction has been
made, we then create sub-trees by adjoining the phrase fragments corresponding to
NP-SUBJ, NP-OBJ etc. This means that syntactic roles such as subject and object
are not encoded structurally; rather this information is encoded through the phrase
tag. We get the complete PS tree by joining sub-trees as shown in step-4.
      </p>
      <p>If a sentence is composed of two or more clauses, each clause is formed using
the same procedure shown as in Figure 2. We then adjoin these clauses at a clause
joining step.
3.1</p>
      <sec id="sec-3-1">
        <title>Basic Argument Structure</title>
        <p>Dependency Label</p>
        <p>k1
k2, k2p
k4, k2g
k4a
pk1
jk1
k2s</p>
        <p>Phrase-Tag
-SUBJ
-OBJ-1
-OBJ-2
-SUBJ-Dat
-SUBJ
-J-SUBJ
-OBJ-Comp</p>
        <p>
          As stated earlier, we use phrase tags instead of structural encoding for argument
structure information. In a minimal clause, arguments licensed by verb are
represented using phrase tags like -SUBJ, -OBJ-1, -OBJ-2 etc (see Table 1). It makes
our resulting trees flatter and non-binary branched, see Figure 3. Previous attempts
to extract argument information from the DS have shown that this mapping can
correspond to predicate-argument information [
          <xref ref-type="bibr" rid="ref1 ref13">1, 13</xref>
          ].
The Hindi-Urdu Treebank (HUTB) makes a distinction between finite verbs and
non-finite verbs. We maintain predicate-argument information in a minimal
nonfinite clause using phrase tags -SUBJ, -OBJ-1, -SUBJ-Dat etc. Although we do
not posit any structural preferences for a non-finite clause, we encode a distinction
between finite and non-finite clause using phrase names S and S-NF/S-NN
respectively. An example non-finite clause is shown in Figure 4. Our system does not
add empty categories for shared subjects. If there is any empty node in DS, then,
we maintain it in resulting PS.
Similar to the DS representation, relative clauses directly modify the nouns in the
PS tree (see Figure 5). We use the modifier-modified relation information from DS
to identify the head of the relation clause. The S node in the relative clause tree
appears as a sister of the head noun in the PS tree.
3.4
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Multi-clause Coordination</title>
        <p>Two clauses at the same level are adjoined to the coordinating conjunction such
that both the clauses take the coordinating conjunction as their head (Figure 6).</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Evaluation</title>
      <p>We evaluate the validity of the automatically generated PS trees using various
metrics. This was done to ensure that the information transfer from DS to PS was
indeed successful. In addition we wanted to test the structural consistency of the PS
representation. This is necessary because we do not have gold PS trees, therefore
we have to use quantitative methods to analyze the performance of our system.
The evaluation was performed on Hindi Dependency Treebank (ver-0.05) which
consists of 18853 sentences with an average of 20 words per sentence.3</p>
      <p>We used the following metrics (1) Well-formedness: the tree has one root, is
acyclic and has no duplicated sub-trees (2) Linear order: terminal nodes in the
tree match the linear word order in sentence (3) Argument representation: All the
arguments given in DS are reflected in the PS output (4) Clausal Correspondence:
whether all verbal predicates in DS have their corresponding S nodes in PS.</p>
      <p>The first two tests validate the correctness of the constituent structure while the
latter two tests analyze the performance of our algorithm in extracting information
from the DS and representing the same information on the PS.</p>
      <sec id="sec-4-1">
        <title>Well-formedness</title>
        <p>99.90%</p>
      </sec>
      <sec id="sec-4-2">
        <title>Linear</title>
        <p>order
99.78%</p>
      </sec>
      <sec id="sec-4-3">
        <title>Argument</title>
        <p>representation
99.87%</p>
      </sec>
      <sec id="sec-4-4">
        <title>Clausal</title>
        <p>correspondence
99.96%</p>
        <p>All
constraints
99.74%</p>
        <p>Table 2 shows the performance of our conversion algorithm on all the metrics.
We find that we are able to convert the DS trees into PS trees with high accuracy.
The high accuracy demonstrates that the conversion produces PS trees that can be
reliable enough for other applications. We note that our system is able to
successfully convert nearly all types of constructions in the HUTB into PS. We also
experimented with handling non-projectivity. We were successful in handling a majority
of such dependencies. However the resulting PS structures were not always
consistent with regards to the placement of the empty category. In addition, certain cases
of inter-clausal non-projective dependencies were not being converted. In order to
handle these issues consistently across the treebank, we chose to not handle
nonprojectivity in the current release of the implemented algorithm. We do plan to
release an updated version that can handle non-projectivity in the near future.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Summary and Conclusion</title>
      <p>In this paper, we have proposed a DS to PS conversion algorithm for the HUTB.
The goal of our system was to maintain a close correspondence between the
syntactic information in DS and PS representations. This algorithm generates PS
3We found 0.2% dependency trees in the treebank as either disjoint or cyclic which we ignored
for the purposes of this evaluation. Non-projective trees were also not considered.
trees with high accuracy while avoiding an intermediate level of representation.
We envisage that this resource will be immediately useful for NLP tools such as
parsers and also for language modeling. Our system currently does not handle
non-projectivity. In addition, we do not specifically handle complex predicates.
We intend to handle these phenomena in the near future.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Bharat</surname>
            <given-names>R Ambati</given-names>
          </string-name>
          , Tejaswini Deoskar, and
          <string-name>
            <given-names>Mark</given-names>
            <surname>Steedman</surname>
          </string-name>
          .
          <article-title>Hindi CCGbank: CCG treebank from the hindi dependency treebank</article-title>
          .
          <source>In Language Resources and Evaluation</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Rajesh</given-names>
            <surname>Bhatt</surname>
          </string-name>
          , Bhuvana Narasimhan, Martha Palmer, Owen Rambow, Dipti Misra Sharma, and
          <string-name>
            <given-names>Fei</given-names>
            <surname>Xia</surname>
          </string-name>
          .
          <article-title>A multi-representational and multi-layered treebank for hindi/urdu</article-title>
          .
          <source>In Proceedings of the Third Linguistic Annotation Workshop</source>
          , pages
          <fpage>186</fpage>
          -
          <lpage>189</lpage>
          . Association for Computational Linguistics,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Rajesh</given-names>
            <surname>Bhatt</surname>
          </string-name>
          , Owen Rambow, and
          <string-name>
            <given-names>Fei</given-names>
            <surname>Xia</surname>
          </string-name>
          .
          <article-title>Linguistic phenomena, analyses, and representations: Understanding conversion between treebanks</article-title>
          .
          <source>In IJCNLP</source>
          , pages
          <fpage>1234</fpage>
          -
          <lpage>1242</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Rajesh</given-names>
            <surname>Bhatt</surname>
          </string-name>
          and
          <string-name>
            <given-names>Fei</given-names>
            <surname>Xia</surname>
          </string-name>
          .
          <article-title>Challenges in converting between treebanks: a case study from the hutb</article-title>
          .
          <source>In META-RESEARCH Workshop on Advanced Treebanking, page 53</source>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Michael</given-names>
            <surname>Collins</surname>
          </string-name>
          , Lance Ramshaw, Jan Hajicˇ, and
          <string-name>
            <given-names>Christoph</given-names>
            <surname>Tillmann</surname>
          </string-name>
          .
          <article-title>A statistical parser for czech</article-title>
          .
          <source>In Proceedings of the 37th annual meeting of the Association for Computational Linguistics on Computational Linguistics</source>
          , pages
          <fpage>505</fpage>
          -
          <lpage>512</lpage>
          . Association for Computational Linguistics,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Felix</given-names>
            <surname>Engelmann</surname>
          </string-name>
          , Lena A.
          <string-name>
            <surname>Jäger</surname>
            , and
            <given-names>Shravan</given-names>
          </string-name>
          <string-name>
            <surname>Vasishth</surname>
          </string-name>
          .
          <article-title>The determinants of retrieval interference in dependency resolution: Review and computational modeling</article-title>
          . Manuscript submitted,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>John</surname>
            <given-names>T</given-names>
          </string-name>
          <string-name>
            <surname>Hale</surname>
          </string-name>
          .
          <article-title>What a rational parser would do</article-title>
          .
          <source>Cognitive Science</source>
          ,
          <volume>35</volume>
          (
          <issue>3</issue>
          ):
          <fpage>399</fpage>
          -
          <lpage>443</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Philip</given-names>
            <surname>Hofmeister</surname>
          </string-name>
          and
          <article-title>Ivan A Sag</article-title>
          .
          <article-title>Cognitive constraints and island effects</article-title>
          .
          <source>Language</source>
          ,
          <volume>86</volume>
          (
          <issue>2</issue>
          ):
          <fpage>366</fpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Alex</given-names>
            <surname>Luu</surname>
          </string-name>
          ,
          <article-title>Sophia A Malamud, and Nianwen Xue. Conversion of syntagrus dependency treebank into penn treebank style</article-title>
          .
          <source>In Proceedings of the Tenth Linguistic Annotation Workshop</source>
          , pages
          <fpage>16</fpage>
          -
          <lpage>21</lpage>
          . Association for Computational Linguistics,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Joakim</surname>
            <given-names>Nivre</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marie-Catherine de Marneffe</surname>
          </string-name>
          , Filip Ginter, Yoav Goldberg, Jan Hajic,
          <string-name>
            <surname>Christopher D Manning</surname>
          </string-name>
          ,
          <string-name>
            <surname>Ryan</surname>
            <given-names>McDonald</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Slav</given-names>
            <surname>Petrov</surname>
          </string-name>
          , Sampo Pyysalo,
          <string-name>
            <given-names>Natalia</given-names>
            <surname>Silveira</surname>
          </string-name>
          , et al.
          <article-title>Universal dependencies v1: A multilingual treebank collection</article-title>
          .
          <source>In Proceedings of the 10th International Conference on Language Resources and Evaluation (LREC</source>
          <year>2016</year>
          ),
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>C.</given-names>
            <surname>Phillips</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. W.</given-names>
            <surname>Wagers</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E. F.</given-names>
            <surname>Lau</surname>
          </string-name>
          .
          <article-title>Grammatical illusions and selective fallibility in real-time language comprehension</article-title>
          . In J. Runner (ed.),
          <source>Experiments at the Interfaces</source>
          ,
          <source>Syntax and Semantics</source>
          , volume
          <volume>37</volume>
          , pages
          <fpage>153</fpage>
          -
          <lpage>186</lpage>
          .
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Owen</given-names>
            <surname>Rambow</surname>
          </string-name>
          .
          <article-title>The simple truth about dependency and phrase structure representations: An opinion piece</article-title>
          .
          <source>In Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics</source>
          , pages
          <fpage>337</fpage>
          -
          <lpage>340</lpage>
          . Association for Computational Linguistics,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>Ashwini</surname>
            <given-names>Vaidya</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jinho D Choi</surname>
            ,
            <given-names>Martha</given-names>
          </string-name>
          <string-name>
            <surname>Palmer</surname>
            , and
            <given-names>Bhuvana</given-names>
          </string-name>
          <string-name>
            <surname>Narasimhan</surname>
          </string-name>
          .
          <article-title>Analysis of the hindi proposition bank using dependency structure</article-title>
          .
          <source>In Proceedings of the 5th Linguistic Annotation Workshop</source>
          , pages
          <fpage>21</fpage>
          -
          <lpage>29</lpage>
          . Association for Computational Linguistics,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>Fei</given-names>
            <surname>Xia</surname>
          </string-name>
          and
          <string-name>
            <given-names>Martha</given-names>
            <surname>Palmer</surname>
          </string-name>
          .
          <article-title>Converting dependency structures to phrase structures</article-title>
          .
          <source>In Proceedings of the first international conference on Human language technology research</source>
          , pages
          <fpage>1</fpage>
          -
          <lpage>5</lpage>
          . Association for Computational Linguistics,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>