[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
user:zeman:treebanks:grc [2011/12/05 23:03]
zeman References.
user:zeman:treebanks:grc [2011/12/06 15:02]
zeman
Line 32: Line 32:
 ==== Domain ==== ==== Domain ====
  
-Mixed (WikipediaWikinewsuniversity web-magazine and blogs).+Homer: Illiad (750 BC)Odyssey (700 BC); Hesiod (650 BC)Aeschylus (500 BC); Sophocles: Ajax (445 BC).
  
 ==== Size ==== ==== Size ====
  
-TDT contains 58576 tokens in 4307 sentences, yielding 13.60 tokens per sentence on average. No official training-test data split is defined. For our HamleDT experiments, we took the first 90 (53151 tokens / 3877 sentences) for training and the remaining 10 (5425 tokens / 430 sentences) for testing.+AGDT contains 309,092 tokens in 21165 sentences, yielding 14.60 tokens per sentence on average. No official training-test data split is defined. For our HamleDT experiments, we took the smallest file called ''1999.01.0015.xml'' (5949 tokens / 529 sentences; Aeschylus: //Suppliants//) for testing and the rest (303,143 tokens / 20636 sentences) for training.
  
 ==== Inside ==== ==== Inside ====
  
-The native file format of the treebank is based on XML. Besides that, TDT is also distributed in the [[:format-conll|CoNLL-X format]]. The part-of-speech tag AND the morphosyntactic features are joined in one feature stringwhich is copied in both the CPOS and the POS columns of the CoNLL format. The FEAT column is empty (i.e. it contains the underscore character). Lemmas are available, too. Morphological annotation and disambiguation is automatic, it is no gold standard. The native XML format shows all morphological readings of every word based on the lexiconand the disambiguation is left upon the user.+The native file format of the treebank is based on XML. Greek letters are romanized using [[http://www.tlg.uci.edu/encoding/quickbeta.pdf|Beta Code]], a romanization scheme used widely not only in the Perseus projectIt can be mapped 1-1 on the original Greek letters in UTF-8; howeverembedded non-Greek words (such as the lemmas “comma” and “other”) cannot be identified automatically (and we do not want to decode them). 
 + 
 +Morphological annotation consists of lemma and nine-character positional morphosyntactic tag. Disambiguation has been done manually (gold standard). 
 + 
 +The syntactic annotation style is very similar to that of the Prague Dependency Treebank. The syntactic tags (analytical functions) are almost identicaltoo. However, in AGDT some combined values are permitted that are not valid in PDT, e.g. ''ATR_AP_ExD0_APOS''.
  
 ==== Sample ==== ==== Sample ====
  
-The first two sentences of the corpus in its native XML format:+The first sentence of the corpus in its native XML format:
  
-<code xml><treeset name="http://ranneliike.net/blogi.php?nick=Aboa Kirjoitettu02.02.2010, 15:41:06"> +<code xml><?xml version="1.0"?> 
-  <sentence txt="Kävelyreitti III"> +<treebank version="1.2" 
-    <token charOff="0-12"+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-      <posreading CG="truebaseform="kävely#reittirawtags="N NOM SG &lt;up&gt;/+ xmlns:treebank="http://nlp.perseus.tufts.edu/syntax/treebank/1.5" 
-    </token+ xsi:schemaLocation="http://nlp.perseus.tufts.edu/syntax/treebank/1.5 treebank-1.5.xsd
-    <token charOff="13-16"> + xml:lang="grc"> 
-      <posreading CG="truebaseform="IIIrawtags="&lt;roman&gt; ABBR NOM SG &lt;up&gt;" /> + <date>Wed Sep 29 12:03:38 EDT 2010</date
-      <posreading CG="truebaseform="iiirawtags="ABBR &lt;up&gt;" /> + <annotator> 
-      <posreading CG="truebaseform="iiirawtags="&lt;roman&gt; ABBR NOM SG &lt;up&gt;" /+ <short>FrancescoM</short> 
-    </token+ <name>Francesco Mambrini</name> 
-    <dep dep="1" gov="0type="num" /> + <address>Tufts University, Medford, MA, USA</address> 
-  </sentence+ </annotator> 
-  <sentence txt="Jäällä kävely avaa aina hauskoja ja erikoisia näkökulmia kaupunkiin."> + <sentence id="2185285document_id="Perseus:text:1999.01.0003subdoc="card=1" span="qeou\s0:.0"> 
-    <token charOff="0-6"> + <annotator>FrancescoM</annotator
-      <posreading CG="truebaseform="jäärawtags="N ADE SG &lt;up&gt;" /> + <word id="1" cid="32749174" form="qeou\s" lemma="qeo/s1" postag="n-p---ma-" head="3" relation="OBJ" /
-    </token+ <word id="2cid="32749175form="me\n" lemma="me/n1" postag="g--------" head="3" relation="AuxY" /> 
-    <token charOff="7-13"> + <word id="3cid="32749176form="ai)tw=" lemma="ai)te/w1" postag="v1spia---" head="0" relation="PRED" /> 
-      <posreading CG="truebaseform="kävelyrawtags="DV-U N NOM SG" /> + <word id="4cid="32749177form="tw=nd&apos;" lemma="o(/de1" postag="p-p---mg-" head="6" relation="ATR" /> 
-    </token+ <word id="5" cid="32749178" form="a)pallagh\n" lemma="a)pallagh/1" postag="n-s---fa-" head="3relation="OBJ" /> 
-    <token charOff="14-18"> + <word id="6" cid="32749179" form="po/nwn" lemma="po/nos1" postag="n-p---mg-" head="5" relation="ATR_AP_ExD0_APOS" /> 
-      <posreading CG="truebaseform="avatarawtags="V PRES ACT SG3" /+ <word id="7cid="32749180" form="froura=s" lemma="froura/1" postag="n-s---fg-" head="5" relation="ATR_AP_ExD0_APOS" /
-      <posreading CG="falsebaseform="avatarawtags="V PRES ACT NEG" /> + <word id="8" cid="32749181" form="e)tei/as" lemma="e)/teios1" postag="a-s---fg-" head="7" relation="ATR" /
-      <posreading CG="falsebaseform="avatarawtags="V IMPV ACT SG2" /> + <word id="9cid="32749182form="mh=kos" lemma="mh=kos1" postag="n-s---na-" head="8" relation="ATR" /> 
-      <posreading CG="falsebaseform="avatarawtags="V IMPV ACT NEG" /> + <word id="10" cid="32749183" form="," lemma="comma1" postag="u--------" head="21" relation="AuxX" /> 
-    </token+ <word id="11" cid="32749184" form="h(\n" lemma="o(/s1" postag="p-s---fa-" head="12" relation="OBJ" /
-    <token charOff="19-23"> + <word id="12cid="32749185form="koimw/menos" lemma="koima/w1" postag="t-sppemn-" head="21" relation="ADV" /> 
-      <posreading CG="truebaseform="ainarawtags="ADV" /+ <word id="13" cid="32749186" form="ste/gais" lemma="ste/gh1" postag="n-p---fd-" head="12" relation="ADV" /> 
-    </token+ <word id="14" cid="32749187" form="*)atreidw=n" lemma="*)atrei/dhs1" postag="n-p---mg-" head="13" relation="ATR" /
-    <token charOff="24-32"> + <word id="15cid="32749188form="a)/gkaqenlemma="a)/gkaqen1" postag="d--------head="16relation="ADV_AP" /> 
-      <posreading CG="truebaseform="hauskarawtags="A POS PTV PL" /> + <word id="16cid="32749189" form="," lemma="comma1" postag="u--------" head="12relation="APOS" /> 
-    </token+ <word id="17cid="32749190form="kuno\s" lemma="ku/wn1" postag="n-s---mg-" head="18" relation="ATR" /> 
-    <token charOff="33-35"> + <word id="18" cid="32749191" form="di/khn" lemma="di/kh1" postag="n-s---fa-" head="16" relation="ADV_AP" /> 
-      <posreading CG="truebaseform="jarawtags="COORD C" /> + <word id="19" cid="32749192" form="," lemma="comma1" postag="u--------" head="16" relation="AuxX" /
-    </token+ <word id="20cid="32749193form="a)/strwnlemma="a)/stron1" postag="n-p---ng-" head="23" relation="ATR" /> 
-    <token charOff="36-45"> + <word id="21" cid="32749194" form="ka/toida" lemma="ka/toida1" postag="v1sria---" head="7" relation="ATR" /
-      <posreading CG="truebaseform="erikoinenrawtags="A POS PTV PL" /> + <word id="22cid="32749195form="nukte/rwn" lemma="nu/kteros1" postag="a-p---ng-" head="20" relation="ATR" /> 
-    </token> + <word id="23" cid="32749196" form="o(mh/gurin" lemma="o(mh/guris1" postag="n-s---fa-" head="25" relation="OBJ_AP_CO" /> 
-    <token charOff="46-56"> + <word id="24" cid="32749197" form="," lemma="comma1" postag="u--------" head="25" relation="AuxX" /
-      <posreading CG="truebaseform="näkö#kulmarawtags="N PTV PL" /+ <word id="25cid="32749198form="kai\" lemma="kai/1" postag="c--------" head="38" relation="COORD" /> 
-    </token+ <word id="26" cid="32749199" form="tou\s" lemma="o(1" postag="l-p---ma-" head="33" relation="ATR" /> 
-    <token charOff="57-67"> + <word id="27" cid="32749200" form="fe/rontas" lemma="fe/rw1" postag="t-pppama-" head="33" relation="ATR" /
-      <posreading CG="truebaseform="kaupunkirawtags="N ILL SG" /> + <word id="28cid="32749201form="xei=ma" lemma="xei=ma1" postag="n-s---na-" head="29" relation="OBJ_CO" /> 
-    </token+ <word id="29" cid="32749202" form="kai\" lemma="kai/1" postag="c--------" head="27" relation="COORD" /
-    <token charOff="67-68"> + <word id="30cid="32749203form="qe/roslemma="qe/ros1" postag="n-s---na-" head="29" relation="OBJ_CO" /> 
-      <posreading CG="truebaseform=".rawtags="PUNCT" /> + <word id="31" cid="32749204" form="brotoi=s" lemma="broto/s1" postag="n-p---md-" head="27" relation="OBJ" /
-    </token+ <word id="32cid="32749205form="lamprou\s" lemma="lampro/s1" postag="a-p---ma-" head="33" relation="ATR" /> 
-    <dep dep="0gov="1type="nommod" /> + <word id="33" cid="32749206" form="duna/stas" lemma="duna/sths1" postag="n-p---ma-" head="34" relation="OBJ_AP_CO" /> 
-    <dep dep="1gov="2type="nsubj" /> + <word id="34" cid="32749207" form="," lemma="comma1" postag="---------head="25" relation="APOS" /
-    <dep dep="3gov="2type="advmod" /> + <word id="35cid="32749208form="e)mpre/pontas" lemma="e)mpre/pw1" postag="t-pppama-" head="37" relation="ATR" /> 
-    <dep dep="7gov="2type="dobj" /> + <word id="36" cid="32749209" form="ai)qe/ri" lemma="ai)qh/r1" postag="n-s---md-" head="35" relation="OBJ" /> 
-    <dep dep="9gov="2type="punct" /> + <word id="37cid="32749210form="[a)ste/ras" lemma="a)sth/r1" postag="n-p---ma-" head="34" relation="OBJ_AP_CO" /> 
-    <dep dep="5gov="4type="cc" /> + <word id="38cid="32749211" form="," lemma="comma1" postag="---------" head="21relation="APOS" /> 
-    <dep dep="6gov="4type="conj" /> + <word id="39cid="32749212" form="o(/tan" lemma="o(/tan1" postag="c--------" head="43relation="AuxC" /> 
-    <dep dep="4gov="7type="amod" /> + <word id="40cid="32749213form="fqi/nwsin" lemma="fqi/w1" postag="v3ppsa---" head="39" relation="OBJ_AP_CO" /> 
-    <dep dep="8gov="7type="nommod" /> + <word id="41cid="32749214" form="," lemma="comma1" postag="---------" head="43relation="AuxX" /> 
-  </sentence></code>+ <word id="42cid="32749215form="a)ntola/s" lemma="a)natolh/1" postag="n-p---fa-" head="43" relation="OBJ_AP_CO" /> 
 + <word id="43cid="32749216form="te" lemma="te1" postag="g--------" head="38" relation="COORD" /> 
 + <word id="44cid="32749217" form="tw=n]" lemma="o(" postag="p-p---mg-" head="42relation="ATR" /> 
 + <word id="45cid="32749218" form="." lemma="other" postag="---------" head="0relation="AuxK" /> 
 + </sentence></code>
  
-The same two sentences in the CoNLL format:+The same sentence converted to the CoNLL format, with Greek letters decoded:
  
-# b101.d.xml/1 |||||||||| +| 1 | ἄσημα ἄσημος pos=a<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=p<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=n<nowiki>|</nowiki>cas=a<nowiki>|</nowiki>deg=- | 6 | OBJ | _ | _ 
-| 1 | Kävelyreitti kävely<nowiki>|</nowiki>reitti | NOM<nowiki>|</nowiki>up<nowiki>|</nowiki>SG<nowiki>|</nowiki>NOM<nowiki>|</nowiki>up<nowiki>|</nowiki>SG<nowiki>|</nowiki>_ | 0 ROOT | _ | _ | +2 | δ’ | δέ1 | g | g pos=g<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=-<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=-<nowiki>|</nowiki>cas=-<nowiki>|</nowiki>deg=- AuxY | _ | _ | 
-III III roman<nowiki>|</nowiki>NOM<nowiki>|</nowiki>up<nowiki>|</nowiki>SG<nowiki>|</nowiki>ABBR | roman<nowiki>|</nowiki>NOM<nowiki>|</nowiki>up<nowiki>|</nowiki>SG<nowiki>|</nowiki>ABBR | _ | 1 | num | _ | _ | +3 | αὐτῶν | αὐτός pos=a<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=p<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=n<nowiki>|</nowiki>cas=g<nowiki>|</nowiki>deg=- | 1 | ATR | _ | _ | 
-| |||||||||| +αὐτίκ’ αὐτίκα1 pos=d<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=-<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=-<nowiki>|</nowiki>cas=-<nowiki>|</nowiki>deg=- ADV | 
-# b101.d.xml/|||||||||| +ἀγνοίᾳ ἄγνοια1 | pos=n<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=s<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=f<nowiki>|</nowiki>cas=d<nowiki>|</nowiki>deg=- ADV | _ | _ | 
-1 | Jäällä jää ADE<nowiki>|</nowiki>SG<nowiki>|</nowiki>up<nowiki>|</nowiki>ADE<nowiki>|</nowiki>SG<nowiki>|</nowiki>up<nowiki>|</nowiki>nommod | _ | _ | +λαβὼν λαμβάνω1 t | t | pos=t<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=s<nowiki>|</nowiki>ten=a<nowiki>|</nowiki>mod=p<nowiki>|</nowiki>voi=a<nowiki>|</nowiki>gen=m<nowiki>|</nowiki>cas=n<nowiki>|</nowiki>deg=- ADV | _ | _ | 
-kävely kävely DV-U<nowiki>|</nowiki>NOM<nowiki>|</nowiki>SG<nowiki>|</nowiki>DV-U<nowiki>|</nowiki>NOM<nowiki>|</nowiki>SG<nowiki>|</nowiki>3 | nsubj | _ | _ | +ἔσθει ἔσθω1 | v | v pos=v<nowiki>|</nowiki>per=3<nowiki>|</nowiki>num=s<nowiki>|</nowiki>ten=p<nowiki>|</nowiki>mod=i<nowiki>|</nowiki>voi=a<nowiki>|</nowiki>gen=-<nowiki>|</nowiki>cas=-<nowiki>|</nowiki>deg=- | 0 | PRED | _ | _ | 
-avaa avata SG3<nowiki>|</nowiki>ACT<nowiki>|</nowiki>PRES<nowiki>|</nowiki>SG3<nowiki>|</nowiki>ACT<nowiki>|</nowiki>PRES<nowiki>|</nowiki>| 0 | ROOT | _ | _ | +βορὰν βορά1 pos=n<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=s<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=f<nowiki>|</nowiki>cas=a<nowiki>|</nowiki>deg=- | 7 | OBJ | _ | _ | 
-aina aina ADV ADV advmod | _ | _ | +ἄσωτον ἄσωτος a | a | pos=a<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=s<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=f<nowiki>|</nowiki>cas=a<nowiki>|</nowiki>deg=- | 8 | ATR | _ | _ | 
-hauskoja hauska A<nowiki>|</nowiki>PTV<nowiki>|</nowiki>POS<nowiki>|</nowiki>PL A<nowiki>|</nowiki>PTV<nowiki>|</nowiki>POS<nowiki>|</nowiki>PL | 8 | amod | _ | _ | +10 | , | comma1 pos=u<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=-<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=-<nowiki>|</nowiki>cas=-<nowiki>|</nowiki>deg=- | 11 | AuxX | _ | _ | 
-ja ja C<nowiki>|</nowiki>COORD C<nowiki>|</nowiki>COORD cc | _ | _ | +11 ὡς ὡς d | d | pos=d<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=-<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=-<nowiki>|</nowiki>cas=-<nowiki>|</nowiki>deg=- AuxC | _ | _ | 
-erikoisia erikoinen A<nowiki>|</nowiki>PTV<nowiki>|</nowiki>POS<nowiki>|</nowiki>PL A<nowiki>|</nowiki>PTV<nowiki>|</nowiki>POS<nowiki>|</nowiki>PL conj | _ | _ | +12 | ὁρᾷς | ὁράω1 | v pos=v<nowiki>|</nowiki>per=2<nowiki>|</nowiki>num=s<nowiki>|</nowiki>ten=p<nowiki>|</nowiki>mod=i<nowiki>|</nowiki>voi=a<nowiki>|</nowiki>gen=-<nowiki>|</nowiki>cas=-<nowiki>|</nowiki>deg=- 11 ADV | _ | _ | 
-näkökulmia näkö<nowiki>|</nowiki>kulma PTV<nowiki>|</nowiki>PL<nowiki>|</nowiki>PTV<nowiki>|</nowiki>PL<nowiki>|</nowiki>dobj | _ | _ | +13 | , | comma1 pos=u<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=-<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=-<nowiki>|</nowiki>cas=-<nowiki>|</nowiki>deg=- | 11 | AuxX | _ | | 
-kaupunkiin kaupunki ILL<nowiki>|</nowiki>SG<nowiki>|</nowiki>ILL<nowiki>|</nowiki>SG<nowiki>|</nowiki>| _ | nommod | _ | _ | +| 14 | γένει | γένος | n | n | pos=n<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=s<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=n<nowiki>|</nowiki>cas=d<nowiki>|</nowiki>deg=- | 9 | ADV | _ | _ | 
-10 | . | PUNCT PUNCT punct | _ | _ |+15 | . | period1 pos=u<nowiki>|</nowiki>per=-<nowiki>|</nowiki>num=-<nowiki>|</nowiki>ten=-<nowiki>|</nowiki>mod=-<nowiki>|</nowiki>voi=-<nowiki>|</nowiki>gen=-<nowiki>|</nowiki>cas=-<nowiki>|</nowiki>deg=- | 0 AuxK | _ | _ |
  
 ==== Parsing ==== ==== Parsing ====
  
-Nonprojectivities in TDT are rareOnly 299 out of the 58576 tokens are attached nonprojectively (0.51%).+AGDT is an extremely nonprojective treebank, exceeding the nonprojectivity level found in other treebanks by an order of magnitude60469 out of the total 309,092 tokens are attached nonprojectively (19.56%).
  
-I am not aware of any published evaluation of Finnish parsing accuracy.+I am not aware of any published evaluation of Ancient Greek parsing accuracy.
  

[ Back to the navigation ] [ Back to the content ]