Repository containing the project submissions for the Codec Internship.
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
- 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
- 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