dkyazzentwatwa

topic-modeler

7
0
# Install this skill:
npx skills add dkyazzentwatwa/chatgpt-skills --skill "topic-modeler"

Install specific skill from multi-skill repository

# Description

Extract topics from text collections using LDA (Latent Dirichlet Allocation) with keyword extraction and topic visualization.

# SKILL.md


name: topic-modeler
description: Extract topics from text collections using LDA (Latent Dirichlet Allocation) with keyword extraction and topic visualization.


Topic Modeler

Extract topics from text collections using LDA.

Features

  • LDA Topic Modeling: Latent Dirichlet Allocation
  • Topic Keywords: Extract representative keywords per topic
  • Document Classification: Assign documents to topics
  • Visualization: Topic word clouds and distributions
  • Coherence Scores: Evaluate topic quality

CLI Usage

python topic_modeler.py --input documents.csv --column text --topics 5 --output topics.json

Dependencies

  • gensim>=4.3.0
  • nltk>=3.8.0
  • pandas>=2.0.0
  • matplotlib>=3.7.0
  • wordcloud>=1.9.0

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.