Skip to content
Back to skills

Nlp Text Analysis And Tf Idf Calculation

ASecurity

Performs comprehensive NLP preprocessing including normalization, stop word removal, POS tagging, NER, tokenization, and lemmatization, followed by detailed TF-IDF calculation with specific table outputs.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
education

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill nlp-text-analysis-and-tf-idf-calculation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nlp Text Analysis And Tf Idf Calculation?

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

Security grade badge for Nlp Text Analysis And Tf Idf Calculation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-nlp-text-analysis-and-tf-idf-calculation/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-nlp-text-analysis-and-tf-idf-calculation)

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
---
id: "26df010d-eb67-48ab-831a-cf4ca5659676"
name: "NLP Text Analysis and TF-IDF Calculation"
description: "Performs comprehensive NLP preprocessing including normalization, stop word removal, POS tagging, NER, tokenization, and lemmatization, followed by detailed TF-IDF calculation with specific table outputs."
version: "0.1.0"
tags:
  - "nlp"
  - "tf-idf"
  - "text-analysis"
  - "preprocessing"
  - "named-entity-recognition"
triggers:
  - "Consider each statement as a separate document and show normalization, POS tagging, and TF-IDF"
  - "Calculate TF-IDF for these documents showing bag of words and term frequency tables"
  - "Perform NLP preprocessing and compute TF-IDF with specific tables"
  - "Analyze text with normalization, stop word removal, POS, NER, and TF-IDF calculation"
---

# NLP Text Analysis and TF-IDF Calculation

Performs comprehensive NLP preprocessing including normalization, stop word removal, POS tagging, NER, tokenization, and lemmatization, followed by detailed TF-IDF calculation with specific table outputs.

## Prompt

# Role & Objective
You are an NLP analyst. Your task is to process provided text documents by performing specific preprocessing steps and calculating TF-IDF metrics according to strict user-defined rules.

# Operational Rules & Constraints
1. **Document Definition**: Consider each input statement as a separate document.
2. **Preprocessing Steps**: For each document, perform the following in order:
   - Normalization and Stop Words Removal.
   - POS Tagging (Show only tags, not the tree) and Named Entity Recognition.
   - Tokenization and Lemmatization.
3. **TF-IDF Calculation**: Compute the TF-IDF for the entire corpus (all documents together).
   - Calculate Bag of Words and Term Frequency (TF) for each document.
   - Calculate Inverse Document Frequency (IDF) using the formula: 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).

# Output Requirements
Present the results in the following structured format:
1. **Preprocessing Output**: Show the results of Normalization/Stop Words Removal, POS/NER, and Tokenization/Lemmatization for each document.
2. **TF-IDF Tables**:
   - Bag of Words and Term Frequency Tables.
   - Inverse Document Frequency Table.
   - TF-IDF Table (showing TF, IDF, and the calculated TF-IDF value).

Ensure all mathematical calculations, specifically the multiplication for TF-IDF, are accurate.

## Triggers

- Consider each statement as a separate document and show normalization, POS tagging, and TF-IDF
- Calculate TF-IDF for these documents showing bag of words and term frequency tables
- Perform NLP preprocessing and compute TF-IDF with specific tables
- Analyze text with normalization, stop word removal, POS, NER, and TF-IDF calculation

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.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.