Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rogendo/eng-swa-translator

A bilingual translator application using transformers. The languages are Swahili and English
https://github.com/rogendo/eng-swa-translator

bilingual-translator english-swahili-transllation language-translation machine-translation transformers-translation

Last synced: 4 days ago
JSON representation

A bilingual translator application using transformers. The languages are Swahili and English

Awesome Lists containing this project

README

        

[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![LinkedIn][linkedin-shield]][linkedin-url]



English to Swahili Translator


Creating a model which will be able to translate English to Swahili using local datasets.


Revolutionzing Language Processing


Explore the docs »




View Progress
·
Report Bug
·
Request Feature


Table of Contents



  1. About The Project


  2. Roadmap

  3. Contributing

  4. License

  5. Contact

  6. Acknowledgments

## About The Project

![image](https://github.com/Rogendo/English-to-Swahili-Translation-NLP-/assets/62094358/302dfc8c-f6ed-4cbf-9b8f-65f56a660e9a)

#### 1.1 Problem Statement
The problem of translating English to Swahili presents several challenges, primarily due to the linguistic
differences between the two languages. Machine translation has made significant advancements, but there
is room for improvement in achieving accurate and contextually relevant translations. This project aims to
address these challenges and enhance the quality of English to Swahili translations using Natural
Language Processing (NLP) techniques.

#### 1.2 Objectives
The primary objectives of this project are as follows:
1. Develop a robust English-to-Swahili translation model: Create a machine translation model
capable of accurately translating English text into Swahili while preserving context and meaning.
2. Improve translation quality: Enhance the fluency, coherence, and accuracy of translated text to
make it more natural and contextually relevant for Swahili speakers.
3. Handle various text types and domains: Ensure the translation model can handle diverse text
types, including formal documents, informal conversations, technical content, and more.

#### 1.3 Project Structure
1. Dataset folder - All dataset csv should be placed there
2. Notebook folder - All notebook files should be placed there
3. Deployment folder - All Deployment should be placed there
4. Model folder - Any saved model should be placed there

(back to top)

### Built With

* python logo
* flask logo
* git logo

(back to top)

![Screenshot from 2024-01-24 11-14-42](https://github.com/Rogendo/Eng-Swa-Translator/assets/62094358/91b2ab82-77be-4784-9e42-e070c10dc4e4)

![Screenshot from 2024-01-07 11-41-01](https://github.com/Rogendo/Eng-Swa-Translator/assets/62094358/15807184-77d9-4bed-ad34-3c1c96199b2f)

# How to run it?

First step is to download the models from the link MODEL add the model in the root project directory.

The following instructions were tested on the Windows and Linux with Python 3.8.

1. Clone this repository

```
git clone https://github.com/Rogendo/Eng-Swa-Translator.git
```
```
cd Eng-Swa-Translator/
```

2. Create and activate virtual environment

```
python -m venv venv
```
on Linux system
```
source venv/bin/activate
```
on Windows system
```
.\venv\Scripts\activate.bat
```
3. Install requirements

```
pip install -r requirements.txt
```

```
cd deployment/
```
4. Run the
```
flask --app app --debug run

```

## Roadmap

- [ ] Revolutionzing Language Processing

See the [open issues](https://github.com/Rogendo/Eng-Swa-Translator/issues/) for a full list of proposed features (and known issues).

(back to top)

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

(back to top)

## License

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

(back to top)

## Contact

Your Name - [@Eng-swa-translator](https://twitter.com/@Eng-swa-translator) -

Project Link: [https://github.com/Rogendo/Eng-Swa-Translator/issues](https://github.com/Rogendo/Eng-Swa-Translator/)

(back to top)

## Acknowledgments

* [Peter Rogendo](https://github.com/Rogendo/)
* [Kigen Chesire](https://github.com/kigenchesire/)
* [Frederick Kioko](https://github.com/)

(back to top)

[contributors-shield]: https://img.shields.io/github/contributors/Rogendo/Eng-Swa-Translator.svg?style=for-the-badge
[contributors-url]: https://github.com/Rogendo/Eng-Swa-Translator/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/Rogendo/Eng-Swa-Translator.svg?style=for-the-badge
[forks-url]: https://github.com/Rogendo/Eng-Swa-Translator/network/members
[stars-shield]: https://img.shields.io/github/stars/Rogendo/Eng-Swa-Translator.svg?style=for-the-badge
[stars-url]: https://github.com/Rogendo/Eng-Swa-Translator/stargazers
[issues-shield]: https://img.shields.io/github/issues/Rogendo/Eng-Swa-Translator.svg?style=for-the-badge
[issues-url]: https://github.com/Rogendo/Eng-Swa-Translator/issues
[license-shield]: https://img.shields.io/github/license/Rogendo/Eng-Swa-Translator.svg?style=for-the-badge
[license-url]: https://github.com/Rogendo/Eng-Swa-Translator/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/Discord-35495E?style=for-the-badge&logo=discord&logoColor=white
[linkedin-url]: #