UNPKG

tpmkms

Version:

Reusable libraries for Entodicton, a natural language to json converter

948 lines 19.5 kB
[ { "associations": [ [ [ "the", 0 ], [ "theAble", 0 ] ] ], "config": { }, "contexts": [ { "concept": true, "context_index": 1, "dead": true, "default": true, "determiner": "the", "focusableForPhrase": true, "level": 1, "marker": "theAble", "modifiers": [ "determiner" ], "pullFromContext": true, "range": { "end": 10, "start": 0 }, "text": "the theable", "topLevel": true, "types": [ "theAble" ], "value": "theAble", "wantsValue": true, "word": "theable" } ], "generatedParenthesized": [ "" ], "metadata": { "opChoices": [ { "counter": 1, "op": [ "theAble", 0 ], "ops": [ [ "the", 0 ], [ "theAble", 0 ] ] }, { "counter": 2, "op": [ "the", 0 ], "ops": [ [ "the", 0 ] ] } ] }, "objects": { "nameToUUID": { "articles": "articles1", "gdefaults": "gdefaults2", "pos": "pos2", "punctuation": "punctuation2", "tokenize": "tokenize2" }, "namespaced": { "articles1": { }, "gdefaults2": { }, "pos2": { }, "punctuation2": { }, "tokenize2": { } }, "processed": [ { "context": { "concept": true, "context_index": 1, "dead": true, "default": true, "determiner": "the", "focusableForPhrase": true, "level": 1, "marker": "theAble", "modifiers": [ "determiner" ], "pullFromContext": true, "range": { "end": 10, "start": 0 }, "text": "the theable", "topLevel": true, "types": [ "theAble" ], "value": "theAble", "wantsValue": true, "word": "theable" }, "generatedParenthesized": "", "paraphrases": "the theable", "paraphrasesParenthesized": "(the (theable))", "responses": [ "" ] } ] }, "paraphrases": [ "the theable" ], "paraphrasesParenthesized": [ "(the (theable))" ], "query": "the theable", "responses": [ "" ], "summaries": [ { "length": 1, "summaries": [ { "counter": 1, "operators": [ { "marker": [ "the", 0 ], "range": { "end": 2, "start": 0 } }, { "marker": [ "theAble", 0 ], "range": { "end": 10, "start": 4 } } ] }, { "counter": 2, "operators": [ { "marker": [ "the", 0 ], "range": { "end": 2, "start": 0 } }, { "marker": [ "theAble", 1 ], "range": { "end": 10, "start": 4 } } ] }, { "counter": 3, "operators": [ { "marker": [ "theAble", 1 ], "range": { "end": 10, "start": 0 } } ] } ] } ] }, { "associations": [ [ [ "a", 0 ], [ "theAble", 0 ] ] ], "config": { }, "contexts": [ { "concept": true, "context_index": 1, "dead": true, "default": true, "determiner": { "default": true, "level": 0, "marker": "a", "range": { "end": 0, "start": 0 }, "text": "a", "word": "a" }, "instance": true, "level": 1, "marker": "theAble", "modifiers": [ "determiner" ], "number": "one", "pullFromContext": false, "range": { "end": 8, "start": 0 }, "text": "a theable", "topLevel": true, "types": [ "theAble" ], "value": "theAble", "wantsValue": true, "word": "theable" } ], "generatedParenthesized": [ "" ], "metadata": { "opChoices": [ { "counter": 1, "op": [ "theAble", 0 ], "ops": [ [ "a", 0 ], [ "theAble", 0 ] ] }, { "counter": 2, "op": [ "a", 0 ], "ops": [ [ "a", 0 ] ] } ] }, "objects": { "nameToUUID": { "articles": "articles1", "gdefaults": "gdefaults2", "pos": "pos2", "punctuation": "punctuation2", "tokenize": "tokenize2" }, "namespaced": { "articles1": { }, "gdefaults2": { }, "pos2": { }, "punctuation2": { }, "tokenize2": { } }, "processed": [ { "context": { "concept": true, "context_index": 1, "dead": true, "default": true, "determiner": { "default": true, "level": 0, "marker": "a", "range": { "end": 0, "start": 0 }, "text": "a", "word": "a" }, "instance": true, "level": 1, "marker": "theAble", "modifiers": [ "determiner" ], "number": "one", "pullFromContext": false, "range": { "end": 8, "start": 0 }, "text": "a theable", "topLevel": true, "types": [ "theAble" ], "value": "theAble", "wantsValue": true, "word": "theable" }, "generatedParenthesized": "", "paraphrases": "a theable", "paraphrasesParenthesized": "((a) (theable))", "responses": [ "" ] } ] }, "paraphrases": [ "a theable" ], "paraphrasesParenthesized": [ "((a) (theable))" ], "query": "a theable", "responses": [ "" ], "summaries": [ { "length": 1, "summaries": [ { "counter": 1, "operators": [ { "marker": [ "a", 0 ], "range": { "end": 0, "start": 0 } }, { "marker": [ "theAble", 0 ], "range": { "end": 8, "start": 2 } } ] }, { "counter": 2, "operators": [ { "marker": [ "a", 0 ], "range": { "end": 0, "start": 0 } }, { "marker": [ "theAble", 1 ], "range": { "end": 8, "start": 2 } } ] }, { "counter": 3, "operators": [ { "marker": [ "theAble", 1 ], "range": { "end": 8, "start": 0 } } ] } ] } ] }, { "associations": [ [ [ "distributable", 0 ], [ "every", 0 ] ] ], "config": { }, "contexts": [ { "concept": true, "context_index": 1, "dead": true, "default": true, "distributer": { "default": true, "level": 0, "marker": "every", "range": { "end": 4, "start": 0 }, "text": "every", "value": "every", "word": "every" }, "focusableForPhrase": true, "level": 1, "marker": "distributable", "modifiers": [ "distributer" ], "pullFromContext": true, "range": { "end": 18, "start": 0 }, "text": "every distributable", "topLevel": true, "types": [ "distributable" ], "value": "distributable", "wantsValue": true, "word": "distributable" } ], "generatedParenthesized": [ "" ], "metadata": { "opChoices": [ { "counter": 1, "op": [ "distributable", 0 ], "ops": [ [ "distributable", 0 ], [ "every", 0 ] ] }, { "counter": 2, "op": [ "every", 0 ], "ops": [ [ "every", 0 ] ] } ] }, "objects": { "nameToUUID": { "articles": "articles1", "gdefaults": "gdefaults2", "pos": "pos2", "punctuation": "punctuation2", "tokenize": "tokenize2" }, "namespaced": { "articles1": { }, "gdefaults2": { }, "pos2": { }, "punctuation2": { }, "tokenize2": { } }, "processed": [ { "context": { "concept": true, "context_index": 1, "dead": true, "default": true, "distributer": { "default": true, "level": 0, "marker": "every", "range": { "end": 4, "start": 0 }, "text": "every", "value": "every", "word": "every" }, "focusableForPhrase": true, "level": 1, "marker": "distributable", "modifiers": [ "distributer" ], "pullFromContext": true, "range": { "end": 18, "start": 0 }, "text": "every distributable", "topLevel": true, "types": [ "distributable" ], "value": "distributable", "wantsValue": true, "word": "distributable" }, "generatedParenthesized": "", "paraphrases": "every distributable", "paraphrasesParenthesized": "((every) (distributable))", "responses": [ "" ] } ] }, "paraphrases": [ "every distributable" ], "paraphrasesParenthesized": [ "((every) (distributable))" ], "query": "every distributable", "responses": [ "" ], "summaries": [ { "length": 1, "summaries": [ { "counter": 1, "operators": [ { "marker": [ "every", 0 ], "range": { "end": 4, "start": 0 } }, { "marker": [ "distributable", 0 ], "range": { "end": 18, "start": 6 } } ] }, { "counter": 2, "operators": [ { "marker": [ "every", 0 ], "range": { "end": 4, "start": 0 } }, { "marker": [ "distributable", 1 ], "range": { "end": 18, "start": 6 } } ] }, { "counter": 3, "operators": [ { "marker": [ "distributable", 1 ], "range": { "end": 18, "start": 0 } } ] } ] } ] }, { "associations": [ [ [ "distributable", 0 ], [ "each", 0 ] ] ], "config": { }, "contexts": [ { "concept": true, "context_index": 1, "dead": true, "default": true, "distributer": { "default": true, "level": 0, "marker": "each", "range": { "end": 3, "start": 0 }, "text": "each", "value": "each", "word": "each" }, "focusableForPhrase": true, "level": 1, "marker": "distributable", "modifiers": [ "distributer" ], "pullFromContext": true, "range": { "end": 17, "start": 0 }, "text": "each distributable", "topLevel": true, "types": [ "distributable" ], "value": "distributable", "wantsValue": true, "word": "distributable" } ], "generatedParenthesized": [ "" ], "metadata": { "opChoices": [ { "counter": 1, "op": [ "distributable", 0 ], "ops": [ [ "distributable", 0 ], [ "each", 0 ] ] }, { "counter": 2, "op": [ "each", 0 ], "ops": [ [ "each", 0 ] ] } ] }, "objects": { "nameToUUID": { "articles": "articles1", "gdefaults": "gdefaults2", "pos": "pos2", "punctuation": "punctuation2", "tokenize": "tokenize2" }, "namespaced": { "articles1": { }, "gdefaults2": { }, "pos2": { }, "punctuation2": { }, "tokenize2": { } }, "processed": [ { "context": { "concept": true, "context_index": 1, "dead": true, "default": true, "distributer": { "default": true, "level": 0, "marker": "each", "range": { "end": 3, "start": 0 }, "text": "each", "value": "each", "word": "each" }, "focusableForPhrase": true, "level": 1, "marker": "distributable", "modifiers": [ "distributer" ], "pullFromContext": true, "range": { "end": 17, "start": 0 }, "text": "each distributable", "topLevel": true, "types": [ "distributable" ], "value": "distributable", "wantsValue": true, "word": "distributable" }, "generatedParenthesized": "", "paraphrases": "each distributable", "paraphrasesParenthesized": "((each) (distributable))", "responses": [ "" ] } ] }, "paraphrases": [ "each distributable" ], "paraphrasesParenthesized": [ "((each) (distributable))" ], "query": "each distributable", "responses": [ "" ], "summaries": [ { "length": 1, "summaries": [ { "counter": 1, "operators": [ { "marker": [ "each", 0 ], "range": { "end": 3, "start": 0 } }, { "marker": [ "distributable", 0 ], "range": { "end": 17, "start": 5 } } ] }, { "counter": 2, "operators": [ { "marker": [ "each", 0 ], "range": { "end": 3, "start": 0 } }, { "marker": [ "distributable", 1 ], "range": { "end": 17, "start": 5 } } ] }, { "counter": 3, "operators": [ { "marker": [ "distributable", 1 ], "range": { "end": 17, "start": 0 } } ] } ] } ] } ]