...
Code Block |
---|
language | js |
---|
theme | FadeToGrey |
---|
|
{"entities":[{
"text":"300 ml",
"value":[
{
"value":"300",
"entity":"#"
},
{
"value":"mililiters",
"entity":"unit"
}
],
"entity":"measurement",
"startPos":0,
"endPos":6
}]} |
or the following (if onlyEntities = false):
Code Block |
---|
language | js |
---|
theme | FadeToGrey |
---|
|
{"tokens":[
{
"text":"300 ml",
"value":[
{
"value":"300",
"entity":"#"
},
{
"value":"mililiters",
"entity":"unit"
}
],
"entity":"measurement",
"startPos":0,
"endPos":6
},
{
"text":"of",
"startPos":7,
"endPos":9
},
{
"text":"water",
"startPos":10,
"endPos":15
}
]} |