--- a +++ b/test-resources/should/doc_parser-0.json @@ -0,0 +1,345 @@ +[ + { + "children": [], + "dep": 430, + "dep_": "nsubjpass", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 0, + "i_sent": 0, + "idx": 0, + "is_contraction": false, + "is_ent": false, + "is_pronoun": true, + "is_punctuation": false, + "is_space": false, + "is_stop": true, + "is_superlative": false, + "is_wh": false, + "lemma_": "he", + "lexspan": { + "begin": 0, + "end": 2 + }, + "norm": "He", + "norm_len": 2, + "pos_": "PRON", + "sent_i": 0, + "shape": 12204527652707022206, + "shape_": "Xx", + "tag": 13656873538139661788, + "tag_": "PRP" + }, + { + "children": [], + "dep": 406, + "dep_": "auxpass", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 1, + "i_sent": 1, + "idx": 3, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": false, + "is_space": false, + "is_stop": true, + "is_superlative": false, + "is_wh": false, + "lemma_": "be", + "lexspan": { + "begin": 3, + "end": 6 + }, + "norm": "was", + "norm_len": 3, + "pos_": "AUX", + "sent_i": 0, + "shape": 4088098365541558500, + "shape_": "xxx", + "tag": 17109001835818727656, + "tag_": "VBD" + }, + { + "children": [ + 0, + 1, + 3, + 9 + ], + "dep": 8206900633647566924, + "dep_": "ROOT", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 2, + "i_sent": 2, + "idx": 7, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": false, + "is_space": false, + "is_stop": false, + "is_superlative": false, + "is_wh": false, + "lemma_": "diagnose", + "lexspan": { + "begin": 7, + "end": 16 + }, + "norm": "diagnosed", + "norm_len": 9, + "pos_": "VERB", + "sent_i": 0, + "shape": 13110060611322374290, + "shape_": "xxxx", + "tag": 3822385049556375858, + "tag_": "VBN" + }, + { + "children": [ + 5 + ], + "dep": 443, + "dep_": "prep", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 3, + "i_sent": 3, + "idx": 17, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": false, + "is_space": false, + "is_stop": true, + "is_superlative": false, + "is_wh": false, + "lemma_": "with", + "lexspan": { + "begin": 17, + "end": 21 + }, + "norm": "with", + "norm_len": 4, + "pos_": "ADP", + "sent_i": 0, + "shape": 13110060611322374290, + "shape_": "xxxx", + "tag": 1292078113972184607, + "tag_": "IN" + }, + { + "children": [], + "dep": 7037928807040764755, + "dep_": "compound", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 4, + "i_sent": 4, + "idx": 22, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": false, + "is_space": false, + "is_stop": false, + "is_superlative": false, + "is_wh": false, + "lemma_": "kidney", + "lexspan": { + "begin": 22, + "end": 28 + }, + "norm": "kidney", + "norm_len": 6, + "pos_": "NOUN", + "sent_i": 0, + "shape": 13110060611322374290, + "shape_": "xxxx", + "tag": 15308085513773655218, + "tag_": "NN" + }, + { + "children": [ + 4, + 6, + 8 + ], + "dep": 439, + "dep_": "pobj", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 5, + "i_sent": 5, + "idx": 29, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": false, + "is_space": false, + "is_stop": false, + "is_superlative": false, + "is_wh": false, + "lemma_": "failure", + "lexspan": { + "begin": 29, + "end": 36 + }, + "norm": "failure", + "norm_len": 7, + "pos_": "NOUN", + "sent_i": 0, + "shape": 13110060611322374290, + "shape_": "xxxx", + "tag": 15308085513773655218, + "tag_": "NN" + }, + { + "children": [], + "dep": 407, + "dep_": "cc", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 6, + "i_sent": 6, + "idx": 37, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": false, + "is_space": false, + "is_stop": true, + "is_superlative": false, + "is_wh": false, + "lemma_": "and", + "lexspan": { + "begin": 37, + "end": 40 + }, + "norm": "and", + "norm_len": 3, + "pos_": "CCONJ", + "sent_i": 0, + "shape": 4088098365541558500, + "shape_": "xxx", + "tag": 17571114184892886314, + "tag_": "CC" + }, + { + "children": [], + "dep": 7037928807040764755, + "dep_": "compound", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 7, + "i_sent": 7, + "idx": 41, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": false, + "is_space": false, + "is_stop": false, + "is_superlative": false, + "is_wh": false, + "lemma_": "heart", + "lexspan": { + "begin": 41, + "end": 46 + }, + "norm": "heart", + "norm_len": 5, + "pos_": "NOUN", + "sent_i": 0, + "shape": 13110060611322374290, + "shape_": "xxxx", + "tag": 15308085513773655218, + "tag_": "NN" + }, + { + "children": [ + 7 + ], + "dep": 410, + "dep_": "conj", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 8, + "i_sent": 8, + "idx": 47, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": false, + "is_space": false, + "is_stop": false, + "is_superlative": false, + "is_wh": false, + "lemma_": "disease", + "lexspan": { + "begin": 47, + "end": 54 + }, + "norm": "disease", + "norm_len": 7, + "pos_": "NOUN", + "sent_i": 0, + "shape": 13110060611322374290, + "shape_": "xxxx", + "tag": 15308085513773655218, + "tag_": "NN" + }, + { + "children": [], + "dep": 445, + "dep_": "punct", + "ent": 0, + "ent_": "-<N>-", + "ent_iob": 0, + "ent_iob_": "O", + "i": 9, + "i_sent": 9, + "idx": 54, + "is_contraction": false, + "is_ent": false, + "is_pronoun": false, + "is_punctuation": true, + "is_space": false, + "is_stop": false, + "is_superlative": false, + "is_wh": false, + "lemma_": ".", + "lexspan": { + "begin": 54, + "end": 55 + }, + "norm": ".", + "norm_len": 1, + "pos_": "PUNCT", + "sent_i": 0, + "shape": 12646065887601541794, + "shape_": ".", + "tag": 12646065887601541794, + "tag_": "." + } +] \ No newline at end of file