tfidf-search

Community

Finds relevant documents with TF-IDF.

Authorasvskartheek
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a practical, reproducible way to locate relevant text in large datasets by using TF-IDF vectorization and cosine similarity.

Core Features & Use Cases

  • TF-IDF indexing: Build a vectorized representation of documents for efficient retrieval.
  • Cosine similarity ranking: Score and rank documents by relevance to a query.
  • Command-line workflow: Simple script to load CSV data and search by text column.

Quick Start

Example: python .claude/skills/tfidf-search/scripts/tfidf_search.py songdata.csv text "Take it easy with me, please" --top_k 10

Dependency Matrix

Required Modules

pandasscikit-learn

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tfidf-search
Download link: https://github.com/asvskartheek/awesome-claude-skills/archive/main.zip#tfidf-search

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository