Skip to content

About

A rule-based and NLP customer support chatbot built in pure Python using custom TF-IDF vectorization and Cosine Similarity to answer queries and track orders. A Python tool that converts speech audio recordings (.wav, .flac, .aiff) into text transcripts with batch processing and JSON/TXT report exports.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Codec Internship Projects

Repository containing the project submissions for the Codec Internship.


📁 Repository Structure

codec-internship-projects/
│
├── NLP Chatbot/
│   ├── chatbot.py           # Core chatbot implementation (TF-IDF + Cosine Similarity)
│   ├── intents.json         # Customer service intents dataset (12 intents, 119 patterns)
│   ├── test_audit.py        # Automated validation test script
│   └── README.md            # Detailed documentation for Project 1
│
└── STT Transcription/
    ├── transcriber.py       # Speech-to-text converter with interactive menu and CLI
    ├── test_transcriber.py  # 7-step automated test suite
    ├── requirements.txt     # Python requirements (SpeechRecognition)
    ├── samples/             # Sample audio files (.wav) for testing
    ├── outputs/             # Generated TXT and JSON transcripts
    └── README.md            # Detailed documentation for Project 2

📌 Projects Included

1. NLP Chatbot (Customer Service)

  • Objective: Develop a rule-based or simple NLP-based chatbot for answering basic customer service queries.
  • Key Techniques: Text preprocessing, contraction expansion, stopword removal, suffix stemming, custom TF-IDF vectorization, cosine similarity, rule-based order extraction, and session context tracking.
  • Dependencies: None (Uses pure Python standard library).
  • Run:
    cd "NLP Chatbot"
    python chatbot.py

2. Speech-to-Text Transcription

  • Objective: Create a simple tool that converts audio recordings into text using basic speech recognition libraries.
  • Key Techniques: Audio stream handling (.wav, .flac, .aiff), batch folder scanning, formatted TXT & structured JSON export, noise calibration, multi-language support, and optional live microphone transcription.
  • Dependencies: SpeechRecognition
  • Run:
    cd "STT Transcription"
    python transcriber.py

About

A rule-based and NLP customer support chatbot built in pure Python using custom TF-IDF vectorization and Cosine Similarity to answer queries and track orders. A Python tool that converts speech audio recordings (.wav, .flac, .aiff) into text transcripts with batch processing and JSON/TXT report exports.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages