SHORTLIST20
English
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
Programming

natural language processing libraries

NLP libraries across programming languages, ranked by GitHub stars

Updated · GitHub stars (stars)

Why these 20

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

Is this list useful?
  1. 1

    Transformers

    A deep learning library containing thousands of pre-trained models on different tasks. The goto place for anything related to Large Language Models.

    169,363 stars 35,316 forkslast push 2026-11-26PythonApache-2.0

    Also in: #2 Python AI, LLM and agent libraries

  2. 2

    jieba

    Chinese Words Segmentation Utilities.

    35,256 stars 6,668 forkslast push 2024-08-21PythonMIT

  3. 3

    spaCy

    Industrial strength NLP with Python and Cython.

    34,095 stars 4,754 forkslast push 2026-11-21PythonMIT

  4. 4

    Haystack

    A framework for building industrial-strength applications with Transformer models and LLMs.

    27,118 stars 3,514 forkslast push 2026-11-26PythonApache-2.0

  5. 5

    Rasa

    A "machine learning framework to automate text-and voice-based conversations."

    21,402 stars 4,912 forkslast push 2026-07-24PythonApache-2.0

  6. 6

    SentencePiece ▲1

    A C++ library for unsupervised text tokenization and detokenization, widely used in modern NLP models.

    12,182 stars 1,403 forkslast push 2026-11-25C++Apache-2.0

  7. 7

    NLP Compromise ▼1

    Natural Language processing in the browser.

    12,174 stars 675 forkslast push 2026-11-26JavaScriptMIT

  8. 8

    huggingface/tokenizers

    Fast State-of-the-Art Tokenizers optimized for Research and Production

    11,321 stars 1,286 forkslast push 2026-11-26RustApache-2.0

    Also in: #5 Rust AI and machine learning libraries#3 Rust machine learning libraries

  9. 9

    natural

    General natural language facilities for node.

    10,884 stars 851 forkslast push 2026-10-26JavaScriptMIT

  10. 10

    Pattern

    A web mining module for the Python programming language. It has tools for natural language processing, machine learning, among others.

    8,856 stars 1,547 forkslast push 2026-08-05PythonBSD-3-Clause

  11. 11

    pkuseg-python

    A better version of Jieba, developed by Peking University.

    6,708 stars 977 forkslast push 2022-11-05PythonMIT

  12. 12

    SnowNLP

    A library for processing Chinese text.

    6,644 stars 1,343 forkslast push 2020-01-19PythonMIT

  13. 13

    nlp.js

    An NLP library built in node over Natural, with entity extraction, sentiment analysis, automatic language identify, and so more.

    6,583 stars 634 forkslast push 2025-01-09JavaScriptMIT

  14. 14

    Spark NLP

    Natural language processing library built on top of Apache Spark ML to provide simple, performant, and accurate NLP annotations for machine learning...

    4,161 stars 743 forkslast push 2026-11-14ScalaApache-2.0

  15. 15

    Snips NLU

    Natural Language Understanding library for intent classification and entity extraction

    3,970 stars 503 forkslast push 2023-05-22PythonApache-2.0

  16. 16

    Twitter-text-rb

    A library that does auto linking and extraction of usernames, lists and hashtags in tweets.

    3,141 stars 525 forkslast push 2024-04-26HTMLApache-2.0

    Also in: #6 iOS text libraries

  17. 17

    rust-bert

    Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)

    3,094 stars 247 forkslast push 2026-01-13RustApache-2.0

    Also in: #16 Rust AI and machine learning libraries#10 Rust machine learning libraries

  18. 18

    MIT Information Extraction Toolkit

    C, C++, and Python tools for named entity recognition and relation extraction

    2,959 stars 531 forkslast push 2025-09-28C++

  19. 19

    Retext

    Extensible system for analyzing and manipulating natural language.

    2,433 stars 92 forkslast push 2025-02-04JavaScriptMIT

  20. 20

    Polyglot

    Multilingual text (NLP) processing toolkit.

    2,362 stars 336 forkslast push 2023-11-10PythonNOASSERTION

How it is measured

Every tool in the Natural Language Processing section(s) of the community list josephmisiti/awesome-machine-learning on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

References

  1. josephmisiti/awesome-machine-learning: Natural Language Processing, GitHub community list (list text CC0/MIT per repository; star counts from the GitHub API). Checked 2026-11-26 19:17 UTC.
  2. josephmisiti/awesome-machine-learning (Natural Language Processing), GitHub community list, 92 tools with a public repository.