--- a
+++ b/tests/data/regression_cases/names.json
@@ -0,0 +1,1134 @@
+{
+    "examples": [
+        {
+            "id": 0,
+            "text": "dr A",
+            "annotations": [
+                {
+                    "text": "dr A",
+                    "start_char": 0,
+                    "end_char": 4,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 1,
+            "text": "dr ABC",
+            "annotations": [
+                {
+                    "text": "dr ABC",
+                    "start_char": 0,
+                    "end_char": 6,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 2,
+            "text": "dr abc",
+            "annotations": []
+        },
+        {
+            "id": 3,
+            "text": "dr a",
+            "annotations": []
+        },
+        {
+            "id": 4,
+            "text": "dr. A",
+            "annotations": [
+                {
+                    "text": "dr. A",
+                    "start_char": 0,
+                    "end_char": 5,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 5,
+            "text": "dr. ABC",
+            "annotations": [
+                {
+                    "text": "dr. ABC",
+                    "start_char": 0,
+                    "end_char": 7,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 6,
+            "text": "dr. abc",
+            "annotations": []
+        },
+        {
+            "id": 7,
+            "text": "dr. a",
+            "annotations": []
+        },
+        {
+            "id": 8,
+            "text": "Dr. A",
+            "annotations": [
+                {
+                    "text": "Dr. A",
+                    "start_char": 0,
+                    "end_char": 5,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 9,
+            "text": "Dr. ABC",
+            "annotations": [
+                {
+                    "text": "Dr. ABC",
+                    "start_char": 0,
+                    "end_char": 7,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 10,
+            "text": "Dr. abc",
+            "annotations": []
+        },
+        {
+            "id": 11,
+            "text": "Dr. aDR. A",
+            "annotations": []
+        },
+        {
+            "id": 12,
+            "text": "DR. ABC",
+            "annotations": []
+        },
+        {
+            "id": 13,
+            "text": "DR. abc",
+            "annotations": []
+        },
+        {
+            "id": 14,
+            "text": "DR. a",
+            "annotations": []
+        },
+        {
+            "id": 15,
+            "text": "dr Vi",
+            "annotations": []
+        },
+        {
+            "id": 16,
+            "text": "dr Visser",
+            "annotations": [
+                {
+                    "text": "dr Visser",
+                    "start_char": 0,
+                    "end_char": 9,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 17,
+            "text": "dr. Vi",
+            "annotations": []
+        },
+        {
+            "id": 18,
+            "text": "dr. Visser",
+            "annotations": [
+                {
+                    "text": "dr. Visser",
+                    "start_char": 0,
+                    "end_char": 10,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 19,
+            "text": "Dr. Vi",
+            "annotations": []
+        },
+        {
+            "id": 20,
+            "text": "Dr. Visser",
+            "annotations": [
+                {
+                    "text": "Dr. Visser",
+                    "start_char": 0,
+                    "end_char": 10,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 21,
+            "text": "DR. Vi",
+            "annotations": []
+        },
+        {
+            "id": 22,
+            "text": "DR. Visser",
+            "annotations": [
+                {
+                    "text": "Visser",
+                    "start_char": 4,
+                    "end_char": 10,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 23,
+            "text": "dr. Olanzapine",
+            "annotations": []
+        },
+        {
+            "id": 24,
+            "text": "van der Sluis",
+            "annotations": [
+                {
+                    "text": "van der Sluis",
+                    "start_char": 0,
+                    "end_char": 13,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 25,
+            "text": "van der Damhuis",
+            "annotations": [
+                {
+                    "text": "Damhuis",
+                    "start_char": 8,
+                    "end_char": 15,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 26,
+            "text": "Van Der Sluis",
+            "annotations": [
+                {
+                    "text": "Van Der Sluis",
+                    "start_char": 0,
+                    "end_char": 13,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 27,
+            "text": "v/d Sluis",
+            "annotations": [
+                {
+                    "text": "v/d Sluis",
+                    "start_char": 0,
+                    "end_char": 9,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 28,
+            "text": "d'Sluis",
+            "annotations": [
+                {
+                    "text": "d'Sluis",
+                    "start_char": 0,
+                    "end_char": 7,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 29,
+            "text": "A. Visser",
+            "annotations": [
+                {
+                    "text": "A. Visser",
+                    "start_char": 0,
+                    "end_char": 9,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 30,
+            "text": "ABC. Visser",
+            "annotations": [
+                {
+                    "text": "Visser",
+                    "start_char": 5,
+                    "end_char": 11,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 31,
+            "text": "A Visser",
+            "annotations": [
+                {
+                    "text": "A Visser",
+                    "start_char": 0,
+                    "end_char": 8,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 32,
+            "text": "A Olanzapine",
+            "annotations": []
+        },
+        {
+            "id": 33,
+            "text": "E. Coli",
+            "annotations": []
+        },
+        {
+            "id": 34,
+            "text": "A. Dr.A van der Sluis",
+            "annotations": [
+                {
+                    "text": "Dr.A van der Sluis",
+                    "start_char": 3,
+                    "end_char": 21,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 35,
+            "text": "A. van der Sluis",
+            "annotations": [
+                {
+                    "text": "A. van der Sluis",
+                    "start_char": 0,
+                    "end_char": 16,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 36,
+            "text": "A. van der Li",
+            "annotations": []
+        },
+        {
+            "id": 37,
+            "text": "A van der Li",
+            "annotations": []
+        },
+        {
+            "id": 38,
+            "text": "A van der Damhuis",
+            "annotations": [
+                {
+                    "text": "A van der Damhuis",
+                    "start_char": 0,
+                    "end_char": 17,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 39,
+            "text": "A. van der Damhuis",
+            "annotations": [
+                {
+                    "text": "A. van der Damhuis",
+                    "start_char": 0,
+                    "end_char": 18,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 40,
+            "text": "Kees",
+            "annotations": [
+                {
+                    "text": "Kees",
+                    "start_char": 0,
+                    "end_char": 4,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 41,
+            "text": "Marie",
+            "annotations": [
+                {
+                    "text": "Marie",
+                    "start_char": 0,
+                    "end_char": 5,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 42,
+            "text": "Daan",
+            "annotations": [
+                {
+                    "text": "Daan",
+                    "start_char": 0,
+                    "end_char": 4,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 43,
+            "text": "Ahmed",
+            "annotations": [
+                {
+                    "text": "Ahmed",
+                    "start_char": 0,
+                    "end_char": 5,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 44,
+            "text": "kees",
+            "annotations": []
+        },
+        {
+            "id": 45,
+            "text": "marie",
+            "annotations": []
+        },
+        {
+            "id": 46,
+            "text": "daan",
+            "annotations": []
+        },
+        {
+            "id": 47,
+            "text": "ahmed",
+            "annotations": []
+        },
+        {
+            "id": 48,
+            "text": "Olanzapine",
+            "annotations": []
+        },
+        {
+            "id": 49,
+            "text": "April",
+            "annotations": []
+        },
+        {
+            "id": 50,
+            "text": "Elke",
+            "annotations": []
+        },
+        {
+            "id": 51,
+            "text": "Juli",
+            "annotations": []
+        },
+        {
+            "id": 52,
+            "text": "Nadien",
+            "annotations": []
+        },
+        {
+            "id": 53,
+            "text": "Per",
+            "annotations": []
+        },
+        {
+            "id": 54,
+            "text": "Semi",
+            "annotations": []
+        },
+        {
+            "id": 55,
+            "text": "Zoutenbier",
+            "annotations": [
+                {
+                    "text": "Zoutenbier",
+                    "start_char": 0,
+                    "end_char": 10,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 56,
+            "text": "Zuidgeest",
+            "annotations": [
+                {
+                    "text": "Zuidgeest",
+                    "start_char": 0,
+                    "end_char": 9,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 57,
+            "text": "Wiegmans",
+            "annotations": [
+                {
+                    "text": "Wiegmans",
+                    "start_char": 0,
+                    "end_char": 8,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 58,
+            "text": "zoutenbier",
+            "annotations": []
+        },
+        {
+            "id": 59,
+            "text": "zuidgeest",
+            "annotations": []
+        },
+        {
+            "id": 60,
+            "text": "wiegmans",
+            "annotations": []
+        },
+        {
+            "id": 61,
+            "text": "Rust",
+            "annotations": []
+        },
+        {
+            "id": 62,
+            "text": "Onrust",
+            "annotations": []
+        },
+        {
+            "id": 63,
+            "text": "Voogd",
+            "annotations": []
+        },
+        {
+            "id": 64,
+            "text": "Vrij",
+            "annotations": []
+        },
+        {
+            "id": 65,
+            "text": "Kracht",
+            "annotations": []
+        },
+        {
+            "id": 66,
+            "text": "Hart",
+            "annotations": []
+        },
+        {
+            "id": 67,
+            "text": "Tel",
+            "annotations": []
+        },
+        {
+            "id": 68,
+            "text": "Visser-de Jong",
+            "annotations": [
+                {
+                    "text": "Visser-de Jong",
+                    "start_char": 0,
+                    "end_char": 14,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 69,
+            "text": "A de Jong",
+            "annotations": [
+                {
+                    "text": "A de Jong",
+                    "start_char": 0,
+                    "end_char": 9,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 70,
+            "text": "A De Jong",
+            "annotations": [
+                {
+                    "text": "A De Jong",
+                    "start_char": 0,
+                    "end_char": 9,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 71,
+            "text": "A.B.C. Visser",
+            "annotations": [
+                {
+                    "text": "A.B.C. Visser",
+                    "start_char": 0,
+                    "end_char": 13,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 72,
+            "text": "A.B.C.D. Visser",
+            "annotations": [
+                {
+                    "text": "A.B.C.D. Visser",
+                    "start_char": 0,
+                    "end_char": 15,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 73,
+            "text": "A.B.C.D.E. Visser",
+            "annotations": [
+                {
+                    "text": "A.B.C.D.E. Visser",
+                    "start_char": 0,
+                    "end_char": 17,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 74,
+            "text": "A.B.C.D.E.F. Visser",
+            "annotations": [
+                {
+                    "text": "A.B.C.D.E.F. Visser",
+                    "start_char": 0,
+                    "end_char": 19,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 75,
+            "text": "A.B.C. de Vries",
+            "annotations": [
+                {
+                    "text": "A.B.C. de Vries",
+                    "start_char": 0,
+                    "end_char": 15,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 76,
+            "text": "Voornaam Visser",
+            "annotations": [
+                {
+                    "text": "Voornaam Visser",
+                    "start_char": 0,
+                    "end_char": 15,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 77,
+            "text": "Piet Visser",
+            "annotations": [
+                {
+                    "text": "Piet Visser",
+                    "start_char": 0,
+                    "end_char": 11,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 78,
+            "text": "Marieke Visser",
+            "annotations": [
+                {
+                    "text": "Marieke Visser",
+                    "start_char": 0,
+                    "end_char": 14,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 79,
+            "text": "Olanzapine Visser",
+            "annotations": [
+                {
+                    "text": "Visser",
+                    "start_char": 11,
+                    "end_char": 17,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 80,
+            "text": "Dr. Visser",
+            "annotations": [
+                {
+                    "text": "Dr. Visser",
+                    "start_char": 0,
+                    "end_char": 10,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 81,
+            "text": "Piet Achternaam",
+            "annotations": [
+                {
+                    "text": "Piet Achternaam",
+                    "start_char": 0,
+                    "end_char": 15,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 82,
+            "text": "Piet Olanzapine",
+            "annotations": [
+                {
+                    "text": "Piet",
+                    "start_char": 0,
+                    "end_char": 4,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 83,
+            "text": "Piet Dhr.",
+            "annotations": [
+                {
+                    "text": "Piet",
+                    "start_char": 0,
+                    "end_char": 4,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 84,
+            "text": "Prof. Dr. Visser",
+            "annotations": [
+                {
+                    "text": "Prof. Dr. Visser",
+                    "start_char": 0,
+                    "end_char": 16,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 85,
+            "text": "Dr. Ing. Dr. Visser",
+            "annotations": [
+                {
+                    "text": "Dr. Ing. Dr. Visser",
+                    "start_char": 0,
+                    "end_char": 19,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 86,
+            "text": "Prof.Dr. Visser",
+            "annotations": [
+                {
+                    "text": "Prof.Dr. Visser",
+                    "start_char": 0,
+                    "end_char": 15,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 87,
+            "text": "Dr. A.B. Visser",
+            "annotations": [
+                {
+                    "text": "Dr. A.B. Visser",
+                    "start_char": 0,
+                    "end_char": 15,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 89,
+            "text": "Mevrouw Visser",
+            "annotations": [
+                {
+                    "text": "Mevrouw Visser",
+                    "start_char": 0,
+                    "end_char": 14,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 90,
+            "text": "A. Visser-Visser",
+            "annotations": [
+                {
+                    "text": "A. Visser-Visser",
+                    "start_char": 0,
+                    "end_char": 16,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 91,
+            "text": "Mw. Prof. Dr. A.B. de Vries",
+            "annotations": [
+                {
+                    "text": "Mw. Prof. Dr. A.B. de Vries",
+                    "start_char": 0,
+                    "end_char": 27,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 92,
+            "text": "Dr. A.B. v.d. Sluis",
+            "annotations": [
+                {
+                    "text": "Dr. A.B. v.d. Sluis",
+                    "start_char": 0,
+                    "end_char": 19,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 93,
+            "text": "A. Achternaam-Achternaam",
+            "annotations": [
+                {
+                    "text": "A. Achternaam-Achternaam",
+                    "start_char": 0,
+                    "end_char": 24,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 95,
+            "text": "de Heer",
+            "annotations": []
+        },
+        {
+            "id": 96,
+            "text": "de Vrouw",
+            "annotations": []
+        },
+        {
+            "id": 98,
+            "text": "de Weledelgeleerde Heer Visser",
+            "annotations": [
+                {
+                    "text": "Visser",
+                    "start_char": 24,
+                    "end_char": 30,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 99,
+            "text": "de weledelgeleerde heer Visser",
+            "annotations": [
+                {
+                    "text": "Visser",
+                    "start_char": 24,
+                    "end_char": 30,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 100,
+            "text": "mijnheer Visser",
+            "annotations": [
+                {
+                    "text": "mijnheer Visser",
+                    "start_char": 0,
+                    "end_char": 15,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 101,
+            "text": "Ph. Van der Laan",
+            "annotations": [
+                {
+                    "text": "Ph. Van der Laan",
+                    "start_char": 0,
+                    "end_char": 16,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 102,
+            "text": "A.Th.Chr. Van der Laan",
+            "annotations": [
+                {
+                    "text": "A.Th.Chr. Van der Laan",
+                    "start_char": 0,
+                    "end_char": 22,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 103,
+            "text": "Ah. Van der Laan",
+            "annotations": [
+                {
+                    "text": "Van der Laan",
+                    "start_char": 4,
+                    "end_char": 16,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 104,
+            "text": "J. Th. Bakker",
+            "annotations": [
+                {
+                    "text": "J. Th. Bakker",
+                    "start_char": 0,
+                    "end_char": 13,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 105,
+            "text": "J. Th. A. Bakker",
+            "annotations": [
+                {
+                    "text": "J. Th. A. Bakker",
+                    "start_char": 0,
+                    "end_char": 16,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 106,
+            "text": "Prof. Dr. Th. Bakker",
+            "annotations": [
+                {
+                    "text": "Prof. Dr. Th. Bakker",
+                    "start_char": 0,
+                    "end_char": 20,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 107,
+            "text": "Prof. Dr. Th. Ir. Bakker",
+            "annotations": [
+                {
+                    "text": "Prof. Dr. Th",
+                    "start_char": 0,
+                    "end_char": 12,
+                    "tag": "persoon"
+                },
+                {
+                    "text": "Ir. Bakker",
+                    "start_char": 14,
+                    "end_char": 24,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 108,
+            "text": "Ziekenhuis te Amersfoort",
+            "annotations": []
+        },
+        {
+            "id": 109,
+            "text": "M. Alzheimer",
+            "annotations": []
+        },
+        {
+            "id": 110,
+            "text": "N. Suralis",
+            "annotations": []
+        },
+        {
+            "id": 111,
+            "text": "M. Auricularis",
+            "annotations": []
+        },
+        {
+            "id": 112,
+            "text": "I. Multiple",
+            "annotations": []
+        },
+        {
+            "id": 113,
+            "text": "I. Ulna",
+            "annotations": []
+        },
+        {
+            "id": 114,
+            "text": "A. Brachialis",
+            "annotations": []
+        },
+        {
+            "id": 115,
+            "text": "V. Cava Inferior",
+            "annotations": []
+        },
+        {
+            "id": 116,
+            "text": "B. Bakker Neuroloog",
+            "annotations": [
+                {
+                    "text": "B. Bakker",
+                    "start_char": 0,
+                    "end_char": 9,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 117,
+            "text": "Jan-Willem",
+            "annotations": [
+                {
+                    "text": "Jan-Willem",
+                    "start_char": 0,
+                    "end_char": 10,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 118,
+            "text": "Jan-Onbekendenaam",
+            "annotations": [
+                {
+                    "text": "Jan-Onbekendenaam",
+                    "start_char": 0,
+                    "end_char": 17,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 119,
+            "text": "Onbekendenaam-Willem",
+            "annotations": [
+                {
+                    "text": "Onbekendenaam-Willem",
+                    "start_char": 0,
+                    "end_char": 20,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 120,
+            "text": "El Ahmadi",
+            "annotations": [
+                {
+                    "text": "Ahmadi",
+                    "start_char": 3,
+                    "end_char": 9,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 121,
+            "text": "Bruins Slot",
+            "annotations": [
+                {
+                    "text": "Bruins Slot",
+                    "start_char": 0,
+                    "end_char": 11,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 122,
+            "text": "Groot Wassink",
+            "annotations": [
+                {
+                    "text": "Groot Wassink",
+                    "start_char": 0,
+                    "end_char": 13,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 123,
+            "text": "Pieter Oude Nijhuis",
+            "annotations": [
+                {
+                    "text": "Pieter Oude Nijhuis",
+                    "start_char": 0,
+                    "end_char": 19,
+                    "tag": "persoon"
+                }
+            ]
+        },
+        {
+            "id": 124,
+            "text": "ziekte van Zoon",
+            "annotations":  []
+        },
+        {
+            "id": 125,
+            "text": "Turner's ziekte",
+            "annotations": []
+        },
+        {
+            "id": 126,
+            "text": "Pierre-Robin sequentie",
+            "annotations": []
+        }
+    ]
+}
\ No newline at end of file