type2docfx
Version:
A tool to convert json format output from TypeDoc to universal reference model for DocFx to consume.
908 lines (907 loc) • 22.1 kB
JSON
{
"text": "12 years old and 3 days old and monday july 3rd and every monday and between 3am and 5:30am and 4 acres and 4 pico meters and chrimc@hotmail.com and $4 and $4.25 and 32 and 210.4 and first and 10% and 10.5% and 425-555-1234 and 3 degrees and -27.5 degrees c",
"intents": {
"EntityTests": {
"score": 0.9924269
},
"None": {
"score": 0.06038856
},
"Weather_GetForecast": {
"score": 0.0566830374
},
"Travel": {
"score": 0.0127096456
},
"Delivery": {
"score": 0.004526181
},
"SpecifyName": {
"score": 0.00224204571
},
"Help": {
"score": 0.000150823209
},
"Cancel": {
"score": 0.00006610989
},
"Greeting": {
"score": 0.00000169148677
}
},
"entities": {
"$instance": {
"Composite1": [
{
"startIndex": 0,
"endIndex": 257,
"text": "12 years old and 3 days old and monday july 3rd and every monday and between 3am and 5 : 30am and 4 acres and 4 pico meters and chrimc @ hotmail . com and $ 4 and $ 4 . 25 and 32 and 210 . 4 and first and 10 % and 10 . 5 % and 425 - 555 - 1234 and 3 degrees and - 27 . 5 degrees c",
"score": 0.7437676
}
]
},
"Composite1": [
{
"$instance": {
"builtin_age": [
{
"startIndex": 0,
"endIndex": 12,
"text": "12 years old"
},
{
"startIndex": 17,
"endIndex": 27,
"text": "3 days old"
}
],
"builtin_datetime": [
{
"startIndex": 0,
"endIndex": 8,
"text": "12 years"
},
{
"startIndex": 17,
"endIndex": 23,
"text": "3 days"
},
{
"startIndex": 32,
"endIndex": 47,
"text": "monday july 3rd"
},
{
"startIndex": 52,
"endIndex": 64,
"text": "every monday"
},
{
"startIndex": 69,
"endIndex": 91,
"text": "between 3am and 5:30am"
}
],
"builtin_dimension": [
{
"startIndex": 96,
"endIndex": 103,
"text": "4 acres"
},
{
"startIndex": 108,
"endIndex": 121,
"text": "4 pico meters"
}
],
"builtin_email": [
{
"startIndex": 126,
"endIndex": 144,
"text": "chrimc@hotmail.com"
}
],
"builtin_money": [
{
"startIndex": 149,
"endIndex": 151,
"text": "$4"
},
{
"startIndex": 156,
"endIndex": 168,
"text": "$4.25 and 32"
}
],
"builtin_number": [
{
"startIndex": 0,
"endIndex": 2,
"text": "12"
},
{
"startIndex": 17,
"endIndex": 18,
"text": "3"
},
{
"startIndex": 85,
"endIndex": 86,
"text": "5"
},
{
"startIndex": 96,
"endIndex": 97,
"text": "4"
},
{
"startIndex": 108,
"endIndex": 109,
"text": "4"
},
{
"startIndex": 150,
"endIndex": 151,
"text": "4"
},
{
"startIndex": 157,
"endIndex": 161,
"text": "4.25"
},
{
"startIndex": 166,
"endIndex": 168,
"text": "32"
},
{
"startIndex": 173,
"endIndex": 178,
"text": "210.4"
},
{
"startIndex": 193,
"endIndex": 195,
"text": "10"
},
{
"startIndex": 201,
"endIndex": 205,
"text": "10.5"
},
{
"startIndex": 211,
"endIndex": 214,
"text": "425"
},
{
"startIndex": 215,
"endIndex": 218,
"text": "555"
},
{
"startIndex": 219,
"endIndex": 223,
"text": "1234"
},
{
"startIndex": 228,
"endIndex": 229,
"text": "3"
},
{
"startIndex": 242,
"endIndex": 247,
"text": "-27.5"
}
],
"builtin_ordinal": [
{
"startIndex": 44,
"endIndex": 47,
"text": "3rd"
},
{
"startIndex": 183,
"endIndex": 188,
"text": "first"
}
],
"builtin_percentage": [
{
"startIndex": 193,
"endIndex": 196,
"text": "10%"
},
{
"startIndex": 201,
"endIndex": 206,
"text": "10.5%"
}
],
"builtin_phonenumber": [
{
"startIndex": 211,
"endIndex": 223,
"text": "425-555-1234"
}
],
"builtin_temperature": [
{
"startIndex": 228,
"endIndex": 237,
"text": "3 degrees"
},
{
"startIndex": 242,
"endIndex": 257,
"text": "-27.5 degrees c"
}
]
},
"builtin_age": [
{
"number": 12,
"units": "Year"
},
{
"number": 3,
"units": "Day"
}
],
"builtin_datetime": [
{
"type": "duration",
"timex": [
"P12Y"
]
},
{
"type": "duration",
"timex": [
"P3D"
]
},
{
"type": "date",
"timex": [
"XXXX-07-03"
]
},
{
"type": "set",
"timex": [
"XXXX-WXX-1"
]
},
{
"type": "timerange",
"timex": [
"(T03,T05:30,PT2H30M)"
]
}
],
"builtin_dimension": [
{
"number": 4,
"units": "Acre"
},
{
"number": 4,
"units": "Picometer"
}
],
"builtin_email": [
"chrimc@hotmail.com"
],
"builtin_money": [
{
"number": 4,
"units": "Dollar"
},
{
"number": 4.57,
"units": "Dollar"
}
],
"builtin_number": [
12,
3,
5,
4,
4,
4,
4.25,
32,
210.4,
10,
10.5,
425,
555,
1234,
3,
-27.5
],
"builtin_ordinal": [
3,
1
],
"builtin_percentage": [
10,
10.5
],
"builtin_phonenumber": [
"425-555-1234"
],
"builtin_temperature": [
{
"number": 3,
"units": "Degree"
},
{
"number": -27.5,
"units": "C"
}
]
}
]
},
"luisResult": {
"query": "12 years old and 3 days old and monday july 3rd and every monday and between 3am and 5:30am and 4 acres and 4 pico meters and chrimc@hotmail.com and $4 and $4.25 and 32 and 210.4 and first and 10% and 10.5% and 425-555-1234 and 3 degrees and -27.5 degrees c",
"topScoringIntent": {
"intent": "EntityTests",
"score": 0.9924269
},
"intents": [
{
"intent": "EntityTests",
"score": 0.9924269
},
{
"intent": "None",
"score": 0.06038856
},
{
"intent": "Weather.GetForecast",
"score": 0.0566830374
},
{
"intent": "Travel",
"score": 0.0127096456
},
{
"intent": "Delivery",
"score": 0.004526181
},
{
"intent": "SpecifyName",
"score": 0.00224204571
},
{
"intent": "Help",
"score": 0.000150823209
},
{
"intent": "Cancel",
"score": 0.00006610989
},
{
"intent": "Greeting",
"score": 0.00000169148677
}
],
"entities": [
{
"entity": "12 years old",
"type": "builtin.age",
"startIndex": 0,
"endIndex": 11,
"resolution": {
"unit": "Year",
"value": "12"
}
},
{
"entity": "3 days old",
"type": "builtin.age",
"startIndex": 17,
"endIndex": 26,
"resolution": {
"unit": "Day",
"value": "3"
}
},
{
"entity": "12 years old and 3 days old and monday july 3rd and every monday and between 3am and 5 : 30am and 4 acres and 4 pico meters and chrimc @ hotmail . com and $ 4 and $ 4 . 25 and 32 and 210 . 4 and first and 10 % and 10 . 5 % and 425 - 555 - 1234 and 3 degrees and - 27 . 5 degrees c",
"type": "Composite1",
"startIndex": 0,
"endIndex": 256,
"score": 0.7437676
},
{
"entity": "12 years",
"type": "builtin.datetimeV2.duration",
"startIndex": 0,
"endIndex": 7,
"resolution": {
"values": [
{
"timex": "P12Y",
"type": "duration",
"value": "378432000"
}
]
}
},
{
"entity": "3 days",
"type": "builtin.datetimeV2.duration",
"startIndex": 17,
"endIndex": 22,
"resolution": {
"values": [
{
"timex": "P3D",
"type": "duration",
"value": "259200"
}
]
}
},
{
"entity": "monday july 3rd",
"type": "builtin.datetimeV2.date",
"startIndex": 32,
"endIndex": 46,
"resolution": {
"values": [
{
"timex": "XXXX-07-03",
"type": "date",
"value": "2017-07-03"
},
{
"timex": "XXXX-07-03",
"type": "date",
"value": "2018-07-03"
}
]
}
},
{
"entity": "every monday",
"type": "builtin.datetimeV2.set",
"startIndex": 52,
"endIndex": 63,
"resolution": {
"values": [
{
"timex": "XXXX-WXX-1",
"type": "set",
"value": "not resolved"
}
]
}
},
{
"entity": "between 3am and 5:30am",
"type": "builtin.datetimeV2.timerange",
"startIndex": 69,
"endIndex": 90,
"resolution": {
"values": [
{
"timex": "(T03,T05:30,PT2H30M)",
"type": "timerange",
"start": "03:00:00",
"end": "05:30:00"
}
]
}
},
{
"entity": "4 acres",
"type": "builtin.dimension",
"startIndex": 96,
"endIndex": 102,
"resolution": {
"unit": "Acre",
"value": "4"
}
},
{
"entity": "4 pico meters",
"type": "builtin.dimension",
"startIndex": 108,
"endIndex": 120,
"resolution": {
"unit": "Picometer",
"value": "4"
}
},
{
"entity": "chrimc@hotmail.com",
"type": "builtin.email",
"startIndex": 126,
"endIndex": 143
},
{
"entity": "$4",
"type": "builtin.currency",
"startIndex": 149,
"endIndex": 150,
"resolution": {
"unit": "Dollar",
"value": "4"
}
},
{
"entity": "$4.25 and 32",
"type": "builtin.currency",
"startIndex": 156,
"endIndex": 167,
"resolution": {
"unit": "Dollar",
"value": "4.57"
}
},
{
"entity": "12",
"type": "builtin.number",
"startIndex": 0,
"endIndex": 1,
"resolution": {
"value": "12"
}
},
{
"entity": "3",
"type": "builtin.number",
"startIndex": 17,
"endIndex": 17,
"resolution": {
"value": "3"
}
},
{
"entity": "5",
"type": "builtin.number",
"startIndex": 85,
"endIndex": 85,
"resolution": {
"value": "5"
}
},
{
"entity": "4",
"type": "builtin.number",
"startIndex": 96,
"endIndex": 96,
"resolution": {
"value": "4"
}
},
{
"entity": "4",
"type": "builtin.number",
"startIndex": 108,
"endIndex": 108,
"resolution": {
"value": "4"
}
},
{
"entity": "4",
"type": "builtin.number",
"startIndex": 150,
"endIndex": 150,
"resolution": {
"value": "4"
}
},
{
"entity": "4.25",
"type": "builtin.number",
"startIndex": 157,
"endIndex": 160,
"resolution": {
"value": "4.25"
}
},
{
"entity": "32",
"type": "builtin.number",
"startIndex": 166,
"endIndex": 167,
"resolution": {
"value": "32"
}
},
{
"entity": "210.4",
"type": "builtin.number",
"startIndex": 173,
"endIndex": 177,
"resolution": {
"value": "210.4"
}
},
{
"entity": "10",
"type": "builtin.number",
"startIndex": 193,
"endIndex": 194,
"resolution": {
"value": "10"
}
},
{
"entity": "10.5",
"type": "builtin.number",
"startIndex": 201,
"endIndex": 204,
"resolution": {
"value": "10.5"
}
},
{
"entity": "425",
"type": "builtin.number",
"startIndex": 211,
"endIndex": 213,
"resolution": {
"value": "425"
}
},
{
"entity": "555",
"type": "builtin.number",
"startIndex": 215,
"endIndex": 217,
"resolution": {
"value": "555"
}
},
{
"entity": "1234",
"type": "builtin.number",
"startIndex": 219,
"endIndex": 222,
"resolution": {
"value": "1234"
}
},
{
"entity": "3",
"type": "builtin.number",
"startIndex": 228,
"endIndex": 228,
"resolution": {
"value": "3"
}
},
{
"entity": "-27.5",
"type": "builtin.number",
"startIndex": 242,
"endIndex": 246,
"resolution": {
"value": "-27.5"
}
},
{
"entity": "3rd",
"type": "builtin.ordinal",
"startIndex": 44,
"endIndex": 46,
"resolution": {
"value": "3"
}
},
{
"entity": "first",
"type": "builtin.ordinal",
"startIndex": 183,
"endIndex": 187,
"resolution": {
"value": "1"
}
},
{
"entity": "10%",
"type": "builtin.percentage",
"startIndex": 193,
"endIndex": 195,
"resolution": {
"value": "10%"
}
},
{
"entity": "10.5%",
"type": "builtin.percentage",
"startIndex": 201,
"endIndex": 205,
"resolution": {
"value": "10.5%"
}
},
{
"entity": "425-555-1234",
"type": "builtin.phonenumber",
"startIndex": 211,
"endIndex": 222,
"resolution": {
"value": "425-555-1234"
}
},
{
"entity": "3 degrees",
"type": "builtin.temperature",
"startIndex": 228,
"endIndex": 236,
"resolution": {
"unit": "Degree",
"value": "3"
}
},
{
"entity": "-27.5 degrees c",
"type": "builtin.temperature",
"startIndex": 242,
"endIndex": 256,
"resolution": {
"unit": "C",
"value": "-27.5"
}
}
],
"compositeEntities": [
{
"parentType": "Composite1",
"value": "12 years old and 3 days old and monday july 3rd and every monday and between 3am and 5 : 30am and 4 acres and 4 pico meters and chrimc @ hotmail . com and $ 4 and $ 4 . 25 and 32 and 210 . 4 and first and 10 % and 10 . 5 % and 425 - 555 - 1234 and 3 degrees and - 27 . 5 degrees c",
"children": [
{
"type": "builtin.age",
"value": "12 years old"
},
{
"type": "builtin.age",
"value": "3 days old"
},
{
"type": "builtin.datetimeV2.duration",
"value": "12 years"
},
{
"type": "builtin.datetimeV2.duration",
"value": "3 days"
},
{
"type": "builtin.datetimeV2.date",
"value": "monday july 3rd"
},
{
"type": "builtin.datetimeV2.set",
"value": "every monday"
},
{
"type": "builtin.datetimeV2.timerange",
"value": "between 3am and 5:30am"
},
{
"type": "builtin.dimension",
"value": "4 acres"
},
{
"type": "builtin.dimension",
"value": "4 pico meters"
},
{
"type": "builtin.email",
"value": "chrimc@hotmail.com"
},
{
"type": "builtin.currency",
"value": "$4"
},
{
"type": "builtin.currency",
"value": "$4.25 and 32"
},
{
"type": "builtin.number",
"value": "12"
},
{
"type": "builtin.number",
"value": "3"
},
{
"type": "builtin.number",
"value": "5"
},
{
"type": "builtin.number",
"value": "4"
},
{
"type": "builtin.number",
"value": "4"
},
{
"type": "builtin.number",
"value": "4"
},
{
"type": "builtin.number",
"value": "4.25"
},
{
"type": "builtin.number",
"value": "32"
},
{
"type": "builtin.number",
"value": "210.4"
},
{
"type": "builtin.number",
"value": "10"
},
{
"type": "builtin.number",
"value": "10.5"
},
{
"type": "builtin.number",
"value": "425"
},
{
"type": "builtin.number",
"value": "555"
},
{
"type": "builtin.number",
"value": "1234"
},
{
"type": "builtin.number",
"value": "3"
},
{
"type": "builtin.number",
"value": "-27.5"
},
{
"type": "builtin.ordinal",
"value": "3rd"
},
{
"type": "builtin.ordinal",
"value": "first"
},
{
"type": "builtin.percentage",
"value": "10%"
},
{
"type": "builtin.percentage",
"value": "10.5%"
},
{
"type": "builtin.phonenumber",
"value": "425-555-1234"
},
{
"type": "builtin.temperature",
"value": "3 degrees"
},
{
"type": "builtin.temperature",
"value": "-27.5 degrees c"
}
]
}
]
}
}