Skip to content

Remove unused nltk dependency - #16

Merged
sivori merged 1 commit into
masterfrom
chore/remove-unused-nltk
Jul 18, 2026
Merged

sivori merged 1 commit into
masterfrom
chore/remove-unused-nltk

Conversation

@sivori

@sivori sivori commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove nltk from requirements.txt — it is imported nowhere in the codebase (checked src/, tests/, scripts, and Dockerfile)
  • Fixes the missing trailing newline in requirements.txt

Why

nltk is a heavy package that was being installed into the production Docker image and generating Dependabot update PRs (most recently #15) despite never being loaded by the app. It was likely left over from an earlier summarization approach before the OpenAI/tiktoken path.

Verification

grep -rn -i nltk across the repo matches only requirements.txt. CI (lint, test, docker-check) will confirm nothing depends on it transitively at import time.

🤖 Generated with Claude Code

nltk is pinned in requirements.txt but imported nowhere in the
codebase. Removing it slims the Docker image and stops Dependabot
churn for a library the app never loads.

Also adds the missing trailing newline.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sivori
sivori merged commit a117abe into master Jul 18, 2026
7 checks passed
@sivori
sivori deleted the chore/remove-unused-nltk branch July 18, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant