LingoLens is a Streamlit-based web application that provides two powerful language tools:
- Language Translation: Translate text between a wide range of languages using the
deep-translator
library. - Sentiment Analysis: Analyze the sentiment (positive, neutral, or negative) of a given text using
TextBlob
.
-
Language Translation:
Translate text in real-time into over 100+ languages with the help ofGoogleTranslator
. -
Sentiment Analysis:
Determine the sentiment polarity of a given text (positive, neutral, or negative). -
User-Friendly Interface:
Built withStreamlit
, the app is clean, intuitive, and easy to use.
- Python
- Streamlit: For building the user interface.
- TextBlob: For sentiment analysis.
- Deep-Translator: For multi-language translation.
Make sure you have Python 3.7 or higher installed on your machine.
- Clone the repository:
git clone https://github.com/arya-io/LingoLens.git cd LingoLens
- Install the required libraries:
pip install -r requirements.txt
- Run the app:
streamlit run app.py
- Open the app in your browser at http://localhost:8501.
LingoLens/
│
├── app.py # Main Streamlit app file
├── language_options.py # Language codes and their mappings
├── requirements.txt # List of required libraries
└── README.md # Project documentation
- Includes over 100+ languages for translation. See the full list in
language_options.py
.
- Add more NLP features, such as text summarization.
- Enhance translation functionality with support for additional APIs.
- Integrate a database for logging translations and sentiment results.
Contributions are welcome! If you'd like to contribute:
- Fork this repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit:
git commit -m "Add feature-name"
- Push your branch:
git push origin feature-name
- Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Streamlit: For providing an easy-to-use framework for building web apps.
- TextBlob: For sentiment analysis tools.
- Deep-Translator: For multilingual translation capabilities.