Treebank

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Most syntactic treebanks annotate variants of either phrase structure (left) or dependency structure (right).

In linguistics, a treebank is a parsed text corpus that annotates syntactic or semantic sentence structure. The construction of parsed corpora in the early 1990s revolutionized computational linguistics, which benefitted from large-scale empirical data.[1] The exploitation of treebank data has been important ever since the first large-scale treebank, The Penn Treebank, was published. However, although originating in computational linguistics, the value of treebanks is becoming more widely appreciated in linguistics research as a whole. For example, annotated treebank data has been crucial in syntactic research to test linguistic theories of sentence structure against large quantities of naturally occurring examples.

Etymology[edit]

The term treebank was coined by linguist Geoffrey Leech in the 1980s, by analogy to other repositories such as a seedbank or bloodbank.[2] This is because both syntactic and semantic structure are commonly represented compositionally as a tree structure. The term parsed corpus is often used interchangeably with the term treebank, with the emphasis on the primacy of sentences rather than trees.

Construction[edit]

Treebanks are often created on top of a corpus that has already been annotated with part-of-speech tags. In turn, treebanks are sometimes enhanced with semantic or other linguistic information. Treebanks can be created completely manually, where linguists annotate each sentence with syntactic structure, or semi-automatically, where a parser assigns some syntactic structure which linguists then check and, if necessary, correct. In practice, fully checking and completing the parsing of natural language corpora is a labour-intensive project that can take teams of graduate linguists several years. The level of annotation detail and the breadth of the linguistic sample determine the difficulty of the task and the length of time required to build a treebank.

Example phrase structure tree for John loves Mary
Hybrid constituency/dependency tree from the Quranic Arabic Corpus

Some treebanks follow a specific linguistic theory in their syntactic annotation (e.g. the BulTreeBank follows HPSG) but most try to be less theory-specific. However, two main groups can be distinguished: treebanks that annotate phrase structure (for example the Penn Treebank or ICE-GB) and those that annotate dependency structure (for example the Prague Dependency Treebank or the Quranic Arabic Dependency Treebank).

It is important to clarify the distinction between the formal representation and the file format used to store the annotated data. Treebanks are necessarily constructed according to a particular grammar. The same grammar may be implemented by different file formats. For example, the syntactic analysis for John loves Mary, shown in the figure on the right, may be represented by simple labelled brackets in a text file, like this (following the Penn Treebank notation):

(S (NP (NNP John))
   (VP (VPZ loves)
       (NP (NNP Mary)))
   (. .))

This type of representation is popular because it is light on resources, and the tree structure is relatively easy to read without software tools. However, as corpora become increasingly complex, other file formats may be preferred. Alternatives include treebank-specific XML schemes, numbered indentation and various types of standoff notation.

Applications[edit]

From a computational perspective, treebanks have been used to engineer state-of-the-art natural language processing systems such as part-of-speech taggers, parsers, semantic analyzers and machine translation systems[3]. Most computational systems utilize gold-standard treebank data. However, an automatically parsed corpus that is not corrected by human linguists can still be useful. It can provide evidence of rule frequency for a parser. A parser may be improved by applying it to large amounts of text and gathering rule frequencies. However, it should be obvious that only by a process of correcting and completing a corpus by hand is it possible then to identify rules absent from the parser knowledge base. In addition, frequencies are likely to be more accurate.

In corpus linguistics, treebanks are used to study syntactic phenomena (for example, diachronic corpora can be used to study the time course of syntactic change). Once parsed, a corpus will contain frequency evidence showing how common different grammatical structures are in use. Treebanks also provide evidence of coverage and support the discovery of new, unanticipated, grammatical phenomena.

Another use of treebanks in theoretical linguistics and psycholinguistics is interaction evidence. A completed treebank can help linguists carry out experiments as to how the decision to use one grammatical construction tends to influence the decision to form others, and to try to understand how speakers and writers make decisions as they form sentences. Interaction research is particularly fruitful as further layers of annotation, e.g. semantic, pragmatic, are added to a corpus. It is then possible to evaluate the impact of non-syntactic phenomena on grammatical choices.

Semantic treebanks[edit]

A semantic treebank is a collection of natural language sentences annotated with a meaning representation. These resources use a formal representation of each sentence's semantic structure. Semantic treebanks vary in the depth of their semantic representation. A notable example of deep semantic annotation is the Groningen Meaning Bank, developed at the University of Groningen and annotated using Discourse Representation Theory. An example of a shallow semantic treebank is PropBank, which provides annotation of verbal propositions and their arguments, without attempting to represent every word in the corpus in logical form.

Deep Syntax treebanks[edit]

A deep syntax treebank is a treebank lying at the interface between syntax and semantics, where the representation structure can be interpreted as a graph, representing subject of infinitival phrases, extraction, it-clef construction, shared subject ellipsis and so on. (to extend)

Syntactic treebanks[edit]

Many syntactic treebanks have been developed for a wide variety of languages:

Language Treebank Syntactic Formalism Distribution / License
Arabic Penn Arabic Treebank Phrase structure Linguistic Data Consortium
Arabic Prague Arabic Dependency Treebank (PADT) Dependency Linguistic Data Consortium
Arabic Columbia Arabic Treebank (CATiB) Dependency Linguistic Data Consortium
Arabic (classical) Quranic Arabic Dependency Treebank (QADT) (Quranic Arabic Corpus) Dependency Open source (GNU general public license)
Classical Armenian PROIEL Treebank[5] Dependency Open source (Creative Commons license)
Bulgarian BulTreeBank HPSG Freely available for research
Catalan Cat3LB Phrase structure Freely available for research
Chinese Penn Chinese Treebank Phrase structure Linguistic Data Consortium
Chinese Sinica Treebank Case grammar Not freely available
Chinese Chinese Dependency Treebank Dependency Linguistic Data Consortium
Old Church Slavonic TOROT Treebank[5] Dependency Open source (Creative Commons license)
Croatian Croatian Dependency Treebank Dependency Open source (Creative Commons license)
Czech Prague Dependency Treebank Dependency Open source (Creative Commons license)
Danish Danish Dependency Treebank Dependency Open source (GNU general public license)
Danish Arboretum: A syntactic tree corpus of Danish Phrase structure License fee
Dutch Spoken Dutch Corpus (CGN) Phrase structure License fee
Dutch Alpino Treebank Dependency Open source (GNU general public license)
Dutch LASSY Small and Large Dependency License fee
English Penn Treebank Phrase structure Linguistic Data Consortium
English CCGbank Combinatory categorial grammar Linguistic Data Consortium
English Prague English Dependency Treebank Dependency Linguistic Data Consortium
English Universal Dependencies Dependency Open source (Creative Commons license or GNU general public license)
English BLLIP WSJ corpus Phrase structure Linguistic Data Consortium
English British Component of the International Corpus of English (ICE-GB) Phrase structure License fee
English Diachronic Corpus of Present-Day Spoken English (DCPSE) Phrase structure License fee
English Lancaster Parsed Corpus Phrase structure ?
English Susanne Corpus Phrase structure Freely available for research
English Christine Corpus Phrase structure Freely available for research
English Lucy Corpus Phrase structure Freely available for research
English Tübingen Treebank of English / Spontaneous Speech (TüBa-E/S) HPSG Freely available for research
English LinGO Redwoods HPSG ?
English Multi-Treebank Phrase structure Available online for comparison purposes
English The PARC 700 Dependency Bank Dependency ?
English CHILDES Brown Eve corpus with dependency annotation Dependency Open source (Creative Commons license)
English SMULTRON - Parallel Treebank EN-DE-SV Phrase structure Freely available for research
English Treebank Semantics Parsed Corpus Phrase structure Open source (Creative Commons license)
English Yahoo Query Treebank Dependency Freely available for research
English (historical) Penn Parsed Corpora of Historical English; Phrase structure License fee
English (historical) York-Toronto-Helsinki Parsed Corpus of Old English Prose (YCOE) Phrase structure Freely available for research
Estonian Syntactically analyzed and disambiguated text corpus Dependency Freely available for research
Estonian Arborest Phrase structure ?
Finnish Turku Dependency Treebank (TDT) Dependency Open source (Creative Commons license)
French Paris 7 Phrase structure Freely available for research
French Sequoia Treebank Phrase structure & Dependency Open Source license LGPL-LR
French (spoken) Rhapsodie Dependency and macrosyntactic annotation Open source (Creative Commons license)
French L'Arboratoire Phrase structure ?
French (historical) Corpus MCVF Phrase structure Freely available for research
French Free French Treebank Phrase structure Open Source license LGPL-LR
German Hamburg Dependency Treebank (HDT) Dependency Freely available for research
German NEGRA Phrase structure Freely available for research
German TIGER Phrase structure Freely available for research
German Tübingen Treebank of Written German (TüBa-D/Z) Phrase structure Freely available for research
German Tübingen Treebank of German / Spontaneous Speech (TüBa-D/S) Phrase structure Freely available for research
German Tübingen Partially Parsed Corpus of Written German (TüPP-D/Z) Phrase structure License fee
German SMULTRON - Parallel Treebank EN-DE-SV Phrase structure Freely available for research
Gothic PROIEL Treebank[5] Dependency Open source (Creative Commons license)
Greek Greek Dependency Treebank Dependency Not freely available
Greek (ancient) Ancient Greek Dependency Treebank[6][7] Dependency Open source (Creative Commons license)
Greek (ancient) PROIEL Treebank[5] Dependency Open source (Creative Commons license)
Hebrew Hebrew Dependency Treebank Dependency Open source (GNU general public license)
Hindi AnnCorra Dependency ?
Hungarian Hungarian Treebank Phrase structure ?
Icelandic IcePaHC - Icelandic Parsed Historical Corpus Phrase structure Open source (GNU Lesser General Public License)
Italian TUT - Turin University Treebank Dependency Open source (Creative Commons license)
Italian ISST - Italian Syntactic-Semantic Treebank Phrase structure and dependency License fee
Italian VIT - Venice Italian Treebank Phrase structure and dependency License fee
Italian SUT - Siena University Treebank ? ?
Italian Italian Syntactic-Semantic Treebank for the CoNLL-2007 Shared Task (ISST-CoNLL) dependency Freely available for research
Italian MIDT (Merged Italian Dependency Treebank) resulting from the merging and harmonization of the TUT and ISST-CoNLL/TANL treebanks dependency Freely available for research
Italian ISDT (Italian Stanford Dependency Treebank) dependency Freely available for research
Japanese ATR Dependency corpus Dependency ?
Japanese Kyoto Text Corpus ? ?
Japanese Tübingen Treebank of Japanese / Spontaneous Speech (TüBa-J/S) Phrase structure Freely available for research
Japanese Keyaki Treebank Phrase structure Open source (Creative Commons license)
Korean Korean Treebank Phrase structure Linguistic Data Consortium
Latin Latin Dependency Treebank[8] Dependency Open source (Creative Commons license)
Latin Index Thomisticus Treebank Dependency Open source (Creative Commons license)
Latin PROIEL Treebank[5] Dependency Open source (Creative Commons license)
Norwegian INESS treebanking infrastructure LFG ?
Persian PerTreeBank HPSG Freely available for research
Persian Persian Dependency Treebank (PerDT) Dependency Freely available for research
Polish A Treebank / Test Suite for Polish HPSG ?
Polish Składnica Phrase structure and Dependency Open source (GNU general public license)
Portuguese Projecto Floresta Sintá(c)tica Dependency, Phrase structure Open source (GNU general public license)
Portuguese (historical) Tycho Brahe corpus Phrase structure ?
Romanian Romanian Dependency Treebank Dependency ?
Russian SynTagRus Dependency Treebank (Russian National Corpus) Dependency Freely available for research
Old Russian TOROT Treebank[5] Dependency Open source (Creative Commons license)
Slovene Slovene Dependency Treebank Dependency Freely available for research
Spanish Cast3LB Phrase structure and dependency Freely available for research
Spanish UAM Treebank of Spanish Phrase structure Freely available for research
Swedish Talbanken05 Phrase structure and dependency Freely available for research
Swedish Swedish Treebank Phrase structure Freely available for research
Swedish SMULTRON - Parallel Treebank EN-DE-SV Phrase structure Freely available for research
Thai NAiST Thai Treebank Dependency Open source (GNU general public license)
Turkish METU-Sabanci Turkish Treebank Dependency Freely available for research
Ukrainian Institute for Ukrainian, NGO Gold Standard Dependency Open source (Creative Commons license)
Urdu NU-FAST Treebank Phrase structure Contact at Computational Learning Strategies & Practices
Urdu The URDU.KON-TB Treebank Phrase and Hyper Dependency Structure Contact at Computational Learning Strategies & Practices
Vietnamese Vietnamese Treebank Phrase structure Freely available for research
Vietnamese Vietnamese Dependency Treebank Dependency Freely available for research

To facilitate the further researches between multilingual tasks, some researchers discussed the universal annotation scheme for cross-languages. In this way, people try to utilize or merge the advantages of different treebanks corpora. For instance, The universal annotation approach for dependency treebanks;[9] and the universal annotation approach for phrase structure treebanks.[10]

Search tools[edit]

One of the key ways to extract evidence from a treebank is through search tools. Search tools for parsed corpora typically depend on the annotation scheme that was applied to the corpus. User interfaces range in sophistication from expression-based query systems aimed at computer programmers to full exploration environments aimed at general linguists. Wallis (2008) discusses the principles of searching treebanks in detail and reviews the state of the art.[11]

See also[edit]

References[edit]

  1. ^ Alexander Clark, Chris Fox and Shalom Lappin (2010). The handbook of computational linguistics and natural language processing. Wiley.
  2. ^ Sampson, G. (2003) ‘Reflections of a dendrographer.’ In A. Wilson, P. Rayson and T. McEnery (eds.) Corpus Linguistics by the Lune: A Festschrift for Geoffrey Leech, Frankfurt am Main: Peter Lang, pp. 157-184
  3. ^ Kübler, Sandra; McDonald, Ryan; Nivre, Joakim (2008-12-18). "Dependency Parsing". Synthesis Lectures on Human Language Technologies. 2 (1): 1–127. doi:10.2200/s00169ed1v01y200901hlt002.
  4. ^ Kais Dukes (2013). Semantic Annotation of Robotic Spatial Commands. Language and Technology Conference (LTC). Poznan, Poland.
  5. ^ a b c d e f Dag Haug. 2015. Treebanks in historical linguistic research. In Carlotta Viti (ed.), Perspectives on Historical Syntax, Benjamins, 188-202. A preprint is available at http://folk.uio.no/daghaug/historical-treebanks.pdf.
  6. ^ Celano, Giuseppe G. A. 2014. Guidelines for the annotation of the Ancient Greek Dependency Treebank 2.0. https://github.com/PerseusDL/treebank_data/edit/master/AGDT2/guidelines
  7. ^ Mambrini, F. 2016. The Ancient Greek Dependency Treebank: Linguistic Annotation in a Teaching Environment. In: Bodard, G & Romanello, M (eds.) Digital Classics Outside the Echo-Chamber: Teaching, Knowledge Exchange & Public Engagement, Pp. 83–99. London: Ubiquity Press. doi:10.5334/bat.f
  8. ^ Bamman David & al. 2008. Guidelines for the Syntactic Annotation of Latin Treebanks (v. 1.3). http://nlp.perseus.tufts.edu/syntax/treebank/1.3/docs/guidelines.pdf
  9. ^ McDonald, R.; Nivre, J., Quirmbach-Brundage, Y.; et al. "Universal Dependency Annotation for Multilingual Parsing.". Proceedings of the ACL 2013.CS1 maint: Multiple names: authors list (link)
  10. ^ Han, A.L.-F; Wong, D.F.; Chao, L.S.; Lu, Y.; He, L. & Tian, L. (2014). "A Universal Phrase Tagset for Multilingual Treebanks". Proceedings of the CCL and NLP-NABD 2014, LNAI 8801, pp. 247– 258. © Springer International Publishing Switzerland. doi:10.1007/978-3-319-12277-9_22.
  11. ^ Wallis, Sean (2008). Searching treebanks and other structured corpora. Chapter 34 in Lüdeling, A. & Kytö, M. (ed.) Corpus Linguistics: An International Handbook. Handbücher zur Sprache und Kommunikationswissenschaft series. Berlin: Mouton de Gruyter.