tpmkms
Version:
Reusable libraries for Entodicton, a natural language to json converter
754 lines • 14.7 kB
JSON
[
{
"associations": [
[
[
"leftParenthesis",
0
],
[
"rightParenthesis",
0
],
[
"unknown",
0
]
],
[
[
"leftParenthesis",
0
],
[
"rightParenthesis",
0
],
[
"unknown",
1
]
],
[
[
"leftParenthesis",
0
],
[
"unknown",
1
]
]
],
"config": {
},
"contexts": [
{
"context_index": 1,
"dead": true,
"level": 1,
"marker": "unknown",
"parenthesis": "(",
"range": {
"end": 2,
"start": 0
},
"text": "(a)",
"topLevel": true,
"unknown": true,
"value": "a",
"word": "a"
}
],
"generatedParenthesized": [
""
],
"metadata": {
"opChoices": [
{
"counter": 1,
"op": [
"unknown",
0
],
"ops": [
[
"unknown",
0
]
]
},
{
"counter": 2,
"op": [
"rightParenthesis",
0
],
"ops": [
[
"leftParenthesis",
0
],
[
"rightParenthesis",
0
]
]
},
{
"counter": 3,
"op": [
"leftParenthesis",
0
],
"ops": [
[
"leftParenthesis",
0
]
]
}
]
},
"objects": {
"nameToUUID": {
"gdefaults": "gdefaults2",
"punctuation": "punctuation1",
"tokenize": "tokenize2"
},
"namespaced": {
"gdefaults2": {
},
"punctuation1": {
},
"tokenize2": {
}
},
"processed": [
{
"context": {
"context_index": 1,
"dead": true,
"level": 1,
"marker": "unknown",
"parenthesis": "(",
"range": {
"end": 2,
"start": 0
},
"text": "(a)",
"topLevel": true,
"unknown": true,
"value": "a",
"word": "a"
},
"generatedParenthesized": "",
"paraphrases": "(a)",
"paraphrasesParenthesized": "(((a)))",
"responses": [
""
]
}
]
},
"paraphrases": [
"(a)"
],
"paraphrasesParenthesized": [
"(((a)))"
],
"query": "(a)",
"responses": [
""
],
"summaries": [
{
"length": 1,
"summaries": [
{
"counter": 1,
"operators": [
{
"marker": [
"leftParenthesis",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 1,
"start": 1
}
},
{
"marker": [
"rightParenthesis",
0
],
"range": {
"end": 2,
"start": 2
}
}
]
},
{
"counter": 2,
"operators": [
{
"marker": [
"leftParenthesis",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
1
],
"range": {
"end": 1,
"start": 1
}
},
{
"marker": [
"rightParenthesis",
0
],
"range": {
"end": 2,
"start": 2
}
}
]
},
{
"counter": 3,
"operators": [
{
"marker": [
"leftParenthesis",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
1
],
"range": {
"end": 1,
"start": 1
}
},
{
"marker": [
"rightParenthesis",
1
],
"range": {
"end": 2,
"start": 2
}
}
]
},
{
"counter": 4,
"operators": [
{
"marker": [
"unknown",
1
],
"range": {
"end": 2,
"start": 0
}
}
]
}
]
}
]
},
{
"associations": [
],
"config": {
},
"contexts": [
{
"context_index": 1,
"dead": true,
"level": 1,
"marker": "colon",
"range": {
"end": 0,
"start": 0
},
"text": ":",
"topLevel": true,
"value": "colon",
"word": ":"
}
],
"generatedParenthesized": [
""
],
"metadata": {
"opChoices": [
{
"counter": 1,
"op": [
"colon",
0
],
"ops": [
[
"colon",
0
]
]
}
]
},
"objects": {
"nameToUUID": {
"gdefaults": "gdefaults2",
"punctuation": "punctuation1",
"tokenize": "tokenize2"
},
"namespaced": {
"gdefaults2": {
},
"punctuation1": {
},
"tokenize2": {
}
},
"processed": [
{
"context": {
"context_index": 1,
"dead": true,
"level": 1,
"marker": "colon",
"range": {
"end": 0,
"start": 0
},
"text": ":",
"topLevel": true,
"value": "colon",
"word": ":"
},
"generatedParenthesized": "",
"paraphrases": ":",
"paraphrasesParenthesized": "(:)",
"responses": [
""
]
}
]
},
"paraphrases": [
":"
],
"paraphrasesParenthesized": [
"(:)"
],
"query": ":",
"responses": [
""
],
"summaries": [
{
"length": 1,
"summaries": [
{
"counter": 1,
"operators": [
{
"marker": [
"colon",
0
],
"range": {
"end": 0,
"start": 0
}
}
]
},
{
"counter": 2,
"operators": [
{
"marker": [
"colon",
1
],
"range": {
"end": 0,
"start": 0
}
}
]
}
]
}
]
},
{
"associations": [
[
[
"doubleQuote",
0
],
[
"unknown",
0
]
],
[
[
"doubleQuote",
0
],
[
"unknown",
0
],
[
"unknown",
1
]
],
[
[
"doubleQuote",
0
],
[
"unknown",
1
]
]
],
"config": {
},
"contexts": [
{
"context_index": 1,
"dead": true,
"depth": "+",
"level": 1,
"marker": "doubleQuote",
"quote": "double",
"range": {
"end": 7,
"start": 0
},
"text": "\"hi man\"",
"topLevel": true,
"word": "\""
}
],
"generatedParenthesized": [
""
],
"metadata": {
"opChoices": [
{
"counter": 1,
"op": [
"unknown",
0
],
"ops": [
[
"doubleQuote",
0
],
[
"doubleQuote",
0
],
[
"unknown",
0
],
[
"unknown",
0
]
]
},
{
"counter": 2,
"op": [
"unknown",
0
],
"ops": [
[
"doubleQuote",
0
],
[
"doubleQuote",
0
],
[
"unknown",
0
]
]
},
{
"counter": 3,
"op": [
"doubleQuote",
0
],
"ops": [
[
"doubleQuote",
0
],
[
"doubleQuote",
0
]
]
}
]
},
"objects": {
"nameToUUID": {
"gdefaults": "gdefaults2",
"punctuation": "punctuation1",
"tokenize": "tokenize2"
},
"namespaced": {
"gdefaults2": {
},
"punctuation1": {
},
"tokenize2": {
}
},
"processed": [
{
"context": {
"context_index": 1,
"dead": true,
"depth": "+",
"level": 1,
"marker": "doubleQuote",
"quote": "double",
"range": {
"end": 7,
"start": 0
},
"text": "\"hi man\"",
"topLevel": true,
"word": "\""
},
"generatedParenthesized": "",
"paraphrases": "\"hi man\"",
"paraphrasesParenthesized": "(\"hi man\")",
"responses": [
""
]
}
]
},
"paraphrases": [
"\"hi man\""
],
"paraphrasesParenthesized": [
"(\"hi man\")"
],
"query": "\"hi man\"",
"responses": [
""
],
"summaries": [
{
"length": 1,
"summaries": [
{
"counter": 1,
"operators": [
{
"marker": [
"doubleQuote",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 2,
"start": 1
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 6,
"start": 4
}
},
{
"marker": [
"doubleQuote",
0
],
"range": {
"end": 7,
"start": 7
}
}
]
},
{
"counter": 2,
"operators": [
{
"marker": [
"doubleQuote",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
1
],
"range": {
"end": 2,
"start": 1
}
},
{
"marker": [
"unknown",
0
],
"range": {
"end": 6,
"start": 4
}
},
{
"marker": [
"doubleQuote",
0
],
"range": {
"end": 7,
"start": 7
}
}
]
},
{
"counter": 3,
"operators": [
{
"marker": [
"doubleQuote",
0
],
"range": {
"end": 0,
"start": 0
}
},
{
"marker": [
"unknown",
1
],
"range": {
"end": 2,
"start": 1
}
},
{
"marker": [
"unknown",
1
],
"range": {
"end": 6,
"start": 4
}
},
{
"marker": [
"doubleQuote",
0
],
"range": {
"end": 7,
"start": 7
}
}
]
},
{
"counter": 4,
"operators": [
{
"marker": [
"doubleQuote",
1
],
"range": {
"end": 7,
"start": 0
}
}
]
}
]
}
]
}
]