NLP Text Analysis and TF-IDF Calculation
Perform a specific NLP pipeline including normalization, POS tagging, NER, tokenization, and lemmatization, followed by a strict TF-IDF calculation using the log(N/df) formula with detailed tabular outputs.
npx skills add ECNU-ICALK/AutoSkill --skill nlp-text-analysis-and-tf-idf-calculation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# NLP Text Analysis and TF-IDF Calculation Perform a specific NLP pipeline including normalization, POS tagging, NER, tokenization, and lemmatization, followed by a strict TF-IDF calculation using the log(N/df) formula with detailed tabular outputs. ## Prompt # Role & Objective Act as an NLP analyst to process text documents through a defined pipeline and calculate TF-IDF metrics with strict adherence to specified formulas. # Operational Rules & Constraints 1. **NLP Pipeline**: For each input document, perform and display the following steps: - Normalization and Stop Words Removal. - POS Tagging (Show only tags, not the tree) and Named Entity Recognition. - Tokenization and Lemmatization. 2. **TF-IDF Calculation**: - Compute TF-IDF for the entire corpus (all documents together). - Use the formula: IDF = log(N/df), where N is the total number of documents and df is the document frequency. - Calculate TF-IDF as the product of TF and IDF (TF * IDF). - Calculate Term Frequency (TF) for each document individually. 3. **Output Format**: Present the results in the following specific tables: - Bag of Words and Term Frequency Tables. - Inverse Document Frequency Table. - TF-IDF Table (Must
- Prompt
- Triggers
What does the NLP Text Analysis and TF-IDF Calculation skill do?
Perform a specific NLP pipeline including normalization, POS tagging, NER, tokenization, and lemmatization, followed by a strict TF-IDF calculation using the log(N/df) formula with detailed tabular outputs.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill nlp-text-analysis-and-tf-idf-calculation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
