Skip to content

skhalidmahmud/ShobdoSearch

Repository files navigation

🇧🇩 Banglish-to-Bangla: Phonetic Smart Converter

License: MIT Python 3.12+

A rule-based and dictionary-validated NLP tool designed to convert Romanized Bengali (Banglish) into original Bangla script. This project leverages recursive phonetic mapping and automated dictionary validation to ensure high accuracy in transliteration.

🚀 Key Features

  • Modern Web UI: A stunning glassmorphic interface for real-time conversion.
  • FastAPI Backend: High-performance API for integration into other apps.
  • Smart Phonetic Splitting: Intelligently breaks down Banglish words into phonetic components.
  • Recursive Candidate Generation: Explores multiple Bangla character possibilities.
  • Dictionary Validation: Validates generated candidates against 400,000+ words.
  • Self-Learning Engine: Automatically saves newly discovered mappings.

💻 Installation & Usage

1. Clone the repository

git clone https://github.com/skhalidmahmud/ShobdoSearch.git
cd From-Banglish-word-original-Bangla-word-finding

2. Start the Web App (Recommended)

This will install dependencies and start the local server.

python run.py

Then open your browser at http://localhost:8080.

3. Using Docker

If you have Docker installed:

docker build -t banglish-converter .
docker run -p 8080:8080 banglish-converter

4. CLI Mode

For a simple terminal-based experience:

python converter.py

🛠️ API Documentation

The backend is powered by FastAPI. Once running, you can access:

  • Interactive Docs: http://localhost:8080/docs
  • Conversion Endpoint: POST /convert with body {"text": "your banglish text"}

📄 License

Distributed under the MIT License. See LICENSE for more information.

About

A smart phonetic transliteration engine that converts Banglish (Bengali in English script) to original Bangla Unicode. Features a real-time FastAPI backend, a weighted dictionary for accuracy, and a sleek, responsive UI.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

23 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors