{
  "id": "task_libraries:named-entity-recognition/python",
  "path": "/exapedia/python-named-entity-recognition-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python named entity recognition libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python named entity recognition libraries find the names of people, organizations, places, and other entities in text and label each one. A model returns each entity with its label and its character position in the original text. These libraries let search systems, compliance tools, and AI agents pull structured facts out of documents."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python named entity recognition libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#transformers",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#nltk",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#spacy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#presidio-analyzer",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#stanza",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gliner",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#spark-nlp",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#polyglot",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F256"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#transformers",
          "label": [
            {
              "t": "text",
              "text": "Transformers"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F126"
        },
        {
          "t": "text",
          "text": ", a count that covers every model task in the library."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "NER character offsets",
            "Inference-time label prompts"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#transformers",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#nltk",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F145"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#spacy",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#presidio-analyzer",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F183"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#stanza",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gliner",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F222"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#spark-nlp",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#polyglot",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F256"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "transformers",
          "name": [
            {
              "t": "fact",
              "fact": "F125"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/huggingface/transformers"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/transformers"
            },
            {
              "label": "Docs",
              "href": "https://huggingface.co/docs/transformers/en/tasks/token_classification"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F132"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://huggingface.co/docs/transformers/en/tasks/token_classification",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/docling-project/docling",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F143"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _build_simple_ner_pipeline():\n    \"\"\"Create a Hugging Face token-classification pipeline for NER.\n\n    Returns a callable like: ner(text) -> List[dict]\n    \"\"\"\n    try:\n        from transformers import (\n            AutoModelForTokenClassification,\n            AutoTokenizer,\n            pipeline,\n        )\n    except Exception:\n        _log.error(\"Transformers not installed. Please run: pip install transformers\")\n        raise\n\n    tokenizer = AutoTokenizer.from_pretrained(HF_MODEL)\n    model = AutoModelForTokenClassification.from_pretrained(HF_MODEL)\n    ner = pipeline(\n        \"token-classification\",\n        model=model,\n        tokenizer=tokenizer,\n        aggregation_strategy=\"simple\",  # groups subwords into complete entities\n        # Note: modern Transformers returns `start`/`end` when possible with aggregation\n    )\n    return ner\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/docling-project/docling/blob/b5563e921265c8e8a6ec36a0fd8680620458cfe8/docs/examples/pii_obfuscate.py#L56-L80",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=transformers%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from transformers import pipeline\n\nner = pipeline(model=\"Jean-Baptiste/camembert-ner\", aggregation_strategy=\"simple\")\nentities = ner(\"Je m’appelle Jean-Baptiste.\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/huggingface/transformers/blob/v5.23.0/src/transformers/pipelines/token_classification.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "token_classification.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "nltk",
          "name": [
            {
              "t": "fact",
              "fact": "F145"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/nltk/nltk"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/nltk"
            },
            {
              "label": "Docs",
              "href": "https://www.nltk.org/api/nltk.chunk.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F152"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.nltk.org/api/nltk.chunk.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F145"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/google-research/google-research",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _annotate_entities(self, text):\n  spans = list(self.nltk_tokenizer.span_tokenize(text))\n  tokens = [text[b:e] for (b, e) in spans]\n  annotations = []\n  trees = nltk.ne_chunk(nltk.pos_tag(tokens))\n  start_index = 0\n  for tree in trees:\n    if hasattr(tree, 'label'):\n      children = [text for text, pos in tree]\n      end_index = start_index + len(children)\n      if tree.label() in self.nltk_pos_types:\n        begin, _ = spans[start_index]\n        _, end = spans[end_index - 1]\n        surface_form = ' '.join(children)\n        # There are edge cases when these are not equal.\n        # For example, Diminish'd != Diminish 'd\n        # assert text[begin:end] == surface_form, text\n        surface_form = text[begin:end]\n        annotations.append(\n            data_utils.Annotation(\n                begin=begin, end=end - 1, text=surface_form, label=1, type=1))\n      start_index = end_index\n    else:\n      start_index += 1\n  annotations.sort(key=lambda a: (a.begin, a.end))\n  sentence = data_utils.Sentence(text=text, annotations=annotations)\n  sentence.strip_whitespaces()\n  return sentence\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/google-research/google-research/blob/f4598eb0d4f8947b880cad470e157d37bd2f858b/readtwice/models/trivia_qa/preprocess_lib.py#L392-L419",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F162"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=nltk%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F145"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import nltk\n\nnltk.download(\"maxent_ne_chunker_tab\")\nnltk.download(\"words\")\nentities = nltk.ne_chunk([(\"Ada\", \"NNP\"), (\"Lovelace\", \"NNP\")])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://www.nltk.org/_modules/nltk/chunk/named_entity.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "named_entity.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F150"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "spacy",
          "name": [
            {
              "t": "fact",
              "fact": "F165"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/explosion/spaCy"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/spacy"
            },
            {
              "label": "Docs",
              "href": "https://spacy.io/usage/linguistic-features#named-entities"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://spacy.io/usage/linguistic-features#named-entities",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F165"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/ml-tooling/opyrator",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def named_entity_recognition(input: TextInput) -> NamedEntitiesOutput:\n    doc = nlp(input.text)\n    results = []\n    for ent in doc.ents:\n        try:\n            entity_type = Entity(ent.label_)\n            if entity_type in input.entity_types:\n                results.append(\n                    NamedEntity(\n                        text=ent.text,\n                        start_char=ent.start_char,\n                        end_char=ent.end_char,\n                        label=entity_type,\n                    )\n                )\n        except ValueError:\n            continue\n\n    return NamedEntitiesOutput(__root__=results)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/ml-tooling/opyrator/blob/3f443f05b6b21f00685c2b9bba16cf080edf2385/examples/named_entity_recognition/app.py#L76-L94",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F180"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20spacy%20for%20named%20entity%20extraction%20with%20character%20offsets&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F165"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import spacy\n\nnlp = spacy.load(\"en_core_web_sm\")\ndoc = nlp(\"Ada Lovelace worked in London.\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/spacy/3.8.18/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "rule-based-matching.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F170"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "presidio-analyzer",
          "name": [
            {
              "t": "fact",
              "fact": "F183"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/data-privacy-stack/presidio"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/presidio-analyzer"
            },
            {
              "label": "Docs",
              "href": "https://data-privacy-stack.github.io/presidio/analyzer/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F190"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://data-privacy-stack.github.io/presidio/analyzer/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F183"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/simstudioai/sim",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _analyze_one(\n    text: str,\n    language: str,\n    entities: list[str] | None,\n    score_threshold: float | None,\n    return_decision_process: bool = False,\n    ad_hoc_recognizers: list[PatternRecognizer] | None = None,\n):\n    regex_only = _regex_only(entities, score_threshold)\n    if not regex_only and len(text) > NER_WINDOW_CHARS:\n        return _analyze_long(\n            text, language, entities, score_threshold, return_decision_process, ad_hoc_recognizers\n        )\n    # Regex-only requests reuse a blank NlpArtifacts to skip the spaCy NLP pass;\n    # otherwise analyze() computes artifacts (runs spaCy) as usual. Custom-pattern\n    # recognizers are regex-based, so they run fine against the blank artifacts.\n    nlp_artifacts = _BLANK_ARTIFACTS.get(language) if regex_only else None\n    with nullcontext() if regex_only else _NER_SLOT:\n        return analyzer.analyze(\n            text=text,\n            language=language,\n            entities=entities or None,\n            score_threshold=score_threshold,\n            return_decision_process=return_decision_process,\n            nlp_artifacts=nlp_artifacts,\n            ad_hoc_recognizers=ad_hoc_recognizers or None,\n        )\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/simstudioai/sim/blob/001ee933ba72c771562b9378d33c728a81ff7898/apps/pii/server.py#L377-L403",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=presidio-analyzer%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F183"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from presidio_analyzer import AnalyzerEngine\n\nanalyzer = AnalyzerEngine()\nresults = analyzer.analyze(text=\"Ada Lovelace worked in London.\", language=\"en\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://data-privacy-stack.github.io/presidio/analyzer/",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F188"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "stanza",
          "name": [
            {
              "t": "fact",
              "fact": "F204"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/stanfordnlp/stanza"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/stanza"
            },
            {
              "label": "Docs",
              "href": "https://stanfordnlp.github.io/stanza/ner.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F36"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://stanfordnlp.github.io/stanza/ner.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/explosion/spacy-stanza",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F220"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def tokenizer_factory(\n    nlp,\n    lang=lang,\n    dir=dir,\n    package=package,\n    processors=processors,\n    logging_level=logging_level,\n    verbose=verbose,\n    use_gpu=use_gpu,\n    kwargs=kwargs,\n) -> StanzaTokenizer:\n    if dir is None:\n        dir = DEFAULT_MODEL_DIR\n    snlp = Pipeline(\n        lang=lang,\n        dir=dir,\n        package=package,\n        processors=processors,\n        logging_level=logging_level,\n        verbose=verbose,\n        use_gpu=use_gpu,\n        **kwargs,\n    )\n    return StanzaTokenizer(\n        snlp,\n        nlp.vocab,\n    )\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/explosion/spacy-stanza/blob/b57f3482582535f2f07afb0e4ed01df650925d9d/spacy_stanza/tokenizer.py#L24-L50",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20stanza%20for%20named%20entity%20extraction%20with%20character%20offsets&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import stanza\n\nnlp = stanza.Pipeline(lang=\"en\", processors=\"tokenize,ner\")\ndoc = nlp(\"Ada Lovelace worked in London.\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://stanfordnlp.github.io/stanza/ner.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "ner.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "gliner",
          "name": [
            {
              "t": "fact",
              "fact": "F222"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/urchade/GLiNER"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/gliner"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F57"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/urchade/GLiNER",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F58"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/data-privacy-stack/presidio",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def predict_func(text: str) -> List[RecognizerResult]:\n    # Get predictions from GLiNER (returns dicts)\n    gliner_predictions = self.gliner.predict_entities(\n        text=text,\n        labels=labels,\n        flat_ner=self.flat_ner,\n        threshold=self.threshold,\n        multi_label=self.multi_label,\n    )\n\n    # Convert dicts to RecognizerResult objects\n    results = []\n    for pred in gliner_predictions:\n        presidio_entity = self.model_to_presidio_entity_mapping.get(\n            pred[\"label\"], pred[\"label\"]\n        )\n\n        # Filter by requested entities\n        if entities and presidio_entity not in entities:\n            continue\n\n        analysis_explanation = AnalysisExplanation(\n            recognizer=self.name,\n            original_score=pred[\"score\"],\n            textual_explanation=f\"Identified as {presidio_entity} by GLiNER\",\n        )\n\n        results.append(\n            RecognizerResult(\n                entity_type=presidio_entity,\n                start=pred[\"start\"],\n                end=pred[\"end\"],\n                score=pred[\"score\"],\n                analysis_explanation=analysis_explanation,\n            )\n        )\n    return results\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/data-privacy-stack/presidio/blob/fd78e974fbf9e15dad1f90de4fc125db39ef4200/presidio-analyzer/presidio_analyzer/predefined_recognizers/ner/gliner_recognizer.py#L188-L224",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Projects%20using%20gliner%20for%20named%20entity%20extraction%20with%20character%20offsets&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F222"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from gliner import GLiNER\n\nmodel = GLiNER.from_pretrained(\"gliner-community/gliner_small-v2.5\")\nentities = model.predict_entities(\"Ada Lovelace worked in London.\", [\"person\", \"city\"])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/gliner/0.2.30/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F227"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "spark-nlp",
          "name": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/JohnSnowLabs/spark-nlp"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/spark-nlp"
            },
            {
              "label": "Docs",
              "href": "https://sparknlp.org/docs/en/annotators"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F247"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://sparknlp.org/docs/en/annotators",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import sparknlp\nfrom sparknlp.pretrained import PretrainedPipeline\n\nspark = sparknlp.start()\nmodel = PretrainedPipeline(\"explain_document_dl\", lang=\"en\")\nresult = model.annotate(\"Ada Lovelace worked in London.\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/spark-nlp/7.0.1/json#info.description",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=spark-nlp%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F245"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "polyglot",
          "name": [
            {
              "t": "fact",
              "fact": "F256"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/aboSamoor/polyglot"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/polyglot"
            },
            {
              "label": "Docs",
              "href": "https://polyglot.readthedocs.io/en/latest/NamedEntityRecognition.html"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F263"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F258"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://polyglot.readthedocs.io/en/latest/NamedEntityRecognition.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F256"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from polyglot.text import Text\n\ntext = Text(\"Ada Lovelace worked in London.\", hint_language_code=\"en\")\nentities = text.entities\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://polyglot.readthedocs.io/en/latest/NamedEntityRecognition.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "NamedEntityRecognition.html"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=polyglot%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F256"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F261"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python NER library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#spacy",
          "label": [
            {
              "t": "text",
              "text": "spaCy"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits production pipelines with trained entity recognizers and rule-based matching. "
        },
        {
          "t": "link",
          "href": "#gliner",
          "label": [
            {
              "t": "text",
              "text": "GLiNER"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits extracting entity types named at inference time. "
        },
        {
          "t": "link",
          "href": "#transformers",
          "label": [
            {
              "t": "text",
              "text": "Transformers"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits teams that run or fine-tune pretrained token classification models."
        }
      ]
    },
    {
      "q": "What is Presidio?",
      "a": [
        {
          "t": "link",
          "href": "#presidio-analyzer",
          "label": [
            {
              "t": "text",
              "text": "Presidio Analyzer"
            }
          ]
        },
        {
          "t": "text",
          "text": " finds personal information in text by combining NER models, patterns, and other recognizers. It can call GLiNER as an optional backend."
        }
      ]
    },
    {
      "q": "What is GLiNER?",
      "a": [
        {
          "t": "link",
          "href": "#gliner",
          "label": [
            {
              "t": "text",
              "text": "GLiNER"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a generalist NER model that accepts entity labels as input at inference time. The model still determines how well it finds each label."
        }
      ]
    },
    {
      "q": "How does spaCy recognize named entities?",
      "a": [
        {
          "t": "link",
          "href": "#spacy",
          "label": [
            {
              "t": "text",
              "text": "spaCy"
            }
          ]
        },
        {
          "t": "text",
          "text": " runs a trained entity recognizer in its pipeline and stores each result as a span with character offsets. An entity ruler adds matches from patterns."
        }
      ]
    },
    {
      "q": "spaCy vs NLTK: which should I use for NER?",
      "a": [
        {
          "t": "link",
          "href": "#spacy",
          "label": [
            {
              "t": "text",
              "text": "spaCy"
            }
          ]
        },
        {
          "t": "text",
          "text": " returns entities with character offsets from a trainable recognizer. "
        },
        {
          "t": "link",
          "href": "#nltk",
          "label": [
            {
              "t": "text",
              "text": "NLTK"
            }
          ]
        },
        {
          "t": "text",
          "text": " chunks entities from tokens that the caller has already tagged with parts of speech."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, spacy",
      "display": "spaCy",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, spacy",
      "display": "24.1M",
      "asOf": "2026-11-17"
    },
    "F3": {
      "label": "License, spacy",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, spacy",
      "display": "3.8.18, Oct 2026",
      "asOf": "2026-10-26"
    },
    "F5": {
      "label": "Package release date, spacy",
      "display": "Oct 2026",
      "asOf": "2026-10-26"
    },
    "F6": {
      "label": "Repository stars, spacy",
      "display": "34.1K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Character offsets, spacy",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Custom training, spacy",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "GPU execution, spacy",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Batch prediction, spacy",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, spacy",
      "display": "pip install spacy",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, spacy",
      "display": "Recognizes labeled entity spans through a configurable NLP pipeline.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, spacy",
      "display": "Adds rules alongside learned entities",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, spacy",
      "display": "Use EntityRuler patterns to assign entity labels from text rules.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, spacy",
      "display": "Retains character positions",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, spacy",
      "display": "Read start_char and end_char from the returned entity spans.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, spacy",
      "display": "Standard NER excludes overlapping entities",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, spacy",
      "display": "Doc.ents entity spans must remain non-overlapping.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "Quickstart, spacy",
      "display": "from spacy.lang.en import English\n\nnlp = English()\nruler = nlp.add_pipe(\"entity_ruler\")\npatterns = [{\"label\": \"ORG\", \"pattern\": \"Apple\"},\n            {\"label\": \"GPE\", \"pattern\": [{\"LOWER\": \"san\"}, {\"LOWER\": \"francisco\"}]}]\nruler.add_patterns(patterns)\n\ndoc = nlp(\"Apple is opening its first big office in San Francisco.\")\nprint([(ent.text, ent.label_) for ent in doc.ents])\n",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Project function, spacy",
      "display": "def named_entity_recognition(input: TextInput) -> NamedEntitiesOutput:\n    doc = nlp(input.text)\n    results = []\n    for ent in doc.ents:\n        try:\n            entity_type = Entity(ent.label_)\n            if entity_type in input.entity_types:\n                results.append(\n                    NamedEntity(\n                        text=ent.text,\n                        start_char=ent.start_char,\n                        end_char=ent.end_char,\n                        label=entity_type,\n                    )\n                )\n        except ValueError:\n            continue\n\n    return NamedEntitiesOutput(__root__=results)\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function reference, spacy",
      "display": "app.py · named_entity_recognition()",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project repository, spacy",
      "display": "ml-tooling/opyrator",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project stars, ml-tooling/opyrator",
      "display": "3.1K",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project push date, ml-tooling/opyrator",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F25": {
      "label": "Library name, stanza",
      "display": "Stanza",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Monthly downloads, stanza",
      "display": "975.9K",
      "asOf": "2026-11-17"
    },
    "F27": {
      "label": "License, stanza",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Package release, stanza",
      "display": "1.15.1, Nov 2026",
      "asOf": "2026-11-14"
    },
    "F29": {
      "label": "Package release date, stanza",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F30": {
      "label": "Repository stars, stanza",
      "display": "7.9K",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Character offsets, stanza",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Custom training, stanza",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "GPU execution, stanza",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Batch prediction, stanza",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Install, stanza",
      "display": "pip install stanza",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "What it does, stanza",
      "display": "Labels named-entity spans and individual tokens in a language pipeline.",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths lead, stanza",
      "display": "Returns span and token labels",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths, stanza",
      "display": "Read entities from the document or NER tags from individual tokens.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, stanza",
      "display": "Retains outputs from multiple taggers",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, stanza",
      "display": "Configure multiple NER packages and inspect per-token multi_ner labels.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations lead, stanza",
      "display": "NER depends on tokenization",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations, stanza",
      "display": "Include tokenize when selecting the NER pipeline’s processors.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, stanza",
      "display": "Larger minibatches need more memory",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, stanza",
      "display": "Reduce ner_batch_size when recognition batches exceed available memory.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Quickstart, stanza",
      "display": "import stanza\n\nnlp = stanza.Pipeline(lang='en', processors='tokenize,ner')\ndoc = nlp(\"Chris Manning teaches at Stanford University. He lives in the Bay Area.\")\nprint(*[f'entity: {ent.text}\\ttype: {ent.type}' for ent in doc.ents], sep='\\n')\n\n",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Library name, gliner",
      "display": "GLiNER",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Monthly downloads, gliner",
      "display": "769.3K",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "License, gliner",
      "display": "Apache-2.0",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Package release, gliner",
      "display": "0.2.30, Oct 2026",
      "asOf": "2026-10-31"
    },
    "F50": {
      "label": "Package release date, gliner",
      "display": "Oct 2026",
      "asOf": "2026-10-31"
    },
    "F51": {
      "label": "Repository stars, gliner",
      "display": "4.3K",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Character offsets, gliner",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Custom training, gliner",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "GPU execution, gliner",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Batch prediction, gliner",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Install, gliner",
      "display": "pip install gliner",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "What it does, gliner",
      "display": "Recognizes entities using labels supplied for the prediction task.",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "strengths lead, gliner",
      "display": "Accepts labels at prediction time",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "strengths, gliner",
      "display": "Pass the desired entity labels to predict_entities.",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "strengths lead, gliner",
      "display": "Can fine-tune custom models",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "strengths, gliner",
      "display": "Use train_model with training and evaluation data.",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "limitations lead, gliner",
      "display": "Batch helper is deprecated",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "limitations, gliner",
      "display": "Use inference instead of batch_predict_entities for multiple texts.",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "Quickstart, gliner",
      "display": "from gliner import GLiNER\n\nmodel = GLiNER.from_pretrained(\"gliner-community/gliner_small-v2.5\")\n\ntext = \"\"\"\nCristiano Ronaldo dos Santos Aveiro (born 5 February 1985) is a Portuguese\nprofessional footballer who plays as a forward for and captains both Saudi Pro\nLeague club Al Nassr and the Portugal national team.\n\"\"\"\n\nlabels = [\"person\", \"date\", \"organization\", \"location\"]\n\nentities = model.predict_entities(text, labels, threshold=0.5)\n\nfor entity in entities:\n    print(entity[\"text\"], \"=>\", entity[\"label\"])\n",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "Project function, gliner",
      "display": "def load(self) -> None:\n    \"\"\"Load the GLiNER model.\"\"\"\n    if not GLiNER:\n        raise ImportError(\"GLiNER is not installed. Please install it.\")\n\n    self.gliner = GLiNER.from_pretrained(\n        self.model_name,\n        map_location=self.map_location,\n        load_onnx_model=self.load_onnx_model,\n        onnx_model_file=self.onnx_model_file,\n        **self.model_kwargs,\n    )\n\n    # Resolve deferred tokenizer chunker using the model's own tokenizer\n    from presidio_analyzer.chunkers import TokenizerBasedTextChunker\n\n    if (\n        isinstance(self.text_chunker, TokenizerBasedTextChunker)\n        and self.text_chunker.is_deferred\n    ):\n        tokenizer = self.gliner.data_processor.transformer_tokenizer\n        self.text_chunker.resolve(tokenizer)\n",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "Project function reference, gliner",
      "display": "gliner_recognizer.py · load()",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "Project repository, gliner",
      "display": "data-privacy-stack/presidio",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "Project stars, data-privacy-stack/presidio",
      "display": "11.9K",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Project push date, data-privacy-stack/presidio",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F70": {
      "label": "Library name, flair",
      "display": "Flair",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Monthly downloads, flair",
      "display": "63.5K",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "License, flair",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Package release, flair",
      "display": "0.15.1, Feb 2025",
      "asOf": "2025-02-05"
    },
    "F74": {
      "label": "Package release date, flair",
      "display": "Feb 2025",
      "asOf": "2025-02-05"
    },
    "F75": {
      "label": "Repository stars, flair",
      "display": "14.4K",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Character offsets, flair",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Custom training, flair",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "GPU execution, flair",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Batch prediction, flair",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Install, flair",
      "display": "pip install flair",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "What it does, flair",
      "display": "Predicts labeled entity spans with pretrained sequence taggers.",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "strengths lead, flair",
      "display": "Loads finer-grained entity models",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "strengths, flair",
      "display": "Choose an OntoNotes model for a wider entity label set.",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "strengths lead, flair",
      "display": "Returns exclusive span endpoints",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "strengths, flair",
      "display": "Use start_position and end_position to slice entity text.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "limitations lead, flair",
      "display": "Default English tags are coarse",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "limitations, flair",
      "display": "The standard English tagger uses its trained CoNLL entity categories.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "Quickstart, flair",
      "display": "from flair.data import Sentence\nfrom flair.nn import Classifier\n\n# make a sentence\nsentence = Sentence('I love Berlin .')\n\n# load the NER tagger\ntagger = Classifier.load('ner')\n\n# run NER over sentence\ntagger.predict(sentence)\n\n# print the sentence with all annotations\nprint(sentence)\n",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "Project function, flair",
      "display": "def analyze(\n    self, text: str, entities: List[str], nlp_artifacts: NlpArtifacts = None\n) -> List[RecognizerResult]:\n    \"\"\"\n    Analyze text using Text Analytics.\n\n    :param text: The text for analysis.\n    :param entities: Not working properly for this recognizer.\n    :param nlp_artifacts: Not used by this recognizer.\n    :param language: Text language. Supported languages in MODEL_LANGUAGES\n    :return: The list of Presidio RecognizerResult constructed from the recognized\n        Flair detections.\n    \"\"\"\n\n    results = []\n\n    sentences = Sentence(text)\n    self.model.predict(sentences)\n\n    # If there are no specific list of entities, we will look for all of it.\n    if not entities:\n        entities = self.supported_entities\n\n    for entity in entities:\n        if entity not in self.supported_entities:\n            continue\n\n        for ent in sentences.get_spans(\"ner\"):\n            if not self.__check_label(\n                entity, ent.labels[0].value, self.check_label_groups\n            ):\n                continue\n            textual_explanation = self.DEFAULT_EXPLANATION.format(\n                ent.labels[0].value\n            )\n            explanation = self.build_flair_explanation(\n                round(ent.score, 2), textual_explanation\n            )\n            flair_result = self._convert_to_recognizer_result(ent, explanation)\n\n            results.append(flair_result)\n\n    return results\n",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "Project function reference, flair",
      "display": "flair_recognizer.py · analyze()",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "Project repository, flair",
      "display": "data-privacy-stack/presidio",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "Project stars, data-privacy-stack/presidio",
      "display": "11.9K",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Project push date, data-privacy-stack/presidio",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F94": {
      "label": "Developer need",
      "display": "Combining explicit text rules with entity labels",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Why choose spacy",
      "display": "the EntityRuler pipeline component",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Developer need in introduction",
      "display": "combining explicit text rules with entity labels",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "When to consider gliner",
      "display": "task labels should be supplied at prediction time",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need",
      "display": "Inspecting several NER models together",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Why choose stanza",
      "display": "per-token multi_ner outputs",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need in introduction",
      "display": "inspecting several NER models together",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "When to consider spacy",
      "display": "explicit entity rules are part of the pipeline",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need",
      "display": "Using a finer predefined entity label set",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Why choose flair",
      "display": "an OntoNotes model",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need in introduction",
      "display": "using a finer predefined entity label set",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "When to consider stanza",
      "display": "outputs from several taggers should be retained",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "Supplying task labels at prediction time",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose gliner",
      "display": "the predict_entities label argument",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "supplying task labels at prediction time",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Page introduction",
      "display": "Python named entity recognition libraries let text-processing developers identify named entities in text.",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "FAQ: Which library accepts entity labels at prediction time?",
      "display": "GLiNER predict_entities accepts the labels to predict as an input argument.",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "FAQ: Can rules be combined with entity extraction in spaCy?",
      "display": "The own EntityRuler module adds labeled string and token patterns to the pipeline.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: Does the standard spaCy entity recognizer return overlapping spans?",
      "display": "Its EntityRecognizer identifies non-overlapping labeled token spans.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: How are character offsets named?",
      "display": "spaCy entity spans expose start_char and end_char character offsets.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: How are character offsets named?",
      "display": "Flair spans expose start_position and an exclusive end_position.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: How are character offsets named?",
      "display": "GLiNER records use start/end positions to slice the original prediction text.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: How does Stanza expose named entities?",
      "display": "Entities are available at document or sentence level, while token-level tags use Token.ner.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Can Stanza preserve outputs from more than one NER model?",
      "display": "The multi_ner field retains each configured NER model’s token output in order.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Why does Stanza NER need a tokenizer?",
      "display": "Its NERProcessor requires TokenizeProcessor, so include tokenize in a custom processor selection.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: How can Stanza NER memory use be reduced?",
      "display": "Reduce ner_batch_size; increasing the sentence minibatch increases working-memory demand.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does the default Flair model cover every entity type?",
      "display": "The standard English tagger is trained on the CoNLL task and has its specific entity categories.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does the default Flair model cover every entity type?",
      "display": "OntoNotes models provide a larger predefined entity label set.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Which GLiNER batch API should new code use?",
      "display": "The released batch_predict_entities helper is deprecated and forwards to inference.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: How are GLiNER labels mapped into application results?",
      "display": "The example adapter maps labels, filters requested types, and adds explanations around native predictions.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: How are GLiNER labels mapped into application results?",
      "display": "Its returned score comes directly from the model prediction.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "Library name, transformers",
      "display": "Transformers",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Monthly downloads, transformers",
      "display": "120.5M",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "License, transformers",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Package release, transformers",
      "display": "5.23.0",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Package release date, transformers",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Install, transformers",
      "display": "pip install \"transformers[torch,sentencepiece]\"",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Quickstart, transformers",
      "display": "from transformers import pipeline\n\nner = pipeline(model=\"Jean-Baptiste/camembert-ner\", aggregation_strategy=\"simple\")\nentities = ner(\"Je m’appelle Jean-Baptiste.\")\n",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Official description, transformers",
      "display": "Defines and runs machine learning models for text, vision, audio, and multimodal tasks.",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Quickstart source file, transformers",
      "display": "src/transformers/pipelines/token_classification.py",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Repository stars, transformers",
      "display": "169.2K",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "NER character offsets, transformers",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Inference-time label prompts, transformers",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Native NER role, transformers",
      "display": "Pretrained token-classification model inference and training in a broad model framework.",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Result and offset contract, transformers",
      "display": "Native TokenClassificationPipeline dictionaries can include start/end with compatible tokenizers. Aggregatedspan and token-level outputs differ; offsets may be unavailable for incompatible slowtokenizers,not guaranteed for every model.",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Host and model prerequisites, transformers",
      "display": "Python3.11+,supported Torch backend,tokenizer resources,and public French checkpoint cached/downloadable. sentencepiece extra included for tokenizer support; model hub/cache access required.",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Exact external integration, transformers",
      "display": "Actual function locally imports current AutoTokenizer,AutoModelForTokenClassification,and pipeline. HF_MODEL is the full module constant for a named pretrained token classifier. Current5.23 supports positional checkpointid for both factories,and pipeline(\"token-classification\",model=...,tokenizer=...,aggregation_strategy=\"simple\"). No old return_all_scores or ignore_labels option.",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Project function, transformers",
      "display": "def _build_simple_ner_pipeline():\n    \"\"\"Create a Hugging Face token-classification pipeline for NER.\n\n    Returns a callable like: ner(text) -> List[dict]\n    \"\"\"\n    try:\n        from transformers import (\n            AutoModelForTokenClassification,\n            AutoTokenizer,\n            pipeline,\n        )\n    except Exception:\n        _log.error(\"Transformers not installed. Please run: pip install transformers\")\n        raise\n\n    tokenizer = AutoTokenizer.from_pretrained(HF_MODEL)\n    model = AutoModelForTokenClassification.from_pretrained(HF_MODEL)\n    ner = pipeline(\n        \"token-classification\",\n        model=model,\n        tokenizer=tokenizer,\n        aggregation_strategy=\"simple\",  # groups subwords into complete entities\n        # Note: modern Transformers returns `start`/`end` when possible with aggregation\n    )\n    return ner\n",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Project source file, transformers",
      "display": "docs/examples/pii_obfuscate.py",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project full_name, transformers",
      "display": "docling-project/docling",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Project stargazers_count, transformers",
      "display": "70.8K",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Library name, nltk",
      "display": "NLTK",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Monthly downloads, nltk",
      "display": "48.7M",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "License, nltk",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Package release, nltk",
      "display": "3.10.4",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Package release date, nltk",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Install, nltk",
      "display": "pip install nltk",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Quickstart, nltk",
      "display": "import nltk\n\nnltk.download(\"maxent_ne_chunker_tab\")\nnltk.download(\"words\")\nentities = nltk.ne_chunk([(\"Ada\", \"NNP\"), (\"Lovelace\", \"NNP\")])\n",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Official description, nltk",
      "display": "Provides the Natural Language Toolkit.",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Quickstart source file, nltk",
      "display": "nltk/chunk/named_entity.py",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Repository stars, nltk",
      "display": "14.8K",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "NER character offsets, nltk",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Inference-time label prompts, nltk",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Native NER role, nltk",
      "display": "Traditional English maxent entity chunks over explicitly tokenized and POS-tagged input.",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Result and offset contract, nltk",
      "display": "Native ne_chunk returns Tree over POS-tagged tokens,not direct entity character spans. Independent tokenization spans and host reconciliation can derive them,as the actual admitted GoogleResearch function does.",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Host and model prerequisites, nltk",
      "display": "Python3.10+ and NLTKdata network/cache for chunker plus Englishwordlist. Input is already POS-tagged,so this starter does not need a POS-tagger model; external GoogleResearch workflow additionally needs current English tagger data.",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Exact external integration, nltk",
      "display": "Whole source binds self.nltk_tokenizer to current nltk.tokenize.TreebankWordTokenizer. span_tokenize(text) yields half-open character spans used to reconstruct strings. pos_tag accepts tokenstrings/defaultEnglish; ne_chunk accepts POS-tagged tuples and returns a mixed Tree of tagged tokens and entitysubtrees. NativeTree.label returns an entity-type string; repeated label calls are genuine original source,not padded.",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Project function, nltk",
      "display": "def _annotate_entities(self, text):\n  spans = list(self.nltk_tokenizer.span_tokenize(text))\n  tokens = [text[b:e] for (b, e) in spans]\n  annotations = []\n  trees = nltk.ne_chunk(nltk.pos_tag(tokens))\n  start_index = 0\n  for tree in trees:\n    if hasattr(tree, 'label'):\n      children = [text for text, pos in tree]\n      end_index = start_index + len(children)\n      if tree.label() in self.nltk_pos_types:\n        begin, _ = spans[start_index]\n        _, end = spans[end_index - 1]\n        surface_form = ' '.join(children)\n        # There are edge cases when these are not equal.\n        # For example, Diminish'd != Diminish 'd\n        # assert text[begin:end] == surface_form, text\n        surface_form = text[begin:end]\n        annotations.append(\n            data_utils.Annotation(\n                begin=begin, end=end - 1, text=surface_form, label=1, type=1))\n      start_index = end_index\n    else:\n      start_index += 1\n  annotations.sort(key=lambda a: (a.begin, a.end))\n  sentence = data_utils.Sentence(text=text, annotations=annotations)\n  sentence.strip_whitespaces()\n  return sentence\n",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Project source file, nltk",
      "display": "readtwice/models/trivia_qa/preprocess_lib.py",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project full_name, nltk",
      "display": "google-research/google-research",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Project stargazers_count, nltk",
      "display": "39.2K",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Library name, spacy",
      "display": "spaCy",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Monthly downloads, spacy",
      "display": "25.2M",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "License, spacy",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Package release, spacy",
      "display": "3.8.18",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Package release date, spacy",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Install, spacy",
      "display": "pip install spacy",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Quickstart, spacy",
      "display": "import spacy\n\nnlp = spacy.load(\"en_core_web_sm\")\ndoc = nlp(\"Ada Lovelace worked in London.\")\n",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Repository stars, spacy",
      "display": "34.1K",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "NER character offsets, spacy",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Inference-time label prompts, spacy",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Native NER role, spacy",
      "display": "Trainable entity recognizer and rule-based span ecosystem in a complete NLP pipeline.",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Result and offset contract, spacy",
      "display": "Doc.ents Span.start_char/end_char are half-open character offsets into original document text.",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Host and model prerequisites, spacy",
      "display": "Supported Python/spaCy and compatible en_core_web_sm artifact; CLI model download must finish before this first inference. Package license and model asset license are separate scopes.",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Exact external integration, spacy",
      "display": "Full original module initializes nlp with spacy.load(\"en_core_web_sm\"); this is a current Language object. Calling nlp(input.text) runs configured pipeline; its Doc.ents yields Span objects with current text,label_,start_char,end_char. Entities are filtered through the original host Enum; unknown types are skipped.",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Project function, spacy",
      "display": "def named_entity_recognition(input: TextInput) -> NamedEntitiesOutput:\n    doc = nlp(input.text)\n    results = []\n    for ent in doc.ents:\n        try:\n            entity_type = Entity(ent.label_)\n            if entity_type in input.entity_types:\n                results.append(\n                    NamedEntity(\n                        text=ent.text,\n                        start_char=ent.start_char,\n                        end_char=ent.end_char,\n                        label=entity_type,\n                    )\n                )\n        except ValueError:\n            continue\n\n    return NamedEntitiesOutput(__root__=results)\n",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project source file, spacy",
      "display": "examples/named_entity_recognition/app.py",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project full_name, spacy",
      "display": "ml-tooling/opyrator",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project stargazers_count, spacy",
      "display": "3.1K",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Library name, presidio-analyzer",
      "display": "Presidio Analyzer",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Monthly downloads, presidio-analyzer",
      "display": "6.3M",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "License, presidio-analyzer",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Package release, presidio-analyzer",
      "display": "2.2.366",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Package release date, presidio-analyzer",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Install, presidio-analyzer",
      "display": "pip install presidio-analyzer",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Quickstart, presidio-analyzer",
      "display": "from presidio_analyzer import AnalyzerEngine\n\nanalyzer = AnalyzerEngine()\nresults = analyzer.analyze(text=\"Ada Lovelace worked in London.\", language=\"en\")\n",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Official description, presidio-analyzer",
      "display": "Provides the Presidio Analyzer package.",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Quickstart source file, presidio-analyzer",
      "display": "docs/analyzer/index.md",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Repository stars, presidio-analyzer",
      "display": "12.0K",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "NER character offsets, presidio-analyzer",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Inference-time label prompts, presidio-analyzer",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Native NER role, presidio-analyzer",
      "display": "PII-focused analyzer combining language-modelNER,patterns,and other recognizers.",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Result and offset contract, presidio-analyzer",
      "display": "RecognizerResult carries start/end; language,recognizer,and text normalization must remain aligned. Analyzer also returns non-NER PII matches.",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Host and model prerequisites, presidio-analyzer",
      "display": "Python3.11–3.14 per selected metadata; default compatible spaCy engine and en_core_web_lg model installed. Default analyzer mixes NER and non-NERrecognizers. Installation docs source captured separately.",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Exact external integration, presidio-analyzer",
      "display": "Exact whole module binds analyzer through build_analyzer()->AnalyzerEngine with selectedlanguage/model configuration. Current2.2.366 analyze accepts text,language,entities,score_threshold,return_decision_process,nlp_artifacts,and ad_hoc_recognizers. Optional None entities/threshold retain native defaults; supplied NlpArtifacts must match requestedlanguage. Regex-only branch intentionally bypasses spaCy; other requests run the configured NERbackend.",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Optional GLiNER environment, presidio-analyzer",
      "display": "[\"gliner<1.0.0,>=0.2.29; extra == \\\"gliner\\\"\", \"huggingface_hub; extra == \\\"gliner\\\"\", \"onnxruntime>=1.19; extra == \\\"gliner\\\"\", \"transformers<5.17.0,>=4.51.3; extra == \\\"gliner\\\"\"]",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project function, presidio-analyzer",
      "display": "def _analyze_one(\n    text: str,\n    language: str,\n    entities: list[str] | None,\n    score_threshold: float | None,\n    return_decision_process: bool = False,\n    ad_hoc_recognizers: list[PatternRecognizer] | None = None,\n):\n    regex_only = _regex_only(entities, score_threshold)\n    if not regex_only and len(text) > NER_WINDOW_CHARS:\n        return _analyze_long(\n            text, language, entities, score_threshold, return_decision_process, ad_hoc_recognizers\n        )\n    # Regex-only requests reuse a blank NlpArtifacts to skip the spaCy NLP pass;\n    # otherwise analyze() computes artifacts (runs spaCy) as usual. Custom-pattern\n    # recognizers are regex-based, so they run fine against the blank artifacts.\n    nlp_artifacts = _BLANK_ARTIFACTS.get(language) if regex_only else None\n    with nullcontext() if regex_only else _NER_SLOT:\n        return analyzer.analyze(\n            text=text,\n            language=language,\n            entities=entities or None,\n            score_threshold=score_threshold,\n            return_decision_process=return_decision_process,\n            nlp_artifacts=nlp_artifacts,\n            ad_hoc_recognizers=ad_hoc_recognizers or None,\n        )\n",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project source file, presidio-analyzer",
      "display": "apps/pii/server.py",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Project full_name, presidio-analyzer",
      "display": "simstudioai/sim",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Project stargazers_count, presidio-analyzer",
      "display": "30.2K",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Library name, stanza",
      "display": "Stanza",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Monthly downloads, stanza",
      "display": "997.2K",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "License, stanza",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Package release, stanza",
      "display": "1.15.1",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Package release date, stanza",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Install, stanza",
      "display": "pip install stanza",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Quickstart, stanza",
      "display": "import stanza\n\nnlp = stanza.Pipeline(lang=\"en\", processors=\"tokenize,ner\")\ndoc = nlp(\"Ada Lovelace worked in London.\")\n",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Repository stars, stanza",
      "display": "7.9K",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "NER character offsets, stanza",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Inference-time label prompts, stanza",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Native NER role, stanza",
      "display": "Language-specific neuralNER processor within a linguistic analysis pipeline.",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Result and offset contract, stanza",
      "display": "Document/Sentence entity objects expose start_char/end_char; model/language determines entity tags and coverage.",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Host and model prerequisites, stanza",
      "display": "Python3.9+,compatible PyTorch and English tokenize+NER weights/resources. Complete official model setup needed; current Pipeline may obtain required resources according to configured download mode. No model download or device availability tested.",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Exact external integration, stanza",
      "display": "Outer create_tokenizer lexically captures language,dir,package,processors,logging_level,verbose,use_gpu,and kwargs; actual module imports Pipeline from stanza. Current1.15.1 Pipeline accepts these options. This is a source-original factory that loads a configured pipeline; NER must be selected/available in caller processor/model settings. Original compatible StanzaTokenizer host wrapper and spaCy vocab are required.",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project function, stanza",
      "display": "def tokenizer_factory(\n    nlp,\n    lang=lang,\n    dir=dir,\n    package=package,\n    processors=processors,\n    logging_level=logging_level,\n    verbose=verbose,\n    use_gpu=use_gpu,\n    kwargs=kwargs,\n) -> StanzaTokenizer:\n    if dir is None:\n        dir = DEFAULT_MODEL_DIR\n    snlp = Pipeline(\n        lang=lang,\n        dir=dir,\n        package=package,\n        processors=processors,\n        logging_level=logging_level,\n        verbose=verbose,\n        use_gpu=use_gpu,\n        **kwargs,\n    )\n    return StanzaTokenizer(\n        snlp,\n        nlp.vocab,\n    )\n",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Project source file, stanza",
      "display": "spacy_stanza/tokenizer.py",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Project full_name, stanza",
      "display": "explosion/spacy-stanza",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Project stargazers_count, stanza",
      "display": "748",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Library name, gliner",
      "display": "GLiNER",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Monthly downloads, gliner",
      "display": "799.3K",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "License, gliner",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Package release, gliner",
      "display": "0.2.30",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Package release date, gliner",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Install, gliner",
      "display": "pip install gliner",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Quickstart, gliner",
      "display": "from gliner import GLiNER\n\nmodel = GLiNER.from_pretrained(\"gliner-community/gliner_small-v2.5\")\nentities = model.predict_entities(\"Ada Lovelace worked in London.\", [\"person\", \"city\"])\n",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Repository stars, gliner",
      "display": "4.3K",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "NER character offsets, gliner",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Inference-time label prompts, gliner",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Native NER role, gliner",
      "display": "Entity-label prompts supplied directly to a generalist NER model at inference.",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Result and offset contract, gliner",
      "display": "Current actual API dictionaries expose start/end consumed by supported Presidio integration; model type/flat or multilabel configuration preserved.",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Host and model prerequisites, gliner",
      "display": "Python3.10+,compatible Torch/Transformers dependencies resolved from selected GLiNERmetadata,and specified public model/tokenizer cached/downloadable. Labels supplied at inference; no independent accuracy claim.",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Exact external integration, gliner",
      "display": "Outer real Presidio GLiNERRecognizer.load binds self.gliner from GLiNER.from_pretrained(model_name,map_location,load_onnx_model,onnx_model_file,**model_kwargs); current0.2.30 supports those options. Exact nested predict_func passes text,labels,flat_ner,threshold,and multi_label,all present in current signature. labels/entities/self are actual retained closurebindings,not invented parameters.",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Project function, gliner",
      "display": "def predict_func(text: str) -> List[RecognizerResult]:\n    # Get predictions from GLiNER (returns dicts)\n    gliner_predictions = self.gliner.predict_entities(\n        text=text,\n        labels=labels,\n        flat_ner=self.flat_ner,\n        threshold=self.threshold,\n        multi_label=self.multi_label,\n    )\n\n    # Convert dicts to RecognizerResult objects\n    results = []\n    for pred in gliner_predictions:\n        presidio_entity = self.model_to_presidio_entity_mapping.get(\n            pred[\"label\"], pred[\"label\"]\n        )\n\n        # Filter by requested entities\n        if entities and presidio_entity not in entities:\n            continue\n\n        analysis_explanation = AnalysisExplanation(\n            recognizer=self.name,\n            original_score=pred[\"score\"],\n            textual_explanation=f\"Identified as {presidio_entity} by GLiNER\",\n        )\n\n        results.append(\n            RecognizerResult(\n                entity_type=presidio_entity,\n                start=pred[\"start\"],\n                end=pred[\"end\"],\n                score=pred[\"score\"],\n                analysis_explanation=analysis_explanation,\n            )\n        )\n    return results\n",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Project source file, gliner",
      "display": "presidio-analyzer/presidio_analyzer/predefined_recognizers/ner/gliner_recognizer.py",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Project full_name, gliner",
      "display": "data-privacy-stack/presidio",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Project stargazers_count, gliner",
      "display": "11.9K",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Library name, spark-nlp",
      "display": "Spark NLP",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Monthly downloads, spark-nlp",
      "display": "790.4K",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "License, spark-nlp",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Package release, spark-nlp",
      "display": "7.0.1",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Package release date, spark-nlp",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Install, spark-nlp",
      "display": "pip install spark-nlp",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Quickstart, spark-nlp",
      "display": "import sparknlp\nfrom sparknlp.pretrained import PretrainedPipeline\n\nspark = sparknlp.start()\nmodel = PretrainedPipeline(\"explain_document_dl\", lang=\"en\")\nresult = model.annotate(\"Ada Lovelace worked in London.\")\n",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Official description, spark-nlp",
      "display": "Annotates text with NLP models on Apache Spark ML.",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Quickstart source file, spark-nlp",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Repository stars, spark-nlp",
      "display": "4.2K",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "NER character offsets, spark-nlp",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Inference-time label prompts, spark-nlp",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Native NER role, spark-nlp",
      "display": "Distributed Spark annotation pipeline with core pretrained neuralNER and entity conversion.",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Result and offset contract, spark-nlp",
      "display": "Full Spark annotations carry begin/end. NerDL is token tagging; NerConverter can produce entity chunks. Simplified annotate()strings omit offsets; keep fullAnnotate/DataFrame annotations and SDK-specific end conventions,not assumed universal Python slicing.",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Host and model prerequisites, spark-nlp",
      "display": "Compatible Java/Spark/PySpark runtime and matching SparkNLPJAR per selected published README; model/JAR download access required. This pretrainedpipeline includesNER among other annotators. annotate returns simplified strings; fullAnnotate retains annotation offsets. No Spark/JVM/model service started.",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Exact external integration, spark-nlp",
      "display": "Actual historical module uses the same star import shown by current7.0.1 public NerDLModel example. pretrained(name=\"ner_dl_bert\",lang=\"en\") has a current str-name/lang resource lookup contract. setInputCols accepts source sentence/token/word_embeddings column names, setOutputCol sets ner, and current Model.setIncludeConfidence(True) returns the configured model via _set. These methods remain present; age/pin alone is not rejected.",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Library name, polyglot",
      "display": "Polyglot",
      "asOf": "2026-11-20"
    },
    "F257": {
      "label": "Monthly downloads, polyglot",
      "display": "88.3K",
      "asOf": "2026-11-20"
    },
    "F258": {
      "label": "License, polyglot",
      "display": "GPLv3",
      "asOf": "2026-11-20"
    },
    "F259": {
      "label": "Package release, polyglot",
      "display": "16.7.4",
      "asOf": "2026-11-20"
    },
    "F260": {
      "label": "Package release date, polyglot",
      "display": "Jul 2016",
      "asOf": "2026-11-20"
    },
    "F261": {
      "label": "Install, polyglot",
      "display": "pip install polyglot",
      "asOf": "2026-11-20"
    },
    "F262": {
      "label": "Quickstart, polyglot",
      "display": "from polyglot.text import Text\n\ntext = Text(\"Ada Lovelace worked in London.\", hint_language_code=\"en\")\nentities = text.entities\n",
      "asOf": "2026-11-20"
    },
    "F263": {
      "label": "Official description, polyglot",
      "display": "Runs a natural language pipeline for multilingual applications.",
      "asOf": "2026-11-20"
    },
    "F264": {
      "label": "Quickstart source file, polyglot",
      "display": "NamedEntityRecognition.html",
      "asOf": "2026-11-20"
    },
    "F265": {
      "label": "Repository stars, polyglot",
      "display": "2.4K",
      "asOf": "2026-11-20"
    },
    "F266": {
      "label": "NER character offsets, polyglot",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F267": {
      "label": "Inference-time label prompts, polyglot",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F268": {
      "label": "Native NER role, polyglot",
      "display": "Legacy multilingual pretrainedLOC/ORG/PER recognition over token chunks.",
      "asOf": "2026-11-20"
    },
    "F269": {
      "label": "Result and offset contract, polyglot",
      "display": "Native entities builds Chunk(self.words[start:i],start,i): these are word-index bounds,not original source character offsets. Caller can reconcile token spans separately; not claimed impossible.",
      "asOf": "2026-11-20"
    },
    "F270": {
      "label": "Host and model prerequisites, polyglot",
      "display": "Published2016distribution has no Requires-Python marker. Legacy docs list Python>=2.7or>=3.4,NumPy,and ICUdevelopment packages; this is not a claim of tested current-Python compatibility. English embedding/NER models must be downloaded before access.",
      "asOf": "2026-11-20"
    },
    "F271": {
      "label": "Release and runtime certainty, polyglot",
      "display": "Latest selected artifact2016-07-03; no Requires-Python metadata. Legacy official install guide is not a current-runtime compatibility test.",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python named entity recognition libraries spaCy Stanza Flair GLiNER code examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
