Skip to content
ai-supply.store
EntdeckenKategorienBestenlistenCommunityAgent APIFAQ
AnmeldenKostenlos registrieren
catalog / Language & NLP / NLTK
◆SkillLanguage & NLPFree

NLTK

The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.

@ai-supply
Installationen641k
⟳ upstream v3.10.0-rc1 · updated 1mo ago
↗ Quell-Repository
← More Language & NLPLanguage & NLP leaderboard →How we grade security →Source ↗
! Grade B · 75/100 · ReviewSecurity assessment
✓No compromise signals44capabilities surfaced1known CVE6of 20 OWASP controls clear
External endpoints declaredExternal endpoints declaredExternal endpoints declaredSuspicious code patterns
scanned 18d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

NLTK — Natural Language Toolkit

NLTK is the de facto standard Python library for classical NLP. It provides easy-to-use interfaces to over 50 corpora and lexical resources (including WordNet), along with tokenizers, stemmers, taggers, parsers, semantic reasoners, and a suite of NLP utilities used in education and research worldwide.

Key Features

  • Tokenization — word, sentence, and regexp tokenizers for 50+ languages
  • POS tagging — perceptron and Brill taggers; trained on Penn Treebank
  • Parsing — CFG, PCFG, dependency, and chart parsers with tree visualization
  • Stemming & lemmatization — Porter, Snowball, Lancaster stemmers; WordNet lemmatizer
  • Corpora — bundled access to Reuters, Brown, CoNLL, WordNet, and 50+ more via nltk.download()
  • Semantic reasoning — first-order logic, lambda calculus, and discourse representation structures
  • Classification — Naive Bayes, MaxEnt, Decision Tree classifiers for text

Quick Start

pip install nltk
import nltk
nltk.download('punkt_tab')
nltk.download('averaged_perceptron_tagger_eng')

from nltk.tokenize import word_tokenize
from nltk.tag import pos_tag

text = "NLTK powers thousands of NLP research papers."
tokens = word_tokenize(text)
print(pos_tag(tokens))
# [('NLTK', 'NNP'), ('powers', 'VBZ'), ...]

Install via ai-supply

npx ai-supply add nltk-natural-language-toolkit

Curated mirror of the open-source NLTK (Apache-2.0). Get it from the source.

Rating rank
#1
of 30 in Language & NLP
Install rank
#1
of 30 in Language & NLP
Security score
75/100 · B
review
Security rank
#19
of 30 in Language & NLP
Installs
641k
cat avg 145k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Language & NLP leaderboard →
! Security: Review · 7575/100 · grade Bscanned 18d ago
✓ no compromise signals45 risk-surface · 9/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ shell⚑ network⚑ secrets
egress → docs.github.com, www.nltk.org, www.github.com, git-scm.com, en.wikipedia.org, pre-commit.com, nvie.com, robots.thoughtbot.com +32
30 scripts

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Vulnerable dependencies — 28 known vulnerabilities in: tqdm@4.9.0, pillow@9.5.0, pygments@2.9.0, requests@2.9.2 (CWE-1395)known CVE · -25 pts
⚠LLM01Prompt Injectionhigh
Adversarial instructions embedded in an artifact that hijack a downstream LLM.
•Prompt-injection phrasing — instruction-subversion language detected · nltk-nltk-bd49f90/nltk/test/unit/test_pathsec.py (CWE-77)expected
•Zero-width characters — 10 hidden characters · nltk-nltk-bd49f90/nltk/test/unit/test_tokenize.pyrisk surface
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 1 distinct host(s) · nltk-nltk-bd49f90/.github/dependabot.ymlrisk surface
•External endpoints declared — 4 distinct host(s) · nltk-nltk-bd49f90/CITATION.cffrisk surface
•External endpoints declared — 13 distinct host(s) · nltk-nltk-bd49f90/CONTRIBUTING.mdrisk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · nltk-nltk-bd49f90/ChangeLog (CWE-272)risk surface
•External endpoints declared — 5 distinct host(s) · nltk-nltk-bd49f90/ChangeLogrisk surface
•External endpoints declared — 2 distinct host(s) · nltk-nltk-bd49f90/RELEASE-HOWTO.txtrisk surface
•External endpoints declared — 3 distinct host(s) · nltk-nltk-bd49f90/nltk/classify/tadm.pyrisk surface
•External endpoints declared — 6 distinct host(s) · nltk-nltk-bd49f90/nltk/corpus/reader/wordlist.pyrisk surface
•Broad capability surface — 4 high-impact capability categories referenced — verify least-privilege · nltk-nltk-bd49f90/nltk/test/twitter.ipynb (CWE-272)risk surface
•External endpoints declared — 16 distinct host(s) · nltk-nltk-bd49f90/nltk/test/twitter.ipynbrisk surface
•Egress to a private/loopback host — 127.0.0.1, 169.254.169.254 · nltk-nltk-bd49f90/nltk/test/unit/test_pathsec.py (CWE-918)risk surface
•External endpoints declared — 7 distinct host(s) · nltk-nltk-bd49f90/nltk/test/unit/test_pathsec.pyrisk surface
•External endpoints declared — 9 distinct host(s) · nltk-nltk-bd49f90/nltk/util.pyrisk surface
•External endpoints declared — 11 distinct host(s) · nltk-nltk-bd49f90/web/dev/jenkins.rstrisk surface
•Egress to a private/loopback host — 127.0.0.1, 10.0.0.1, 169.254.169.254 · nltk-nltk-bd49f90/web/news.rst (CWE-918)risk surface
•External endpoints declared — 17 distinct host(s) · nltk-nltk-bd49f90/web/news.rstrisk surface
⚠LLM05Improper Output Handlingmedium
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — dynamic code execution · nltk-nltk-bd49f90/ChangeLog (CWE-95)risk surface
•Suspicious code patterns — OS command execution · nltk-nltk-bd49f90/nltk/classify/megam.py (CWE-78)risk surface
•Suspicious code patterns — OS command execution; dynamic code execution · nltk-nltk-bd49f90/nltk/internals.py (CWE-78)risk surface
•Suspicious code patterns — pickle deserialization · nltk-nltk-bd49f90/nltk/picklesec.py (CWE-502)risk surface
•Suspicious code patterns — OS command execution; dynamic code execution; pickle deserialization · nltk-nltk-bd49f90/nltk/test/parse.doctest (CWE-78)risk surface
•Encoded path traversal — percent/utf-8-encoded '../' sequence — bypasses naive path filters · nltk-nltk-bd49f90/nltk/test/unit/test_data_security.py (CWE-22)risk surface
•Suspicious code patterns — dynamic code execution; pickle deserialization · nltk-nltk-bd49f90/nltk/test/unit/test_pickle_load_warnings.py (CWE-95)risk surface
⚠LLM07System Prompt Leakagemedium
Secrets, internal hosts or proprietary logic exposed in shipped prompts.
•Internal host / private infrastructure reference — shipped content references a private IP range or internal-only host · nltk-nltk-bd49f90/SECURITY.md (CWE-200)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · nltk-nltk-bd49f90/nltk/app/chartparser_app.py (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chaincritical
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Vulnerable dependencies — 28 known vulnerabilities in: tqdm@4.9.0, pillow@9.5.0, pygments@2.9.0, requests@2.9.2 (CWE-1395)known CVE · -25 pts
⚠ML02Data Poisoninghigh
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
•Prompt-injection phrasing — instruction-subversion language detected · nltk-nltk-bd49f90/nltk/test/unit/test_pathsec.py (CWE-77)expected
⚠ML09Output Integritymedium
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — dynamic code execution · nltk-nltk-bd49f90/ChangeLog (CWE-95)risk surface
•Suspicious code patterns — OS command execution · nltk-nltk-bd49f90/nltk/classify/megam.py (CWE-78)risk surface
•Suspicious code patterns — OS command execution; dynamic code execution · nltk-nltk-bd49f90/nltk/internals.py (CWE-78)risk surface
•Suspicious code patterns — pickle deserialization · nltk-nltk-bd49f90/nltk/picklesec.py (CWE-502)risk surface
•Suspicious code patterns — OS command execution; dynamic code execution; pickle deserialization · nltk-nltk-bd49f90/nltk/test/parse.doctest (CWE-78)risk surface
•Encoded path traversal — percent/utf-8-encoded '../' sequence — bypasses naive path filters · nltk-nltk-bd49f90/nltk/test/unit/test_data_security.py (CWE-22)risk surface
•Suspicious code patterns — dynamic code execution; pickle deserialization · nltk-nltk-bd49f90/nltk/test/unit/test_pickle_load_warnings.py (CWE-95)risk surface
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (29) · hygiene / uncategorized
•Unrecognized file type — '.gitattributes' is not on the allowlist · nltk-nltk-bd49f90/.gitattributesrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · nltk-nltk-bd49f90/.gitignorerisk surface
•Unrecognized file type — '.cff' is not on the allowlist · nltk-nltk-bd49f90/CITATION.cffrisk surface
•Unrecognized file type — '.?' is not on the allowlist · nltk-nltk-bd49f90/ChangeLogrisk surface
•Unrecognized file type — '.in' is not on the allowlist · nltk-nltk-bd49f90/MANIFEST.inrisk surface
•Possible obfuscation — very long lines paired with a decode/execute sink · nltk-nltk-bd49f90/nltk/app/nemo_app.py (CWE-506)risk surface
•Suspicious network references — suspicious TLD (7 URLs) · nltk-nltk-bd49f90/nltk/corpus/reader/childes.pyrisk surface
•Unrecognized file type — '.cfg' is not on the allowlist · nltk-nltk-bd49f90/nltk/parse/broker_test.cfgrisk surface
•Unrecognized file type — '.doctest' is not on the allowlist · nltk-nltk-bd49f90/nltk/test/bleu.doctestrisk surface
•Suspicious network references — URL shortener (6 URLs) · nltk-nltk-bd49f90/nltk/test/corpus.doctestrisk surface
•Unrecognized file type — '.fol' is not on the allowlist · nltk-nltk-bd49f90/nltk/test/onto1.folrisk surface
•Unrecognized file type — '.doctest_latin1' is not on the allowlist · nltk-nltk-bd49f90/nltk/test/portuguese.doctest_latin1risk surface
•Unrecognized file type — '.ini' is not on the allowlist · nltk-nltk-bd49f90/nltk/test/pytest.inirisk surface
•Suspicious network references — URL shortener (9 URLs) · nltk-nltk-bd49f90/nltk/test/tokenize.doctestrisk surface
•Suspicious network references — URL shortener (128 URLs) · nltk-nltk-bd49f90/nltk/test/twitter.ipynbrisk surface
•Unrecognized file type — '.ref' is not on the allowlist · nltk-nltk-bd49f90/nltk/test/unit/files/tweets.20150430-223406.hashtag.csv.refrisk surface
•Suspicious network references — URL shortener (20 URLs) · nltk-nltk-bd49f90/nltk/test/unit/files/tweets.20150430-223406.hashtag.csv.refrisk surface
•Suspicious network references — URL shortener (22 URLs) · nltk-nltk-bd49f90/nltk/test/unit/files/tweets.20150430-223406.media.csv.refrisk surface
•Suspicious network references — URL shortener (2 URLs) · nltk-nltk-bd49f90/nltk/test/unit/files/tweets.20150430-223406.place.csv.refrisk surface
•Suspicious network references — URL shortener (32 URLs) · nltk-nltk-bd49f90/nltk/test/unit/files/tweets.20150430-223406.retweet.csv.refrisk surface
•Suspicious network references — URL shortener (49 URLs) · nltk-nltk-bd49f90/nltk/test/unit/files/tweets.20150430-223406.text.csv.refrisk surface
•Suspicious network references — URL shortener (30 URLs) · nltk-nltk-bd49f90/nltk/test/unit/files/tweets.20150430-223406.url.csv.refrisk surface
•Suspicious network references — URL shortener (31 URLs) · nltk-nltk-bd49f90/nltk/test/unit/files/tweets.20150430-223406.usermention.csv.refrisk surface
•Suspicious network references — suspicious TLD (4 URLs) · nltk-nltk-bd49f90/nltk/test/unit/test_downloader.pyrisk surface
•Suspicious network references — suspicious TLD (3 URLs) · nltk-nltk-bd49f90/nltk/test/unit/test_downloader_xxe.pyrisk surface
•Suspicious network references — raw IP URL, suspicious TLD (10 URLs) · nltk-nltk-bd49f90/nltk/test/unit/test_pathsec.pyrisk surface
•Unrecognized file type — '.gitkeep' is not on the allowlist · nltk-nltk-bd49f90/web/api/.gitkeeprisk surface
•Suspicious network references — suspicious TLD (5 URLs) · nltk-nltk-bd49f90/web/data.rstrisk surface
•Suspicious network references — raw IP URL (29 URLs) · nltk-nltk-bd49f90/web/news.rstrisk surface
✔ verified source · pinned nltk-nltk-bd49f90
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/nltk-natural-language-toolkit/check). Click a policy:

Consume NLTK programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/nltk-natural-language-toolkit

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/nltk-natural-language-toolkit/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add nltk-natural-language-toolkit

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/nltk-natural-language-toolkit/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "nltk-natural-language-toolkit" })
OpenAPI spec →
vlatest
! Security: Review · 751mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Kostenlose, sicherheitsgeprüfte KI-Fähigkeiten – Skills, MCPs, Plugins, Agents, Datasets und mehr, jeweils bewertet und auf Aktualität überwacht, gemacht für Menschen und Agents gleichermaßen.

api · v3.1status · all green
Kontakt
support@ai-supply.storesecurity@ai-supply.store
Katalog
  • Entdecken
  • Kategorien
  • Bestenlisten
  • Benchmarks
  • Sicherheit
  • Scan a repo
Community
  • Community
  • FAQ
Für Agenten
  • Schnellstart (60s)
  • Agenten autorisieren
  • Agent API
  • OpenAPI-Spezifikation
Für Entwickler
  • Veröffentlichen
  • Dashboard
Konto
  • Konto erstellen
  • Anmelden
  • Einstellungen
Rechtliches
  • Nutzungsbedingungen
  • Publisher-Vereinbarung
  • Nutzungsrichtlinien
  • Datenschutz