Tourlingo is a Flask-based web application that helps travelers by providing real-time translation, location extraction, and travel recommendations across multiple Indian languages.
- Multilingual Translation: Translate English text to Hindi, Marathi, Tamil, and Telugu using AI4Bharat's IndicTrans2 model
- Location Recognition: Automatically extract locations, attractions, and organizations from text using spaCy NER
- Smart Recommendations: Get place suggestions powered by Google Maps API
- Modern UI: Clean, responsive interface with smooth animations
- Real-time Processing: Fast translation and entity extraction
- Backend: Flask 3.0.0, Python 3.11
- ML Models:
- IndicTrans2 (AI4Bharat) for translation
- spaCy en_core_web_md for Named Entity Recognition
- PyTorch for model inference
- APIs: Google Maps Places API
- Frontend: Vanilla JavaScript, HTML5, CSS3
- OCR: Tesseract (for future image text extraction)
tourlingo/
βββ app/
β βββ main.py
β βββ init.py
β βββ templates/
β β βββ index.html
β βββ static/
β βββ utils/
β βββ init.py
β βββ translator.py
β βββ ner_extractor.py
β βββ maps_helper.py
βββ data/
βββ venv/
βββ .env
βββ requirements.txt
βββ README.md