JSON-NLP
Live Visualizer by
Semiring Inc.
JSON-NLP
Input: (paste your own
JSON-NLP
below)
See GitHub repo
{ "meta": { "DC.conformsTo": "0.1", "DC.created": "2020-05-28T02:15:19", "DC.date": "2020-05-28T02:15:19" }, "documents": [ { "meta": { "DC.conformsTo": "0.1", "DC.source": "NLP1 2.2.3", "DC.created": "2020-05-28T02:15:19", "DC.date": "2020-05-28T02:15:19", "DC.language": "en" }, "id": 1, "tokenList": [ { "id": 1, "sentence_id": 1, "text": "John", "lemma": "John", "xpos": "NNP", "upos": "PROPN", "entity_iob": "B", "characterOffsetBegin": 0, "characterOffsetEnd": 4, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "NounType_prop": "True", "Number_sing": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "Xxxx", "entity": "PERSON" }, { "id": 2, "sentence_id": 1, "text": "Smith", "lemma": "Smith", "xpos": "NNP", "upos": "PROPN", "entity_iob": "I", "characterOffsetBegin": 5, "characterOffsetEnd": 10, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "NounType_prop": "True", "Number_sing": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "Xxxxx", "entity": "PERSON" }, { "id": 3, "sentence_id": 1, "text": "met", "lemma": "meet", "xpos": "VBD", "upos": "VERB", "entity_iob": "O", "characterOffsetBegin": 11, "characterOffsetEnd": 14, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "Tense_past": "True", "VerbForm_fin": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxx" }, { "id": 4, "sentence_id": 1, "text": "Susan", "lemma": "Susan", "xpos": "NNP", "upos": "PROPN", "entity_iob": "B", "characterOffsetBegin": 15, "characterOffsetEnd": 20, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "NounType_prop": "True", "Number_sing": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "Xxxxx", "entity": "PERSON" }, { "id": 5, "sentence_id": 1, "text": "Peters", "lemma": "Peters", "xpos": "NNP", "upos": "PROPN", "entity_iob": "I", "characterOffsetBegin": 21, "characterOffsetEnd": 27, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "NounType_prop": "True", "Number_sing": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "Xxxxx", "entity": "PERSON" }, { "id": 6, "sentence_id": 1, "text": "at", "lemma": "at", "xpos": "IN", "upos": "ADP", "entity_iob": "O", "characterOffsetBegin": 28, "characterOffsetEnd": 30, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xx" }, { "id": 7, "sentence_id": 1, "text": "a", "lemma": "a", "xpos": "DT", "upos": "DET", "entity_iob": "O", "characterOffsetBegin": 31, "characterOffsetEnd": 32, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "x" }, { "id": 8, "sentence_id": 1, "text": "party", "lemma": "party", "xpos": "NN", "upos": "NOUN", "entity_iob": "O", "characterOffsetBegin": 33, "characterOffsetEnd": 38, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "Number_sing": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxxx" }, { "id": 9, "sentence_id": 1, "text": "in", "lemma": "in", "xpos": "IN", "upos": "ADP", "entity_iob": "O", "characterOffsetBegin": 39, "characterOffsetEnd": 41, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xx" }, { "id": 10, "sentence_id": 1, "text": "San", "lemma": "San", "xpos": "NNP", "upos": "PROPN", "entity_iob": "B", "characterOffsetBegin": 42, "characterOffsetEnd": 45, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "NounType_prop": "True", "Number_sing": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "Xxx", "entity": "GPE" }, { "id": 11, "sentence_id": 1, "text": "Francisco", "lemma": "Francisco", "xpos": "NNP", "upos": "PROPN", "entity_iob": "I", "characterOffsetBegin": 46, "characterOffsetEnd": 55, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "NounType_prop": "True", "Number_sing": "True", "Foreign": false }, "misc": { "SpaceAfter": false }, "shape": "Xxxxx", "entity": "GPE" }, { "id": 12, "sentence_id": 1, "text": ".", "lemma": ".", "xpos": ".", "upos": "PUNCT", "entity_iob": "O", "characterOffsetBegin": 55, "characterOffsetEnd": 56, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": false, "PunctType_peri": "True", "Foreign": false }, "misc": { "SpaceAfter": true } }, { "id": 13, "sentence_id": 2, "text": "She", "lemma": "-PRON-", "xpos": "PRP", "upos": "PRON", "entity_iob": "O", "characterOffsetBegin": 57, "characterOffsetEnd": 60, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "PronType_prs": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "Xxx" }, { "id": 14, "sentence_id": 2, "text": "moved", "lemma": "move", "xpos": "VBD", "upos": "VERB", "entity_iob": "O", "characterOffsetBegin": 61, "characterOffsetEnd": 66, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "Tense_past": "True", "VerbForm_fin": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxxx" }, { "id": 15, "sentence_id": 2, "text": "there", "lemma": "there", "xpos": "RB", "upos": "ADV", "entity_iob": "O", "characterOffsetBegin": 67, "characterOffsetEnd": 72, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "Degree_pos": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxxx" }, { "id": 16, "sentence_id": 2, "text": "two", "lemma": "two", "xpos": "CD", "upos": "NUM", "entity_iob": "B", "characterOffsetBegin": 73, "characterOffsetEnd": 76, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "NumType_card": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxx", "entity": "DATE" }, { "id": 17, "sentence_id": 2, "text": "years", "lemma": "year", "xpos": "NNS", "upos": "NOUN", "entity_iob": "I", "characterOffsetBegin": 77, "characterOffsetEnd": 82, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "Number_plur": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxxx", "entity": "DATE" }, { "id": 18, "sentence_id": 2, "text": "ago", "lemma": "ago", "xpos": "RB", "upos": "ADV", "entity_iob": "I", "characterOffsetBegin": 83, "characterOffsetEnd": 86, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "Degree_pos": "True", "Foreign": false }, "misc": { "SpaceAfter": false }, "shape": "xxx", "entity": "DATE" }, { "id": 19, "sentence_id": 2, "text": ".", "lemma": ".", "xpos": ".", "upos": "PUNCT", "entity_iob": "O", "characterOffsetBegin": 86, "characterOffsetEnd": 87, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": false, "PunctType_peri": "True", "Foreign": false }, "misc": { "SpaceAfter": true } }, { "id": 20, "sentence_id": 3, "text": "He", "lemma": "-PRON-", "xpos": "PRP", "upos": "PRON", "entity_iob": "O", "characterOffsetBegin": 88, "characterOffsetEnd": 90, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "PronType_prs": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "Xx" }, { "id": 21, "sentence_id": 3, "text": "was", "lemma": "be", "xpos": "VBD", "upos": "AUX", "entity_iob": "O", "characterOffsetBegin": 91, "characterOffsetEnd": 94, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "Tense_past": "True", "VerbForm_fin": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxx" }, { "id": 22, "sentence_id": 3, "text": "visiting", "lemma": "visit", "xpos": "VBG", "upos": "VERB", "entity_iob": "O", "characterOffsetBegin": 95, "characterOffsetEnd": 103, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "Aspect_prog": "True", "Tense_pres": "True", "VerbForm_part": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxxx" }, { "id": 23, "sentence_id": 3, "text": "his", "lemma": "-PRON-", "xpos": "PRP$", "upos": "DET", "entity_iob": "O", "characterOffsetBegin": 104, "characterOffsetEnd": 107, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "Poss_yes": "True", "PronType_prs": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxx" }, { "id": 24, "sentence_id": 3, "text": "parents", "lemma": "parent", "xpos": "NNS", "upos": "NOUN", "entity_iob": "O", "characterOffsetBegin": 108, "characterOffsetEnd": 115, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "Number_plur": "True", "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxxx" }, { "id": 25, "sentence_id": 3, "text": "over", "lemma": "over", "xpos": "IN", "upos": "ADP", "entity_iob": "O", "characterOffsetBegin": 116, "characterOffsetEnd": 120, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxxx" }, { "id": 26, "sentence_id": 3, "text": "the", "lemma": "the", "xpos": "DT", "upos": "DET", "entity_iob": "B", "characterOffsetBegin": 121, "characterOffsetEnd": 124, "lang": "en", "features": { "Overt": true, "Stop": true, "Alpha": true, "Foreign": false }, "misc": { "SpaceAfter": true }, "shape": "xxx", "entity": "DATE" }, { "id": 27, "sentence_id": 3, "text": "holidays", "lemma": "holiday", "xpos": "NNS", "upos": "NOUN", "entity_iob": "I", "characterOffsetBegin": 125, "characterOffsetEnd": 133, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": true, "Number_plur": "True", "Foreign": false }, "misc": { "SpaceAfter": false }, "shape": "xxxx", "entity": "DATE" }, { "id": 28, "sentence_id": 3, "text": ".", "lemma": ".", "xpos": ".", "upos": "PUNCT", "entity_iob": "O", "characterOffsetBegin": 133, "characterOffsetEnd": 134, "lang": "en", "features": { "Overt": true, "Stop": false, "Alpha": false, "PunctType_peri": "True", "Foreign": false }, "misc": { "SpaceAfter": false } } ], "sentences": { "1": { "id": 1, "tokenFrom": 1, "tokenTo": 13, "tokens": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 ], "sentiment": "neutral" }, "2": { "id": 2, "tokenFrom": 13, "tokenTo": 20, "tokens": [ 13, 14, 15, 16, 17, 18, 19 ], "sentiment": "positive" }, "3": { "id": 3, "tokenFrom": 20, "tokenTo": 29, "tokens": [ 20, 21, 22, 23, 24, 25, 26, 27, 28 ], "sentiment": "neutral" } }, "dependencyTrees": [ { "sentenceID": 1, "style": "universal", "dependencies": [ { "lab": "compound", "gov": 2, "dep": 1 }, { "lab": "nsubj", "gov": 3, "dep": 2 }, { "lab": "root", "gov": 0, "dep": 3 }, { "lab": "compound", "gov": 5, "dep": 4 }, { "lab": "dobj", "gov": 3, "dep": 5 }, { "lab": "prep", "gov": 3, "dep": 6 }, { "lab": "det", "gov": 8, "dep": 7 }, { "lab": "pobj", "gov": 6, "dep": 8 }, { "lab": "prep", "gov": 8, "dep": 9 }, { "lab": "compound", "gov": 11, "dep": 10 }, { "lab": "pobj", "gov": 9, "dep": 11 }, { "lab": "punct", "gov": 3, "dep": 12 } ] }, { "sentenceID": 2, "style": "universal", "dependencies": [ { "lab": "nsubj", "gov": 14, "dep": 13 }, { "lab": "root", "gov": 0, "dep": 14 }, { "lab": "advmod", "gov": 14, "dep": 15 }, { "lab": "nummod", "gov": 17, "dep": 16 }, { "lab": "npadvmod", "gov": 18, "dep": 17 }, { "lab": "advmod", "gov": 14, "dep": 18 }, { "lab": "punct", "gov": 14, "dep": 19 } ] }, { "sentenceID": 3, "style": "universal", "dependencies": [ { "lab": "nsubj", "gov": 22, "dep": 20 }, { "lab": "aux", "gov": 22, "dep": 21 }, { "lab": "root", "gov": 0, "dep": 22 }, { "lab": "poss", "gov": 24, "dep": 23 }, { "lab": "dobj", "gov": 22, "dep": 24 }, { "lab": "prep", "gov": 22, "dep": 25 }, { "lab": "det", "gov": 27, "dep": 26 }, { "lab": "pobj", "gov": 25, "dep": 27 }, { "lab": "punct", "gov": 22, "dep": 28 } ] } ], "coreferences": [ { "id": 0, "representative": { "tokens": [ 1, 2 ], "head": 2 }, "referents": [ { "tokens": [ 20 ], "head": 20 }, { "tokens": [ 23 ], "head": 23 } ] }, { "id": 1, "representative": { "tokens": [ 4, 5 ], "head": 5 }, "referents": [ { "tokens": [ 13 ], "head": 13 } ] } ], "constituents": [ { "sentenceId": 1, "labeledBracketing": "(ROOT (S (NP (NNP John) (NNP Smith)) (VP (VBD met) (NP (NNP Susan) (NNP Peters)) (PP (IN at) (NP (NP (DT a) (NN party)) (PP (IN in) (NP (NNP San) (NNP Francisco)))))) (. .)))" }, { "sentenceId": 2, "labeledBracketing": "(ROOT (S (NP (PRP She)) (VP (VBD moved) (ADVP (RB there)) (ADVP (NP (CD two) (NNS years)) (RB ago))) (. .)))" }, { "sentenceId": 3, "labeledBracketing": "(ROOT (S (NP (PRP He)) (VP (VBD was) (VP (VBG visiting) (NP (PRP$ his) (NNS parents)) (PP (IN over) (NP (DT the) (NNS holidays))))) (. .)))" } ], "expressions": [ { "id": 1, "type": "NP", "head": 2, "dependency": "nsubj", "tokens": [ 1, 2 ] }, { "id": 2, "type": "NP", "head": 5, "dependency": "dobj", "tokens": [ 4, 5 ] }, { "id": 3, "type": "NP", "head": 8, "dependency": "pobj", "tokens": [ 7, 8 ] }, { "id": 4, "type": "NP", "head": 11, "dependency": "pobj", "tokens": [ 10, 11 ] }, { "id": 5, "type": "NP", "head": 24, "dependency": "dobj", "tokens": [ 23, 24 ] }, { "id": 6, "type": "NP", "head": 27, "dependency": "pobj", "tokens": [ 26, 27 ] } ] } ] }