Output Schema
{
"example": {
"count": 15,
"counts": {
"date": 2,
"location": 2,
"money": 1,
"organization": 5,
"percent": 1,
"person": 3
},
"entities": [
{
"end": 10,
"start": 0,
"text": "Apple Inc.",
"type": "organization"
},
{
"end": 23,
"start": 15,
"text": "Tim Cook",
"title": "CEO",
"type": "person"
},
{
"end": 48,
"start": 28,
"text": "Ursula von der Leyen",
"type": "person"
},
{
"end": 60,
"kind": "city",
"start": 52,
"text": "Brussels",
"type": "location"
},
{
"end": 79,
"start": 64,
"text": "3 December 2026",
"type": "date"
},
{
"end": 85,
"ref": true,
"start": 81,
"text": "Cook",
"type": "person"
},
{
"end": 114,
"start": 95,
"text": "European Commission",
"type": "organization"
},
{
"end": 135,
"start": 123,
"text": "€1.8 billion",
"type": "money"
},
{
"end": 153,
"start": 148,
"text": "Apple",
"type": "organization"
},
{
"end": 170,
"start": 166,
"text": "2.4%",
"type": "percent"
},
{
"end": 186,
"start": 176,
"text": "Sarah Chen",
"title": "Dr",
"type": "person"
},
{
"end": 209,
"start": 190,
"text": "Stanford University",
"type": "organization"
},
{
"end": 236,
"start": 217,
"text": "Goldman Sachs Group",
"type": "organization"
},
{
"end": 248,
"kind": "city",
"start": 240,
"text": "New York",
"type": "location"
},
{
"end": 258,
"start": 249,
"text": "last week",
"type": "date"
}
],
"method": "Rule-based: money/percent/date patterns, honorifics + first-name list for people, legal-suffix and known-name rules for organisations, country/capital/city gazetteer for places. No ML model; fast and deterministic.",
"unique": {
"date": [
"3 December 2026",
"last week"
],
"location": [
"Brussels",
"New York"
],
"money": [
"€1.8 billion"
],
"organization": [
"Apple Inc.",
"European Commission",
"Apple",
"Stanford University",
"Goldman Sachs Group"
],
"percent": [
"2.4%"
],
"person": [
"Tim Cook",
"Ursula von der Leyen",
"Sarah Chen"
]
}
},
"type": "json"
}