📄

Đếm tần suất từ khóa

Phân tích văn bản, đếm số lần xuất hiện của các từ khóa (SEO checker) hoặc thống kê từ vựng.

Document ⭐ Beginner ⏱️ 3 phút

😫 Vấn đề (The Pain Point)

Bạn viết bài chuẩn SEO và muốn biết từ khóa “Agentic AI” đã lặp lại bao nhiêu lần? Mật độ có quá dày không? Hoặc bạn muốn phân tích một bài diễn văn xem diễn giả lặp lại từ gì nhiều nhất?

🚀 Giải pháp Agentic (The Solution)

Tool phân tích tần suất từ ngữ (Word Frequency).

Tính năng:

  • Top Words: Liệt kê 10 từ xuất hiện nhiều nhất.
  • Specific Count: Nhập 1 từ, tool trả về số lần xuất hiện.
  • Stopwords: Tự động loại bỏ các từ vô nghĩa (như “là”, “và”, “của”).

Keyword Counter Screenshot

🤖 Engineering Prompt (Copy & Paste)

**Role:** Python NLP Developer

**Task:** Create a "Text Frequency Analyzer".

**Requirements:**
1.  **Tech Stack:** Python, `tkinter`, `collections`.
2.  **GUI:**
    *   Input Text Area (Paste text here) OR "Load Text File" button.
    *   Settings: "Case Insensitive" (Check).
    *   "Analyze" button.
    *   **Results:**
        *   Table of Top 20 words.
        *   Search Box to check specific word count.
3.  **Logic:**
    *   Clean text (remove punctuation).
    *   Split into words.
    *   `Counter(words).most_common(20)`.
    *   Display results.
4.  **Deliverables:**
    *   `word_count.py`
    *   `run.bat`
    *   `requirements.txt`

**Context:** Writers and SEO specialists optimizing content.

🧠 Giải mã Prompt

  • Clean Text: Máy tính hiểu “Agentic,” (có dấu phẩy) khác với “Agentic”. Tool cần bước làm sạch (remove punctuation) để đếm chính xác.

🛠️ Hướng dẫn

  1. Copy Prompt -> Paste.
  2. Chạy run.bat.
  3. Paste bài viết của bạn vào -> Analyze.

Workflows liên quan

Khám phá danh mục khác

📬

Get Started with Agentic Working

Subscribe to receive updates from AgenticWorking.io

📖 Free eBook Guide 📦 7 Ready-to-use Scripts 🔔 Weekly Tips

No spam, unsubscribe anytime. Join 1,000+ subscribers.