This Streamlit app is designed to demonstrate a language identification model. Given an input text, the model predicts the language of the text from a set of supported languages. This app is built using Streamlit, a popular Python library for building web applications.
- Identify the language of input text
- Supports up to 17 languages
- Simple and intuitive user interface
Gif here demonstrating the usage of the app.
- Clone the repository:
git clone https://github.com/samuelajala01/language-identification-model.git cd language-identification-model
- Install the required dependencies:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py
- Open your web browser and navigate to the provided URL (typically http://localhost:8501).
- Enter a text in the provided input box.
- Click on the "Identify Language" button to see the predicted language.
English, Malayalam, Hindi, Tamil, Portugeese, French, Dutch, Spanish, Greek, Russian, Danish, Italian, Turkish, Sweedish, Arabic, German, Kannada.
- Algorithm: MultinomialNB
- Vectorizer: CountVectorizer()
- test/train ratio: 0.2
- Accuracy metric: Confusion Matrix, Accuracy Score
Contributions are welcome!