tpmkms
Version:
Reusable libraries for Entodicton, a natural language to json converter
2,365 lines (2,364 loc) • 1.54 MB
JSON
[
{
"associations": [
[
[
"a",
0
],
[
"is",
0
],
[
"questionMark",
0
],
[
"unknown",
0
]
],
[
[
"a",
0
],
[
"is",
0
],
[
"questionMark",
0
],
[
"unknown",
0
],
[
"unknown",
1
]
],
[
[
"a",
0
],
[
"is",
0
],
[
"questionMark",
0
],
[
"unknown",
1
]
],
[
[
"a",
0
],
[
"is",
0
],
[
"unknown",
0
]
],
[
[
"a",
0
],
[
"is",
0
],
[
"unknown",
0
],
[
"unknown",
1
]
],
[
[
"a",
0
],
[
"questionMark",
0
],
[
"unknown",
1
]
],
[
[
"a",
0
],
[
"unknown",
1
]
],
[
[
"is",
0
],
[
"questionMark",
0
],
[
"unknown",
1
]
],
[
[
"is",
0
],
[
"unknown",
1
]
],
[
[
"is",
1
],
[
"questionMark",
0
]
]
],
"config": {
"words": {
"hierarchy": [
{
"child": " ",
"parent": "space"
},
{
"child": "0",
"parent": "digit"
},
{
"child": "1",
"parent": "digit"
},
{
"child": "2",
"parent": "digit"
},
{
"child": "3",
"parent": "digit"
},
{
"child": "4",
"parent": "digit"
},
{
"child": "5",
"parent": "digit"
},
{
"child": "6",
"parent": "digit"
},
{
"child": "7",
"parent": "digit"
},
{
"child": "8",
"parent": "digit"
},
{
"child": "9",
"parent": "digit"
},
{
"child": "lower",
"parent": "letter"
},
{
"child": "upper",
"parent": "letter"
},
{
"child": "a",
"parent": "lower"
},
{
"child": "b",
"parent": "lower"
},
{
"child": "c",
"parent": "lower"
},
{
"child": "d",
"parent": "lower"
},
{
"child": "e",
"parent": "lower"
},
{
"child": "f",
"parent": "lower"
},
{
"child": "g",
"parent": "lower"
},
{
"child": "h",
"parent": "lower"
},
{
"child": "i",
"parent": "lower"
},
{
"child": "j",
"parent": "lower"
},
{
"child": "k",
"parent": "lower"
},
{
"child": "l",
"parent": "lower"
},
{
"child": "m",
"parent": "lower"
},
{
"child": "n",
"parent": "lower"
},
{
"child": "o",
"parent": "lower"
},
{
"child": "p",
"parent": "lower"
},
{
"child": "q",
"parent": "lower"
},
{
"child": "r",
"parent": "lower"
},
{
"child": "s",
"parent": "lower"
},
{
"child": "t",
"parent": "lower"
},
{
"child": "u",
"parent": "lower"
},
{
"child": "v",
"parent": "lower"
},
{
"child": "w",
"parent": "lower"
},
{
"child": "x",
"parent": "lower"
},
{
"child": "y",
"parent": "lower"
},
{
"child": "z",
"parent": "lower"
},
{
"child": "A",
"parent": "upper"
},
{
"child": "B",
"parent": "upper"
},
{
"child": "C",
"parent": "upper"
},
{
"child": "D",
"parent": "upper"
},
{
"child": "E",
"parent": "upper"
},
{
"child": "F",
"parent": "upper"
},
{
"child": "G",
"parent": "upper"
},
{
"child": "H",
"parent": "upper"
},
{
"child": "I",
"parent": "upper"
},
{
"child": "J",
"parent": "upper"
},
{
"child": "K",
"parent": "upper"
},
{
"child": "L",
"parent": "upper"
},
{
"child": "M",
"parent": "upper"
},
{
"child": "N",
"parent": "upper"
},
{
"child": "O",
"parent": "upper"
},
{
"child": "P",
"parent": "upper"
},
{
"child": "Q",
"parent": "upper"
},
{
"child": "R",
"parent": "upper"
},
{
"child": "S",
"parent": "upper"
},
{
"child": "T",
"parent": "upper"
},
{
"child": "U",
"parent": "upper"
},
{
"child": "V",
"parent": "upper"
},
{
"child": "W",
"parent": "upper"
},
{
"child": "X",
"parent": "upper"
},
{
"child": "Y",
"parent": "upper"
},
{
"child": "Z",
"parent": "upper"
},
{
"child": "letter",
"parent": "alphanumeric"
},
{
"child": "digit",
"parent": "alphanumeric"
},
{
"child": "_",
"parent": "alphanumeric"
},
{
"child": "~",
"parent": "punctuation"
},
{
"child": "!",
"parent": "punctuation"
},
{
"child": "@",
"parent": "punctuation"
},
{
"child": "#",
"parent": "punctuation"
},
{
"child": "$",
"parent": "punctuation"
},
{
"child": "%",
"parent": "punctuation"
},
{
"child": "^",
"parent": "punctuation"
},
{
"child": "&",
"parent": "punctuation"
},
{
"child": "*",
"parent": "punctuation"
},
{
"child": "(",
"parent": "punctuation"
},
{
"child": ")",
"parent": "punctuation"
},
{
"child": "+",
"parent": "punctuation"
},
{
"child": "-",
"parent": "punctuation"
},
{
"child": "=",
"parent": "punctuation"
},
{
"child": "[",
"parent": "punctuation"
},
{
"child": "]",
"parent": "punctuation"
},
{
"child": "{",
"parent": "punctuation"
},
{
"child": "}",
"parent": "punctuation"
},
{
"child": "\\",
"parent": "punctuation"
},
{
"child": "|",
"parent": "punctuation"
},
{
"child": ";",
"parent": "punctuation"
},
{
"child": ":",
"parent": "punctuation"
},
{
"child": ",",
"parent": "punctuation"
},
{
"child": "<",
"parent": "punctuation"
},
{
"child": ">",
"parent": "punctuation"
},
{
"child": "/",
"parent": "punctuation"
},
{
"child": "?",
"parent": "punctuation"
},
{
"child": "'",
"parent": "punctuation"
},
{
"child": "\"",
"parent": "punctuation"
}
],
"literals": {
" 's": [
{
"id": "possession",
"initial": "{ value: 'possession' }"
}
],
"\"": [
{
"id": "doubleQuote",
"initial": "{\"word\":\"\\\"\",\"depth\":\"+\"}",
"word": "\""
}
],
"(": [
{
"id": "leftParenthesis",
"initial": "{\"word\":\"(\",\"value\":\"(\",\"depth\":\"+\"}",
"word": "("
}
],
")": [
{
"id": "rightParenthesis",
"initial": "{\"word\":\")\",\"value\":\")\",\"depth\":\"-\"}",
"word": ")"
}
],
",": [
{
"id": "comma",
"initial": "{\"word\":\",\",\"value\":\",\",\"depth\":\"+\"}",
"word": ","
}
],
".": [
{
"id": "endOfSentence",
"initial": "{ value: \"endOfSentence\"}"
}
],
":": [
{
"id": "colon",
"initial": "{ value: \"colon\"}"
}
],
"<<possession>>": [
{
"id": "possession",
"initial": "{ value: 'possession' }"
}
],
"?": [
{
"id": "questionMark",
"initial": "{}"
}
],
"are": [
{
"id": "is",
"initial": "{ number: 'many' }"
},
{
"id": "isEd",
"initial": "{ number: 'many' }"
}
],
"brief": [
{
"id": "briefOrWordy",
"initial": "{ value: 'brief' }"
}
],
"cat": [
{
"id": "cat",
"initial": "{ value: \"cat\", number: \"one\" }"
}
],
"cats": [
{
"id": "cat",
"initial": "{ value: \"cat\", number: \"many\" }"
}
],
"do": [
{
"id": "does",
"initial": "{ number: 'many' }"
}
],
"does": [
{
"id": "does",
"initial": "{ number: 'one' }"
}
],
"doesnt": [
{
"id": "doesnt",
"initial": "{ number: 'one' }"
}
],
"dont": [
{
"id": "doesnt",
"initial": "{ number: 'many' }"
}
],
"feline": [
{
"id": "feline",
"initial": "{ value: \"feline\", number: \"one\" }"
}
],
"felines": [
{
"id": "feline",
"initial": "{ value: \"feline\", number: \"many\" }"
}
],
"has": [
{
"id": "have",
"initial": "{ doesable: true, number: 'one' }"
}
],
"have": [
{
"id": "have",
"initial": "{ doesable: true, number: 'many' }"
}
],
"is": [
{
"id": "is",
"initial": "{ number: 'one' }"
},
{
"id": "isEd",
"initial": "{ number: 'one' }"
}
],
"memorable": [
{
"id": "memorable",
"initial": "{\"word\":\"memorable\",\"number\":\"one\"}",
"word": "memorable"
}
],
"memorables": [
{
"id": "memorable",
"initial": "{\"word\":\"memorables\",\"number\":\"many\"}",
"word": "memorables"
}
],
"modifies": [
{
"id": "modifies",
"initial": "{\"word\":\"modifies\",\"number\":\"one\",\"flatten\":false}",
"word": "modifies"
}
],
"modify": [
{
"id": "modifies",
"initial": "{\"word\":\"modify\",\"number\":\"many\",\"flatten\":true}",
"word": "modify"
}
],
"negatable": [
{
"id": "negatable",
"initial": "{\"word\":\"negatable\",\"number\":\"one\"}",
"word": "negatable"
}
],
"negatables": [
{
"id": "negatable",
"initial": "{\"word\":\"negatables\",\"number\":\"many\"}",
"word": "negatables"
}
],
"no": [
{
"id": "yesno",
"initial": "{ value: false }"
}
],
"properties": [
{
"id": "property",
"initial": "{ value: \"property\"}"
}
],
"the": [
{
"id": "the",
"initial": "{ modifiers: [] }"
}
],
"who": [
{
"id": "what",
"initial": "{ modifiers: [], query: true }"
}
],
"wordy": [
{
"id": "briefOrWordy",
"initial": "{ value: 'wordy' }"
}
],
"yes": [
{
"id": "yesno",
"initial": "{ value: true }"
}
]
},
"patterns": [
{
"defs": [
{
"id": "possession",
"initial": "{ value: 'possession' }",
"uuid": "properties2"
}
],
"pattern": [
"'s"
]
},
{
"defs": [
{
"remove": true,
"uuid": "tokenize2"
}
],
"pattern": [
{
"type": "space"
},
{
"repeat": true
}
]
},
{
"allow_partial_matches": false,
"check_spelling": true,
"defs": [
{
"id": "unknown",
"initial": "{ value: text, unknown: true }",
"uuid": "tokenize2"
}
],
"is_unknown": true,
"pattern": [
{
"type": "alphanumeric"
},
{
"repeat": true
}
],
"scale": 0.8
}
]
}
},
"contexts": [
{
"context_index": 1,
"dead": true,
"level": 2,
"marker": "is",
"number": "one",
"one": {
"concept": true,
"dead": true,
"determiner": {
"default": true,
"level": 0,
"marker": "a",
"range": {
"end": 0,
"start": 0
},
"text": "a",
"word": "a"
},
"instance": true,
"level": 1,
"marker": "unknown",
"modifiers": [
"determiner"
],
"number": "one",
"pullFromContext": false,
"range": {
"end": 16,
"start": 0
},
"text": "a cat",
"types": [
"unknown"
],
"unknown": true,
"value": "cat",
"wantsValue": true,
"word": "cat"
},
"range": {
"end": 16,
"start": 0
},
"text": "a cat is a feline",
"topLevel": true,
"touchedBy": [
"hierarchy#call2"
],
"two": {
"concept": true,
"dead": true,
"determiner": {
"default": true,
"level": 0,
"marker": "a",
"range": {
"end": 9,
"start": 9
},
"text": "a",
"word": "a"
},
"instance": true,
"level": 1,
"marker": "unknown",
"modifiers": [
"determiner"
],
"number": "one",
"pullFromContext": false,
"range": {
"end": 16,
"start": 9
},
"text": "a feline",
"types": [
"unknown"
],
"unknown": true,
"value": "feline",
"wantsValue": true,
"word": "feline"
},
"word": "is"
},
{
"context_index": 3,
"dead": true,
"evalue": {
"verbatim": "I don't know about an animal"
},
"isResponse": true,
"level": 2,
"marker": "is",
"number": "one",
"one": {
"concept": true,
"dead": true,
"determiner": {
"default": true,
"level": 0,
"marker": "a",
"range": {
"end": 18,
"start": 18
},
"text": "a",
"word": "a"
},
"instance": true,
"level": 1,
"marker": "unknown",
"modifiers": [
"determiner"
],
"number": "one",
"pullFromContext": false,
"range": {
"end": 35,
"start": 18
},
"text": "a cat",
"types": [
"unknown"
],
"unknown": true,
"value": "cat",
"wantsValue": true,
"word": "cat"
},
"query": [
"is"
],
"range": {
"end": 36,
"start": 18
},
"text": "a cat is an animal?",
"topLevel": true,
"touchedBy": [
"hierarchy#call19"
],
"two": {
"concept": true,
"dead": true,
"determiner": {
"default": true,
"level": 0,
"marker": "a",
"range": {
"end": 28,
"start": 27
},
"text": "an",
"word": "an"
},
"instance": true,
"level": 1,
"marker": "unknown",
"modifiers": [
"determiner"
],
"number": "one",
"pullFromContext": false,
"range": {
"end": 35,
"start": 27
},
"text": "an animal",
"types": [
"unknown"
],
"unknown": true,
"value": "animal",
"wantsValue": true,
"word": "animal"
},
"types": [
"is"
],
"word": "is"
}
],
"generatedParenthesized": [
"",
"(I don't know about an animal)"
],
"metadata": {
"opChoices": [
{
"counter": 1,
"op": [
"unknown",
0
],
"ops": [
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"is",
0
],
[
"is",
0
],
[
"questionMark",
0
],
[
"unknown",
0
],
[
"unknown",
0
],
[
"unknown",
0
],
[
"unknown",
0
]
]
},
{
"counter": 2,
"op": [
"unknown",
0
],
"ops": [
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"is",
0
],
[
"is",
0
],
[
"questionMark",
0
],
[
"unknown",
0
],
[
"unknown",
0
],
[
"unknown",
0
]
]
},
{
"counter": 3,
"op": [
"unknown",
0
],
"ops": [
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"is",
0
],
[
"isEd",
0
],
[
"questionMark",
0
],
[
"unknown",
0
],
[
"unknown",
0
]
]
},
{
"counter": 4,
"op": [
"unknown",
0
],
"ops": [
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"is",
0
],
[
"isEd",
0
],
[
"questionMark",
0
],
[
"unknown",
0
]
]
},
{
"counter": 5,
"op": [
"a",
0
],
"ops": [
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"is",
0
],
[
"isEd",
0
],
[
"questionMark",
0
]
]
},
{
"counter": 6,
"op": [
"a",
0
],
"ops": [
[
"a",
0
],
[
"a",
0
],
[
"a",
0
],
[
"is",
0
],
[
"isEd",
0
],
[
"questionMark",
0
]
]
},
{
"counter": 7,
"op": [
"a",
0
],
"ops": [
[
"a",
0
],
[
"a",
0
],
[
"is",
0
],
[
"isEd",
0
],
[
"questionMark",
0
]
]
},
{
"counter": 8,
"op": [
"a",
0
],
"ops": [
[
"a",
0
],
[
"is",
0
],
[
"isEd",
0
],
[
"questionMark",
0
]
]
},
{
"counter": 9,
"op": [
"is",
0
],
"ops": [
[
"is",
0
],
[
"is",
0
],
[
"questionMark",
0
]
]
},
{
"counter": 10,
"op": [
"is",
0
],
"ops": [
[
"is",
0
],
[
"is",
1
],
[
"questionMark",
0
]
]
},
{
"counter": 11,
"op": [
"is",
1
],
"ops": [
[
"is",
1
],
[
"is",
1
],
[
"questionMark",
0
]
]
},
{
"counter": 12,
"op": [
"is",
1
],
"ops": [
[
"is",
1
],
[
"questionMark",
0
]
]
},
{
"counter": 13,
"op": [
"questionMark",
0
],
"ops": [
[
"questionMark",
0
]
]
}
]
},
"objects": {
"nameToUUID": {
"articles": "articles2",
"asking": "asking2",
"concept": "concept2",
"conjunction": "conjunction2",
"dialogues": "dialogues2",
"evaluate": "evaluate2",
"gdefaults": "gdefaults2",
"hierarchy": "hierarchy1",
"meta": "meta2",
"negation": "negation2",
"pos": "pos2",
"properties": "properties2",
"punctuation": "punctuation2",
"sdefaults": "sdefaults2",
"stm": "stm2",
"tokenize": "tokenize2"
},
"namespaced": {
"articles2": {
},
"asking2": {
},
"concept2": {
"defaultTypesForHierarchy": {
},
"valueToWords": [
]
},
"conjunction2": {
},
"dialogues2": {
"idSuffix": "",
"mentioned": [
],
"variables": {
}
},
"evaluate2": {
},
"gdefaults2": {
},
"hierarchy1": {
},
"meta2": {
},
"negation2": {
},
"pos2": {
},
"properties2": {
"children": {
"adjective": [
"stm_before"
],
"article": [
"a",
"the",
"each",
"every"
],
"canBeDoQuestion": [
"have"
],
"canBeQuestion": [
"have",
"is"
],
"feline": [
"cat"
],
"hierarchyAble": [
"unknown"
],
"ifAble": [
"orAble"
],
"object": [
"what",
"whose"
],
"preposition": [
"between",
"propertyOf",
"to"
],
"pronoun": [
"it",
"this"
],
"punctuation": [
"questionMark"
],
"queryable": [
"xfx",
"hierarchyAble",
"readonly",
"property",
"object",
"concept",
"doubleQuote",
"theAble",
"unknown",
"it",
"what",
"whatAble",
"negatable",
"this",
"reason",
"distributable",
"thisitthat"
],
"theAble": [
"property",
"object",
"concept",
"unknown",
"reason",
"memorable",
"noun"
],
"thisitthat": [
"it",
"this",
"that"
],
"toAble": [
"it"
],
"verb": [
"modifies",
"is",
"remember",
"evaluate"
]
},
"concepts": [
"properties",
"unknown",
"hierarchyAble",
"what",
"object",
"xfx",
"queryable",
"between",
"preposition",
"readonly",
"have",
"canBeDoQuestion",
"canBeQuestion",
"property",
"theAble",
"propertyOf",
"whose",
"concept",
"modifies",
"verb",
"doubleQuote",
"it",
"pronoun",
"this",
"questionMark",
"punctuation",
"a",
"article",
"the",
"whatAble",
"negatable",
"is",
"toAble",
"to",
"reason",
"memorable",
"remember",
"stm_before",
"adjective",
"orAble",
"ifAble",
"evaluate",
"each",
"every",
"distributable",
"noun",
"thisitthat",
"that",
"cat",
"feline"
],
"parents": {
"a": [
"article"
],
"between": [
"preposition"
],
"cat": [
"feline"
],
"concept": [
"theAble",
"queryable"
],
"distributable": [
"queryable"
],
"doubleQuote": [
"queryable"
],
"each": [
"article"
],
"evaluate": [
"verb"
],
"every": [
"article"
],
"have": [
"canBeDoQuestion",
"canBeQuestion"
],
"hierarchyAble": [
"queryable"
],
"is": [
"canBeQuestion",
"verb"
],
"it": [
"pronoun",
"queryable",
"toAble",
"thisitthat"
],
"memorable": [
"theAble"
],
"modifies": [
"verb"
],
"negatable": [
"queryable"
],
"noun": [
"theAble"
],
"object": [
"queryable",
"theAble"
],
"orAble": [
"ifAble"
],
"property": [
"queryable",
"theAble"
],
"propertyOf": [
"preposition"
],
"questionMark": [
"punctuation"
],
"readonly": [
"queryable"
],
"reason": [
"theAble",
"queryable"
],
"remember": [
"verb"
],
"stm_before": [
"adjective"
],
"that": [
"thisitthat"
],
"the": [
"article"
],
"theAble": [
"queryable"
],
"this": [
"pronoun",
"queryable",
"thisitthat"
],
"thisitthat": [
"queryable"
],
"to": [
"preposition"
],
"unknown": [
"hierarchyAble",
"theAble",
"queryable"
],
"what": [
"object",
"queryable"
],
"whatAble": [
"queryable"
],
"whose": [
"object"
],
"xfx": [
"queryable"
]
},
"properties": {
"handlers": {
},
"initHandlers": [
],
"root": {
"a": {
},
"adjective": {
},
"article": {
},
"between": {
},
"canBeDoQuestion": {
},
"canBeQuestion": {
},
"cat": {
},
"concept": {
},
"distributable": {
},
"doubleQuote": {
},
"each": {
},
"evaluate": {
},
"every": {
},
"feline": {
},
"have": {
},
"hierarchyAble": {
},
"ifAble": {
},
"is": {
},
"it": {
},
"memorable": {
},
"modifies": {
},
"negatable": {
},
"noun": {
},
"object": {
},
"orAble": {
},
"preposition": {
},
"pronoun": {
},
"property": {
},
"propertyOf": {
},
"punctuation": {
},
"queryable": {
},
"questionMark": {
},
"readonly": {
},
"reason": {
},
"remember": {
},
"stm_before": {
},
"that": {
},
"the": {
},
"theAble": {
},
"this": {
},
"thisitthat": {
},
"to": {
},
"toAble": {
},
"unknown": {
},
"verb": {
},
"what": {
},
"whatAble": {
},
"whose": {
},
"xfx": {
}
}
},
"property": {
},
"relations": [
],
"valueToWords": {
}
},
"punctuation2": {
},
"sdefaults2": {
},
"stm2": {
"mentioned": [
],
"variables": {
}
},
"tokenize2": {
}
},
"processed": [
{
"context": {
"context_index": 3,
"dead": true,
"evalue": {
"verbatim": "I don't know about an animal"
},
"isResponse": true,
"level": 2,
"marker": "is",
"number": "one",
"one": {
"concept": true,
"dead": true,
"determiner": {
"default": true,
"level": 0,
"marker": "a",
"range": {
"end": 18,
"start": 18
},
"text": "a",
"word": "a"
},
"instance": true,
"level": 1,
"marker": "unknown",
"modifiers": [
"determiner"
],
"number": "one",
"pullFromContext": false,
"range": {
"end": 35,
"start": 18
},
"text": "a cat",
"types": [
"unknown"
],
"unknown": true,
"value": "cat",
"wantsValue": true,
"word": "cat"
},
"query": [
"is"
],
"range": {
"end": 36,
"start": 18
},
"text": "a cat is an animal?",
"topLevel": true,
"touchedBy": [
"hierarchy#call19"
],
"two": {
"concept": true,
"dead": true,
"determiner": {
"default": true,
"level": 0,
"marker": "a",
"range": {
"end": 28,
"start": 27
},
"text": "an",
"word": "an"
},
"instance": true,
"level": 1,
"marker": "unknown",
"modifiers": [
"determiner"
],
"number": "one",
"pullFromContext": false,
"range": {
"end": 35,
"start": 27
},
"text": "an animal",
"types": [
"unknown"
],
"unknown": true,
"value": "animal",
"wantsValue": true,
"word": "animal"
},
"types": [
"is"
],
"word": "is"
},
"generatedParenthesized": "(I don't know about an animal)",
"paraphrases": "a cat is an animal?",
"paraphrasesParenthesized": "((((a) (cat)) is ((an) (animal)))?)",
"responses": [
"",
"I don't know about an animal"
]
},
{
"context": {
"context_index": 1,
"dead": true,
"level": 2,
"marker": "is",
"number": "one",
"one": {
"concept": true,
"dead": true,
"determiner": {
"default": true,
"level": 0,
"marker": "a",
"range": {
"end": 0,
"start": 0
},
"text": "a",
"word": "a"
},
"instance": true,
"level": 1,
"marker": "unknown",
"modifiers": [
"determiner"
],
"number": "one",
"pullFromContext": false,
"range": {
"end": 16,
"start": 0
},
"text": "a cat",
"types": [
"unknown"
],
"unknown": true,
"value": "cat",
"wantsValue": true,
"word": "cat"
},
"range": {
"end": 16,
"start": 0
},
"text": "a cat is a feline",
"topLevel": true,
"touchedBy": [
"hierarchy#call2"
],
"two": {
"concept": true,
"dead": true,
"determiner": {
"default": true,
"level": 0,
"marker": "a",
"range": {
"end": 9,
"start": 9
},
"text": "a",
"word": "a"
},
"instance": true,
"level": 1,
"marker": "unknown",
"modifiers": [
"determiner"
],
"number": "one",
"pullFromContext": false,
"range": {
"end": 16,
"start": 9
},
"text": "a feline",
"types": [
"unknown"
],
"unknown": true,
"value": "feline",
"wantsValue": true,
"word": "feline"
},
"word": "is"
},
"generatedParenthesized": "",
"paraphrases": "a cat is a feline",
"paraphrasesParenthesized": "(((a) (cat)) is ((a) (feline)))",
"responses": [
"",
"I don't know about an animal"
]
}
]
},
"paraphrases": [
"a cat is a feline",
"a cat is an animal?"
],
"paraphrasesParenthesized": [
"(((a) (cat)) is ((a) (feline)))",
"((((a) (cat)) is ((an) (animal)))?)"
],
"query": "a cat is a feline a cat is an animal?",
"responses": [
"",
"I don't know about an animal"
],
"summaries": [
{
"length": 2,
"summaries": [
{
"counter": 1,
"operators": [
{
"marker": [
"a",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 4,
"start": 2
}
},
{
"marker": [
"is",
0
],
"range": {
"end": 7,
"start": 6
}
},
{
"marker": [
"a",
0
],
"range": {
"end": 9,
"start": 9
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 16,
"start": 11
}
},
{
"marker": [
"a",
0
],
"range": {
"end": 18,
"start": 18
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 22,
"start": 20
}
},
{
"marker": [
"is",
0
],
"range": {
"end": 25,
"start": 24
}
},
{
"marker": [
"a",
0
],
"range": {
"end": 28,
"start": 27
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 35,
"start": 30
}
},
{
"marker": [
"questionMark",
0
],
"range": {
"end": 36,
"start": 36
}
}
]
},
{
"counter": 2,
"operators": [
{
"marker": [
"a",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
1
],
"range": {
"end": 4,
"start": 2
}
},
{
"marker": [
"is",
0
],
"range": {
"end": 7,
"start": 6
}
},
{
"marker": [
"a",
0
],
"range": {
"end": 9,
"start": 9
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 16,
"start": 11
}
},
{
"marker": [
"a",
0
],
"range": {
"end": 18,
"start": 18
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 22,
"start": 20
}
},
{
"marker": [
"is",
0
],
"range": {
"end": 25,
"start": 24
}
},
{
"marker": [
"a",
0
],
"range": {
"end": 28,
"start": 27
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 35,
"start": 30
}
},
{
"marker": [
"questionMark",
0
],
"range": {
"end": 36,
"start": 36
}
}
]
},
{
"counter": 3,
"operators": [
{
"marker": [
"a",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
1
],
"range": {
"end": 4,
"start": 2
}
},
{
"marker": [
"isEd",
0
],
"range": {
"end": 7,
"start": 6
}
},
{
"marker": [
"a",
0
],
"range": {
"end": 9,
"start": 9
}
},
{
"marker": [
"unknown",
1
],
"range": {
"end": 16,