Logo Lanfrica

Hatimmz25/English-Darija-Translator

Domain:

natural language processing

Record type:

software
Creator:
Hat
Host:
# Darija Translator - Chrome Extension & RESTful Web Service **Darija Translator Pro** is a full-stack web service solution that transforms English text into authentic **Moroccan Darija** using the power of Large Language Models (LLMs). This academic project demonstrates the implementation of a RESTful web service with a modern Chrome extension interface. > πŸ“š **Academic Project** - Web Services Course > πŸ‘¨β€πŸ« **Instructor**: Pr. El Habib Nfaoui > πŸ‘©β€πŸŽ“ **Developer**: Mazigh Hatim - Master WISD Student --- ## πŸ“Ί Project Demonstration Watch the complete project presentation, including technical demo and code walkthrough: πŸ‘‰ **Watch Full Presentation (Google Drive)** --- ## 🎯 Project Overview This project fulfills the requirements of the Web Services course by implementing: βœ… **RESTful Web Service** using JAX-RS API βœ… **LLM Integration** with Groq (Llama 3.3-70b) for intelligent translation βœ… **Chrome Extension** (Manifest V3) with Side Panel API βœ… **PHP Client Application** for web integration βœ… **Security Implementation** using Jakarta Authentication (Basic Auth) βœ… **Multiple Testing Methods** (Postman, SoapUI, cURL) The service translates English text to Moroccan Darija (Ψ§Ω„Ψ―Ψ§Ψ±Ψ¬Ψ© Ψ§Ω„Ω…ΨΊΨ±Ψ¨ΩŠΨ©) while preserving cultural context and authenticity. --- ## ✨ Features ### Core Features - 🌐 **Real-time Translation**: English β†’ Moroccan Darija - 🎨 **Modern UI**: Glassmorphism design (Peach & Mint theme) - πŸ“ **Auto-fill**: Automatic text selection detection - πŸ”’ **Secure API**: Basic authentication implementation - πŸ“± **Side Panel Integration**: Seamless Chrome browsing experience ### Translation Intelligence - βœ… Exclusive use of Arabic alphabet (Ψ§Ω„Ψ­Ψ±ΩˆΩ Ψ§Ω„ΨΉΨ±Ψ¨ΩŠΨ©) - βœ… Authentic Moroccan expressions (`Ψ―ΩŠΨ§Ω„`, `بزاف`, `Ψ΄Ω†Ωˆ`, etc.) - βœ… Avoids Classical Arabic (Fusha) and SMS language - βœ… Context-aware translation using advanced prompt engineering --- ## πŸ—οΈ Architecture The project follows a **client-server architecture** with three main components: ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ …