Urgent.News

What's breaking now, across hundreds of outlets.

Tech

HanLP Edges spaCy: 50 Open Source Named Entity Recognition Tools Ranked by GitHub Stars

HanLP and spaCy lead 50 open source named entity recognition tools with 1,000+ GitHub stars, from GLiNER and Presidio to Chinese NER and labeling tools.

HanLP Edges spaCy: 50 Open Source Named Entity Recognition Tools Ranked by GitHub Stars

HanLP recently surpassed spaCy as the most-starred open source named entity recognition (NER) project on GitHub, boasting 36.5K stars compared to spaCy's 34.1K. For those unfamiliar, NER identifies key elements like people, places, companies, dates and amounts within text. This category is experiencing a resurgence thanks to the GLiNER paper from NAACL 2024, which demonstrated a compact bidirectional encoder outperforming both ChatGPT and fine-tuned large language models in zero-shot NER benchmarks while requiring less computational power.

Privacy concerns have also reshaped the landscape, as many of the top NER projects now focus on detecting and redacting personally identifiable information (PII). The list of 50 open source NER tools, ranked by GitHub stars, was compiled from the Text Mining directory, which monitors 7,044 text mining projects on GitHub. Python dominates this category with 201 of the 297 NER repos, followed by JavaScript (13) and Java (12).

Chinese NER has its own unique category, with 66 of the top 297 repositories addressing Chinese-language tasks, including 16 of the top 50. Many of these repositories have not seen updates since before 2024, with some still relying on early BERT implementations. The live edge is dominated by zero-shot and privacy-focused tools, including GLiNER, spacy-llm, Presidio, OpenMed and rizzo-pii.

When selecting a NER tool, consider your specific needs - production pipelines might prefer spaCy or stanza, zero-shot NER could benefit from GLiNER or spacy-llm, PII detection can be handled by presidio or openmed, and Chinese-language tasks are best addressed by HanLP or Chinese-specific tools like HanLP, lac, Jiagu, xmnlp and CLUENER2020.

Keep in mind licensing requirements - 80 of the 297 repositories do not specify a license, with CoreNLP released under GPL-3.0.

Rewritten by urgent.news; may contain errors — check the original.

Source: hackernoon.com

Read the original at hackernoon.com →

Report a problem with this story

More in Tech

More from Monday, 23 November 2026 →