{"id":4808,"date":"2025-04-30T18:19:47","date_gmt":"2025-04-30T16:19:47","guid":{"rendered":"https:\/\/kairntech.com\/doc\/?p=4808"},"modified":"2025-05-05T16:36:26","modified_gmt":"2025-05-05T14:36:26","slug":"how-to-qualify-an-error-in-ner-pipeline","status":"publish","type":"post","link":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/","title":{"rendered":"How to qualify an error in NER pipeline?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p>The objective of this article is to explain how we can quickly qualify an error in an advanced <strong>Named Entity Recognition<\/strong> (<strong>NER<\/strong>) pipeline.<\/p>\n\n\n\n<p>In this article, the NER pipeline combines:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A NER model that extracts basic named entities (People, Location, Organization)<\/li>\n\n\n\n<li>A component that automatically extracts and links entities to <strong>Wikidata <\/strong>knowledge base<\/li>\n\n\n\n<li>A technical component that reconcile all the information while giving priority to the NER model for performance reason<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">NER model<\/h2>\n\n\n\n<p>We use here a custom-built NER model trained on a high-quality dataset. <br>The labels are : Person, Location, Organization<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"307\" src=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-1024x307.png\" alt=\"\" class=\"wp-image-4818\" srcset=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-1024x307.png 1024w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-300x90.png 300w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-768x230.png 768w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-1536x461.png 1536w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-2048x614.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Entity Linking<\/h2>\n\n\n\n<p>We perform entity extraction &amp; linking with an open-source component <strong>(entity-fishing<\/strong>) that provides a set of services (term look up, text disambiguation&#8230;) leveraging Wikidata, Wikipedia and AI models.<\/p>\n\n\n\n<p>Kairntech runs a SaaS instance of <strong>entity-fishing<\/strong> that is updated every month: <a href=\"https:\/\/sherpa-entityfishing.kairntech.com\/\">https:\/\/sherpa-entityfishing.kairntech.com\/<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"499\" src=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-5-1024x499.png\" alt=\"\" class=\"wp-image-4825\" srcset=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-5-1024x499.png 1024w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-5-300x146.png 300w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-5-768x374.png 768w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-5-1536x749.png 1536w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-5-2048x998.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">NER pipeline<\/h2>\n\n\n\n<p>We build a pipeline that combines:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>NER model to detect entities (Person, Place, Organization) <\/li>\n\n\n\n<li>entity-fishing to extract &amp; link entity to Wikidata entry (QID).  <\/li>\n\n\n\n<li>A reconciliation script prioritizes the NER model over entity-fishing when it demonstrates superior text labeling performance.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"506\" height=\"535\" src=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image.png\" alt=\"\" class=\"wp-image-4809\" srcset=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image.png 506w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-284x300.png 284w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>For Entity Linking, we utilize <strong>rule-based mappings<\/strong> to label terms.<\/p>\n\n\n\n<p>An extracted term by entity-fishing has\/is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>GeoNames ID &amp; GPS Coord. property =&gt; the term is labeled as <strong>Location<\/strong><\/li>\n\n\n\n<li>Instance of Human =&gt; the term is labeled as <strong>Person<\/strong><\/li>\n\n\n\n<li>Instance of (List of 30 items) =&gt; the term is labeled as <strong>Organization<\/strong><\/li>\n<\/ul>\n\n\n\n<p>For instance &#8220;Eindhoven&#8221; is extracted by entity-fishing and since this term has a GeoName ID property the <strong>Location <\/strong>label will be automatically assigned.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"296\" src=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-1.png\" alt=\"\" class=\"wp-image-4810\" style=\"width:678px;height:auto\" srcset=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-1.png 648w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-1-300x137.png 300w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"384\" src=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-7-1024x384.png\" alt=\"\" class=\"wp-image-4829\" style=\"width:808px;height:auto\" srcset=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-7-1024x384.png 1024w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-7-300x113.png 300w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-7-768x288.png 768w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-7-1536x577.png 1536w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-7-2048x769.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Possible errors &amp; limitations<\/h2>\n\n\n\n<p>This pipeline can present <strong>errors <\/strong>on <strong>entity extraction &amp; linking<\/strong> when analyzing text. <\/p>\n\n\n\n<p>Below is a list of 6 possible error categories:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Entity has not been extracted by the NER model<\/li>\n\n\n\n<li>Entity has not been extracted by entity-fishing<\/li>\n\n\n\n<li>Entity has been extracted by entity-fishing but it was not classified into any of the labels (Person, Location, Organization)<\/li>\n\n\n\n<li>The labels identified by the NER model and entity-fishing do not correspond<\/li>\n\n\n\n<li>The entity span (text segment) differs between entity-fishing and the NER model<\/li>\n\n\n\n<li>The Wikidata link for the extracted entity is wrong<\/li>\n<\/ol>\n\n\n\n<p>The following sections explain how to identify the error, give its root cause, and implement a solution. <\/p>\n\n\n\n<p><strong>Error #1: Entity has not been extracted by the NER model<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to identify? \n<ul class=\"wp-block-list\">\n<li>apply the NER model on the selected text<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Root cause: \n<ul class=\"wp-block-list\">\n<li>lack of accuracy of NER model<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Solution: \n<ul class=\"wp-block-list\">\n<li>enrich dataset &amp; retrain the NER model (simple)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong>Error #2: Entity has not been extracted by entity-fishing<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to identify? \n<ul class=\"wp-block-list\">\n<li>Apply entity-fishing model on the selected text<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Root cause: \n<ul class=\"wp-block-list\">\n<li>stopwords like \u201cUS\u201d<\/li>\n\n\n\n<li>presence or absence of hyphens in compound nouns<\/li>\n\n\n\n<li>unknown entity from Wikidata in the given language<\/li>\n\n\n\n<li>entity with no Wikipedia page<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Solution: \n<ul class=\"wp-block-list\">\n<li>add the entity (possibly with QID) in a lexicon (simple) <\/li>\n\n\n\n<li>enrich Wikidata yourself and wait for monthly update!<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong>Error #3:<\/strong> <strong>Entity has been extracted by entity-fishing but it was not classified into any of the labels (Person, Location, Organization)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to identify? \n<ul class=\"wp-block-list\">\n<li>Apply entity-fishing model on the selected text and check the label<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Root cause: \n<ul class=\"wp-block-list\">\n<li>incomplete mappings rules&nbsp;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Solution: \n<ul class=\"wp-block-list\">\n<li>improve mapping rules (simple)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong><strong>Error #4:<\/strong><\/strong> <strong>The labels identified by the NER model and entity-fishing do not correspond<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to identify? \n<ul class=\"wp-block-list\">\n<li>Apply NER model and entity-fishing model on the selected text separately and check the label<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Root cause: \n<ul class=\"wp-block-list\">\n<li>NER model accuracy<\/li>\n\n\n\n<li>entity-fishing mapping rules<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Solution: \n<ul class=\"wp-block-list\">\n<li>improve NER model (simple) <\/li>\n\n\n\n<li>improve entity-fishing mapping rules (simple)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong><strong>Error #5:<\/strong><\/strong> <strong>The entity span (text segment) differs between entity-fishing and the NER model<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to identify? \n<ul class=\"wp-block-list\">\n<li>Apply NER model and entity-fishing model on the selected text separately and check the span<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Root cause: \n<ul class=\"wp-block-list\">\n<li>NER model accuracy <\/li>\n\n\n\n<li>entity-fishing longest match issue like \u201cpresident-elec Donald Trump\u201d for &#8220;Donald Trump&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Solution: \n<ul class=\"wp-block-list\">\n<li>improve NER model (simple), <\/li>\n\n\n\n<li>improve entity-fishing (difficult) <\/li>\n\n\n\n<li>add the entity (possibly with QID) in a lexicon (simple)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"540\" src=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-8-1024x540.png\" alt=\"\" class=\"wp-image-4872\" style=\"width:702px;height:auto\" srcset=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-8-1024x540.png 1024w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-8-300x158.png 300w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-8-768x405.png 768w, https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-8.png 1269w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong><strong><strong>Error #<\/strong><\/strong>6: The Wikidata link for the extracted entity is wrong<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to identify? \n<ul class=\"wp-block-list\">\n<li>Check the QID of the extracted term<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Root cause: \n<ul class=\"wp-block-list\">\n<li>homonym<\/li>\n\n\n\n<li>error of disambiguation model<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Solution: \n<ul class=\"wp-block-list\">\n<li>refine disambiguation models\u2026 (difficult)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>See also&#8230;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-kairntech-documentation wp-block-embed-kairntech-documentation\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"murAZOif6L\"><a href=\"https:\/\/kairntech.com\/doc\/how-to-test-a-model\/\">How to test a model or a pipeline?<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;How to test a model or a pipeline?&#8221; &#8212; Kairntech Documentation\" src=\"https:\/\/kairntech.com\/doc\/how-to-test-a-model\/embed\/#?secret=pNVvmTde7e#?secret=murAZOif6L\" data-secret=\"murAZOif6L\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-kairntech-documentation wp-block-embed-kairntech-documentation\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"QmG8BekpWp\"><a href=\"https:\/\/kairntech.com\/doc\/how-to-build-an-nlp-pipeline\/\">How to build an annotation pipeline?<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;How to build an annotation pipeline?&#8221; &#8212; Kairntech Documentation\" src=\"https:\/\/kairntech.com\/doc\/how-to-build-an-nlp-pipeline\/embed\/#?secret=JZcrwvxmsZ#?secret=QmG8BekpWp\" data-secret=\"QmG8BekpWp\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The objective of this article is to explain how we can quickly qualify an error in an advanced Named Entity Recognition (NER) pipeline. In this article, the NER pipeline combines: NER model We use here a custom-built NER model trained on a high-quality dataset. The labels are : Person, Location, Organization Entity Linking We [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-4808","post","type-post","status-publish","format-standard","hentry","category-advanced-topics"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to qualify an error in NER pipeline? - Kairntech Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to qualify an error in NER pipeline? - Kairntech Documentation\" \/>\n<meta property=\"og:description\" content=\"Introduction The objective of this article is to explain how we can quickly qualify an error in an advanced Named Entity Recognition (NER) pipeline. In this article, the NER pipeline combines: NER model We use here a custom-built NER model trained on a high-quality dataset. The labels are : Person, Location, Organization Entity Linking We [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/\" \/>\n<meta property=\"og:site_name\" content=\"Kairntech Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-30T16:19:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-05T14:36:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2780\" \/>\n\t<meta property=\"og:image:height\" content=\"834\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"vincent.nibart\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"vincent.nibart\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/\"},\"author\":{\"name\":\"vincent.nibart\",\"@id\":\"https:\/\/kairntech.com\/doc\/#\/schema\/person\/e2b5ed8a33aa3f4a90dca6f0a0c5f0de\"},\"headline\":\"How to qualify an error in NER pipeline?\",\"datePublished\":\"2025-04-30T16:19:47+00:00\",\"dateModified\":\"2025-05-05T14:36:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/\"},\"wordCount\":677,\"image\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-1024x307.png\",\"articleSection\":[\"Advanced Topics\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/\",\"url\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/\",\"name\":\"How to qualify an error in NER pipeline? - Kairntech Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/kairntech.com\/doc\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-1024x307.png\",\"datePublished\":\"2025-04-30T16:19:47+00:00\",\"dateModified\":\"2025-05-05T14:36:26+00:00\",\"author\":{\"@id\":\"https:\/\/kairntech.com\/doc\/#\/schema\/person\/e2b5ed8a33aa3f4a90dca6f0a0c5f0de\"},\"breadcrumb\":{\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#primaryimage\",\"url\":\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2.png\",\"contentUrl\":\"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2.png\",\"width\":2780,\"height\":834},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kairntech.com\/doc\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to qualify an error in NER pipeline?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kairntech.com\/doc\/#website\",\"url\":\"https:\/\/kairntech.com\/doc\/\",\"name\":\"Kairntech Documentation\",\"description\":\"All the information you need to use Kairntech Software, methodology,  user and installation guides.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kairntech.com\/doc\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/kairntech.com\/doc\/#\/schema\/person\/e2b5ed8a33aa3f4a90dca6f0a0c5f0de\",\"name\":\"vincent.nibart\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/kairntech.com\/doc\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8c6c4f0e2ce82e7f30989e62388adbfe6071cdc185ead6e4bff5281aa3255ae2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8c6c4f0e2ce82e7f30989e62388adbfe6071cdc185ead6e4bff5281aa3255ae2?s=96&d=mm&r=g\",\"caption\":\"vincent.nibart\"},\"url\":\"https:\/\/kairntech.com\/doc\/author\/vincent-nibart\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to qualify an error in NER pipeline? - Kairntech Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/","og_locale":"en_GB","og_type":"article","og_title":"How to qualify an error in NER pipeline? - Kairntech Documentation","og_description":"Introduction The objective of this article is to explain how we can quickly qualify an error in an advanced Named Entity Recognition (NER) pipeline. In this article, the NER pipeline combines: NER model We use here a custom-built NER model trained on a high-quality dataset. The labels are : Person, Location, Organization Entity Linking We [&hellip;]","og_url":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/","og_site_name":"Kairntech Documentation","article_published_time":"2025-04-30T16:19:47+00:00","article_modified_time":"2025-05-05T14:36:26+00:00","og_image":[{"width":2780,"height":834,"url":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2.png","type":"image\/png"}],"author":"vincent.nibart","twitter_card":"summary_large_image","twitter_misc":{"Written by":"vincent.nibart","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#article","isPartOf":{"@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/"},"author":{"name":"vincent.nibart","@id":"https:\/\/kairntech.com\/doc\/#\/schema\/person\/e2b5ed8a33aa3f4a90dca6f0a0c5f0de"},"headline":"How to qualify an error in NER pipeline?","datePublished":"2025-04-30T16:19:47+00:00","dateModified":"2025-05-05T14:36:26+00:00","mainEntityOfPage":{"@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/"},"wordCount":677,"image":{"@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#primaryimage"},"thumbnailUrl":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-1024x307.png","articleSection":["Advanced Topics"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/","url":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/","name":"How to qualify an error in NER pipeline? - Kairntech Documentation","isPartOf":{"@id":"https:\/\/kairntech.com\/doc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#primaryimage"},"image":{"@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#primaryimage"},"thumbnailUrl":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2-1024x307.png","datePublished":"2025-04-30T16:19:47+00:00","dateModified":"2025-05-05T14:36:26+00:00","author":{"@id":"https:\/\/kairntech.com\/doc\/#\/schema\/person\/e2b5ed8a33aa3f4a90dca6f0a0c5f0de"},"breadcrumb":{"@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#primaryimage","url":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2.png","contentUrl":"https:\/\/kairntech.com\/doc\/wp-content\/uploads\/sites\/2\/2025\/04\/image-2.png","width":2780,"height":834},{"@type":"BreadcrumbList","@id":"https:\/\/kairntech.com\/doc\/how-to-qualify-an-error-in-ner-pipeline\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kairntech.com\/doc\/"},{"@type":"ListItem","position":2,"name":"How to qualify an error in NER pipeline?"}]},{"@type":"WebSite","@id":"https:\/\/kairntech.com\/doc\/#website","url":"https:\/\/kairntech.com\/doc\/","name":"Kairntech Documentation","description":"All the information you need to use Kairntech Software, methodology,  user and installation guides.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kairntech.com\/doc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/kairntech.com\/doc\/#\/schema\/person\/e2b5ed8a33aa3f4a90dca6f0a0c5f0de","name":"vincent.nibart","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/kairntech.com\/doc\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8c6c4f0e2ce82e7f30989e62388adbfe6071cdc185ead6e4bff5281aa3255ae2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8c6c4f0e2ce82e7f30989e62388adbfe6071cdc185ead6e4bff5281aa3255ae2?s=96&d=mm&r=g","caption":"vincent.nibart"},"url":"https:\/\/kairntech.com\/doc\/author\/vincent-nibart\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/posts\/4808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/comments?post=4808"}],"version-history":[{"count":26,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/posts\/4808\/revisions"}],"predecessor-version":[{"id":4884,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/posts\/4808\/revisions\/4884"}],"wp:attachment":[{"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/media?parent=4808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/categories?post=4808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kairntech.com\/doc\/wp-json\/wp\/v2\/tags?post=4808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}