UNPKG

tpmkms

Version:

Reusable libraries for Entodicton, a natural language to json converter

294 lines 6.62 kB
[ { "associations": [ ], "config": { }, "contexts": [ { "context_index": 1, "dead": true, "default": true, "interpretation_error": { "argument_id": 1, "counter": 2, "expected": [ [ "dropable", "*" ] ] }, "level": 0, "marker": "drop", "range": { "end": 3, "start": 0 }, "text": "drop", "topLevel": true, "touchedBy": [ "errors#call2" ], "value": "drop", "word": "drop" }, { "isResponse": true, "marker": "verbatim", "topLevel": true, "verbatim": "Did not know how to understand \"y\" when applying \"drop\"" }, { "argument_id": 1, "context_index": 3, "dead": true, "level": 1, "marker": "unknown", "range": { "end": 5, "start": 5 }, "text": "y", "topLevel": true, "unknown": true, "value": "y", "word": "y" } ], "generatedParenthesized": [ "", "(Did not know how to understand \"y\" when applying \"drop\")", "" ], "metadata": { "opChoices": [ { "counter": 1, "op": [ "unknown", 0 ], "ops": [ [ "drop", 0 ], [ "unknown", 0 ] ] }, { "counter": 2, "op": [ "drop", 0 ], "ops": [ [ "drop", 0 ] ] } ] }, "objects": { "nameToUUID": { "errors": "errors1", "gdefaults": "gdefaults2", "tokenize": "tokenize2" }, "namespaced": { "errors1": { }, "gdefaults2": { }, "tokenize2": { } }, "processed": [ { "context": { "argument_id": 1, "context_index": 3, "dead": true, "level": 1, "marker": "unknown", "range": { "end": 5, "start": 5 }, "text": "y", "topLevel": true, "unknown": true, "value": "y", "word": "y" }, "generatedParenthesized": "", "paraphrases": "y", "paraphrasesParenthesized": "(y)", "responses": [ "", "Did not know how to understand \"y\" when applying \"drop\"", "" ] }, { "context": { "isResponse": true, "marker": "verbatim", "topLevel": true, "verbatim": "Did not know how to understand \"y\" when applying \"drop\"" }, "generatedParenthesized": "(Did not know how to understand \"y\" when applying \"drop\")", "paraphrases": "Did not know how to understand \"y\" when applying \"drop\"", "paraphrasesParenthesized": "(Did not know how to understand \"y\" when applying \"drop\")", "responses": [ "", "Did not know how to understand \"y\" when applying \"drop\"", "" ] }, { "context": { "context_index": 1, "dead": true, "default": true, "interpretation_error": { "argument_id": 1, "counter": 2, "expected": [ [ "dropable", "*" ] ] }, "level": 0, "marker": "drop", "range": { "end": 3, "start": 0 }, "text": "drop", "topLevel": true, "touchedBy": [ "errors#call2" ], "value": "drop", "word": "drop" }, "generatedParenthesized": "", "paraphrases": "drop", "paraphrasesParenthesized": "(drop)", "responses": [ "", "Did not know how to understand \"y\" when applying \"drop\"", "" ] } ] }, "paraphrases": [ "drop", "Did not know how to understand \"y\" when applying \"drop\"", "y" ], "paraphrasesParenthesized": [ "(drop)", "(Did not know how to understand \"y\" when applying \"drop\")", "(y)" ], "query": "drop y", "responses": [ "", "Did not know how to understand \"y\" when applying \"drop\"", "" ], "summaries": [ { "length": 3, "summaries": [ { "counter": 1, "operators": [ { "marker": [ "drop", 0 ], "range": { "end": 3, "start": 0 } }, { "marker": [ "unknown", 0 ], "range": { "end": 5, "start": 5 } } ] }, { "counter": 2, "operators": [ { "marker": [ "drop", 0 ], "range": { "end": 3, "start": 0 } }, { "marker": [ "unknown", 1 ], "range": { "end": 5, "start": 5 } } ] }, { "counter": 3, "operators": [ { "marker": [ "drop", 0 ], "range": { "end": 3, "start": 0 } }, { "marker": [ "unknown", 1 ], "range": { "end": 5, "start": 5 } } ] } ] } ] } ]