NLP projects completed as part of the CodeAlpha internship program.
A rule-based chatbot that answers questions about AI and machine learning concepts using TF-IDF vectorization and cosine similarity for intent matching.
How it works:
- FAQ knowledge base defined as key-value pairs
- User query is vectorized with TF-IDF
- Cosine similarity finds the best matching question
- Returns the corresponding answer (or fallback if confidence < 0.3)
Stack: Python, scikit-learn, NLTK
An interactive translation tool supporting multiple languages using the deep-translator library (Google Translate API wrapper).
How it works:
- User inputs source language, target language, and text
GoogleTranslatorhandles the translation- Clean CLI interface with error handling
Stack: Python, deep-translator
- Python 3
- scikit-learn β TF-IDF, cosine similarity
- NLTK β Natural language toolkit
- deep-translator β Google Translate wrapper
- Open either notebook in Google Colab
- Run all cells β dependencies install automatically
- Interact via the input prompts
βββ chatbot_for_faqs.ipynb # TF-IDF FAQ chatbot
βββ language_translation_tool.ipynb # Multi-language translation tool
βββ README.md
Ahmed Sameh β GitHub