stanza
A Python NLP Library for Many Human Languages, by the Stanford NLP Group
What it is and what it does
Stanza is Stanford NLP Group's official Python library for multilingual natural language processing. It provides a neural pipeline for core NLP tasks—tokenization, lemmatization, part-of-speech tagging, dependency parsing, and named entity recognition—across 60+ languages. The library also wraps Java Stanford CoreNLP for users who need additional capabilities. Biomedical and clinical English models are available for domain-specific work in medical text and literature.
The package depends on PyTorch for its neural components, along with supporting libraries like numpy, networkx, requests, and huggingface-hub for model management. Installation is straightforward via pip, and models auto-download on first pipeline use. It's designed for researchers, developers, and production systems that need accurate, language-agnostic NLP without building models from scratch.
Use it for:
- Extract grammatical structure and named entities from documents in multiple languages for information extraction pipelines
- Analyze syntactic dependencies in biomedical literature or clinical notes for domain-specific NLP tasks
- Build multilingual chatbots or question-answering systems that require tokenization and semantic understanding
- Process non-English text in research projects where language support across 60+ languages is needed
- Integrate with Java CoreNLP workflows from Python for advanced linguistic analysis or custom rule-based processing
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Stanza is a Python NLP library that runs accurate natural language processing tools on 60+ languages, including tokenization, part-of-speech tagging, dependency parsing, and named entity recognition, with optional access to Java Stanford CoreNLP.
Yes. Stanza is actively maintained, has no known vulnerabilities, installs with low friction, and is permissively licensed. It's the standard choice for researchers and developers needing accurate, out-of-the-box multilingual NLP. Install it if you need dependency parsing, NER, or POS tagging across many languages or in biomedical domains; skip it only if you need real-time performance on resource-constrained systems or prefer a lighter-weight alternative.
Install
stanza on PyPI
pip
pip install stanzauv
uv add stanzapoetry
poetry add stanzaInstalling stanza
Before you install
Low friction installation via pip with wheel distribution. Active maintenance—last release 30 days ago, repository updated 2026-08-14, 7861 stars. Requires PyTorch 1.3.0 or above as a core dependency alongside 10 other runtime packages.
License in practice
Apache License 2.0 (permissive) allows commercial and private use with minimal restrictions, making it suitable for most production and research applications.
Quickstart
pip install stanza
import stanza
stanza.download('en')
nlp = stanza.Pipeline('en')
doc = nlp("Barack Obama was born in Hawaii.")
print(doc.sentences[0].print_dependencies())
Requires Python 3.9 or later. PyTorch 1.3.0+ must be installed (typically resolved by pip). Models are downloaded on first use or via explicit stanza.download() call.
Verify before relying
- Performance characteristics (speed, memory usage) for large-scale document processing across different languages
- Exact model download size and storage requirements for the 60+ supported languages
- Compatibility and integration details with the Java Stanford CoreNLP backend beyond basic setup
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 11 — emoji, numpy, platformdirs, protobuf, requests, networkx, tomli, torch, tqdm, udtools, huggingface-hub |
| Maintenance | actively maintained — 30 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,116,772/month — #4,349 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: stanza-1.14.0-py3-none-any.whl
Keywords: natural-language-processing, nlp, natural-language-understanding, stanford-nlp, deep-learning
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
spacyspaCy is an industrial-strength NLP library…
permissive · top 1,000 on PyPI
urduhackUrduhack provides NLP preprocessing,…
permissive · top 15,000 on PyPI
nltkNLTK is a Python library for natural language…
permissive · top 1,000 on PyPI
ginzaGiNZA is a Japanese NLP library that performs…
permissive · top 15,000 on PyPI
polyglotPolyglot is a multilingual natural language…
copyleft · top 15,000 on PyPI
glinerGLiNER is a lightweight framework for named…
permissive · top 15,000 on PyPI
minisbdDetects sentence boundaries in text across many…
agpl · top 15,000 on PyPI
ja-ginzaA pre-trained Japanese NLP model for spaCy that…
permissive · top 15,000 on PyPI
flairFlair is a PyTorch-based NLP framework that…
permissive · top 15,000 on PyPI
spark-nlpSpark NLP provides distributed natural language…
permissive · top 5,000 on PyPI