Skip to content
Back to skills

Stanza

ASecurity

"Use Stanza for neural NLP pipelines, CoreNLP client workflows,

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
datapythonjava

Works with

  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill stanza --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stanza?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stanza
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-stanza/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-stanza)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stanza
description: "Use Stanza for neural NLP pipelines, CoreNLP client workflows,
  CoNLL-U documents, training data, and demos."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Stanza Repo Skill

Use this skill when a task involves the `stanza` Python NLP package from the Stanford NLP Group: neural NLP pipelines, model resources, CoNLL-U documents, Java Stanford CoreNLP access, Stanza model training/data preparation, or demo/visualization adaptation.

## First checks

- Install/use a normal Python package environment with `stanza` importable.
- Minimal import smoke:

```python
import stanza
from stanza import Pipeline, MultilingualPipeline, Document
from stanza.utils.conll import CoNLL
print(stanza.__version__)
```

- Run `scripts/check_environment.py --help` for a no-download diagnostic helper.
- Read `references/repo-provenance.md` before deciding whether this skill is current for a checkout.
- Read `references/troubleshooting.md` when install/import, resource, optional dependency, CoreNLP, or training setup fails.

## Route by task

| Task intent | Read |
| --- | --- |
| Build or debug `stanza.Pipeline`, `MultilingualPipeline`, processor lists, model packages, model caches, downloads, offline mode, GPU/CPU selection, batching, or streaming | `sub-skills/pipelines-and-resources/SKILL.md` |
| Parse, write, validate, or manipulate Stanza `Document`, `Sentence`, `Token`, `Word`, NER/coref fields, serialized docs, or CoNLL-U | `sub-skills/documents-and-conllu/SKILL.md` |
| Use Java Stanford CoreNLP through Stanza: `CoreNLPClient`, server lifecycle, external server mode, properties, output formats, Semgrex/TokensRegex/Tregex/Ssurgeon/Tsurgeon, protobuf | `sub-skills/corenlp-client/SKILL.md` |
| Plan custom model training, evaluation, data conversion, pretrains, charlms, training wrappers, UD/NER/constituency/coref data roots, or safe training command construction | `sub-skills/training-and-data-prep/SKILL.md` |
| Adapt demos, notebooks, dependency/NER visualization, Streamlit/browser visualizers, or produce static HTML from existing annotations | `sub-skills/visualization-and-demos/SKILL.md` |

## Package entry points to remember

- `stanza.download(lang=..., processors=..., package=..., model_dir=..., proxies=...)` stages model resources.
- `stanza.Pipeline(lang='en', processors='tokenize,pos,lemma,depparse', download_method=...)` builds the neural pipeline.
- `stanza.MultilingualPipeline(...)` detects language and routes batches to per-language pipelines.
- `stanza.Document` and `stanza.utils.conll.CoNLL` handle document objects and CoNLL-U conversion.
- `stanza.server.CoreNLPClient` talks to a Java Stanford CoreNLP server.
- `python -m stanza.models.<module>` and `python -m stanza.utils.training.run_<task>` expose training/evaluation helpers.

## Safety and boundaries

- Model downloads, CoreNLP distribution downloads, word-vector downloads, notebook execution, Java server startup, W&B logging, and full model training are side-effectful. Make them explicit and obtain task approval before running them.
- Do not assume GPU is required. Stanza supports CPU for functional workflows; CUDA is optional acceleration unless a user specifically asks for GPU validation.
- Do not use this runtime skill as a link farm back to a source checkout. The references and scripts here are self-contained for Stanza 1.14.0 behavior.

## References

- `references/package-overview.md` summarizes package surfaces, dependencies, and extras.
- `references/troubleshooting.md` covers cross-cutting failures and routes to sub-skill troubleshooting.
- `references/repo-provenance.md` records the source snapshot and evidence paths.
- `references/repo-routing-metadata.json` provides structured router metadata for managed import tooling.

Files in this skill

  • SKILL.md3.7 KB
  • references/package-overview.md3.1 KB
  • references/repo-provenance.md2.9 KB
  • references/repo-routing-metadata.json527 B
  • references/troubleshooting.md6.1 KB
  • scripts/check_environment.py6.2 KB
  • sub-skills/corenlp-client/SKILL.md1.7 KB
  • sub-skills/corenlp-client/references/api-reference.md6.3 KB
  • sub-skills/corenlp-client/references/pattern-engines.md4 KB
  • sub-skills/corenlp-client/references/troubleshooting.md4.7 KB
  • sub-skills/corenlp-client/references/workflows.md3.8 KB
  • sub-skills/corenlp-client/scripts/check_corenlp_client.py18.2 KB
  • sub-skills/documents-and-conllu/SKILL.md1.2 KB
  • sub-skills/documents-and-conllu/references/api-reference.md4.9 KB
  • sub-skills/documents-and-conllu/references/data-formats.md3.2 KB
  • sub-skills/documents-and-conllu/references/troubleshooting.md4.3 KB
  • sub-skills/documents-and-conllu/references/workflows.md2.4 KB
  • sub-skills/documents-and-conllu/scripts/validate_conllu.py2.8 KB
  • sub-skills/pipelines-and-resources/SKILL.md1.3 KB
  • sub-skills/pipelines-and-resources/references/api-reference.md5.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…