Skip to content

Instantly share code, notes, and snippets.

@thomashikaru
Created July 2, 2022 22:10
Show Gist options
  • Save thomashikaru/bafb98f724949a8a2413e46d0267cb74 to your computer and use it in GitHub Desktop.
Save thomashikaru/bafb98f724949a8a2413e46d0267cb74 to your computer and use it in GitHub Desktop.
example of english dependency parse data
# sent_id = answers-20111108084416AAoPgBv_ans-0020
# text = Everything about the place is magical and the people are mostly friendly.
1 Everything everything PRON NN Number=Sing 6 nsubj 6:nsubj _
2 about about ADP IN _ 4 case 4:case _
3 the the DET DT Definite=Def|PronType=Art 4 det 4:det _
4 place place NOUN NN Number=Sing 1 nmod 1:nmod _
5 is be AUX VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 6 cop 6:cop _
6 magical magical ADJ JJ Degree=Pos 0 root 0:root _
7 and and CCONJ CC _ 12 cc 12:cc _
8 the the DET DT Definite=Def|PronType=Art 9 det 9:det _
9 people people NOUN NNS Number=Plur 12 nsubj 12:nsubj _
10 are be AUX VBP Mood=Ind|Tense=Pres|VerbForm=Fin 12 cop 12:cop _
11 mostly mostly ADV RB _ 12 advmod 12:advmod _
12 friendly friendly ADJ JJ Degree=Pos 6 conj 6:conj SpaceAfter=No
13 . . PUNCT . _ 6 punct 6:punct _
# sent_id = answers-20111108084416AAoPgBv_ans-0021
# text = However, if you're allowed another option and you want a small-town feel, then head to Edinburgh, Scotland.
1 However however ADV RB _ 19 advmod 19:advmod SpaceAfter=No
2 , , PUNCT , _ 19 punct 19:punct _
3 if if SCONJ IN _ 6 mark 6:mark _
4 you you PRON PRP Case=Nom|Person=2|PronType=Prs 6 nsubj:pass 6:nsubj:pass SpaceAfter=No
5 're be AUX VBP Mood=Ind|Tense=Pres|VerbForm=Fin 6 aux:pass 6:aux:pass _
6 allowed allow VERB VBN Tense=Past|VerbForm=Part|Voice=Pass 19 advcl 19:advcl _
7 another another DET DT _ 8 det 8:det _
8 option option NOUN NN Number=Sing 6 obj 6:obj _
9 and and CCONJ CC _ 11 cc 11:cc _
10 you you PRON PRP Case=Nom|Person=2|PronType=Prs 11 nsubj 11:nsubj _
11 want want VERB VBP Mood=Ind|Tense=Pres|VerbForm=Fin 6 conj 6:conj _
12 a a DET DT Definite=Ind|PronType=Art 16 det 16:det _
13 small small ADJ JJ Degree=Pos 15 amod 15:amod SpaceAfter=No
14 - - PUNCT HYPH _ 15 punct 15:punct SpaceAfter=No
15 town town NOUN NN Number=Sing 16 compound 16:compound _
16 feel feel NOUN NN Number=Sing 11 obj 11:obj SpaceAfter=No
17 , , PUNCT , _ 19 punct 19:punct _
18 then then ADV RB PronType=Dem 19 advmod 19:advmod _
19 head head VERB VBD Mood=Ind|Tense=Past|VerbForm=Fin 0 root 0:root _
20 to to ADP IN _ 21 case 21:case _
21 Edinburgh Edinburgh PROPN NNP Number=Sing 19 obl 19:obl SpaceAfter=No
22 , , PUNCT , _ 21 punct 21:punct _
23 Scotland Scotland PROPN NNP Number=Sing 21 appos 21:appos SpaceAfter=No
24 . . PUNCT . _ 19 punct 19:punct _
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment