Git Product home page Git Product logo

theonlymonster / franko-arabic-chrome-extension Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 0.0 212 KB

The "عربي - Franko" Chrome extension is designed to provide translation services between Franko text and Arabic. It enables users to easily translate text from Franko to Arabic and vice versa.

Home Page: https://chrome.google.com/webstore/detail/%D8%B9%D8%B1%D8%A8%D9%8A-franko/lfnbchcibchaflinekapimhljnpkfaec

License: MIT License

JavaScript 72.75% HTML 8.90% CSS 18.34%
arabic-dialects chrome-extension javascript

franko-arabic-chrome-extension's Introduction

logo-32x32 | Arabic - Franko Chrome Extension

The "عربي - Franko" Chrome extension is designed to provide translation services between Franko text and Arabic. It enables users to easily translate text from Franko to Arabic and vice versa.

logo-32x32 | Download the Extension

You can download and install the "عربي - Franko" Chrome extension from the Chrome Web Store using the following link:

Download عربي - Franko Chrome Extension

logo-32x32 | Screenshots

screenshot-1

screenshot-2

logo-32x32 | Features

  • Translation: The extension uses a custom translation algorithm to convert Franko text to Arabic and vice versa.
  • Dataset Integration: The extension utilizes a dataset API provided by Hugging Face to enhance the translation accuracy. The dataset contains Arabic POS dialects and configuration specific to Egyptian dialects.
  • English Dictionary: The extension integrates with the DictionaryAPI to handle English words and ensure accurate translations.
  • Interactive Interface: The extension provides a user-friendly interface that allows users to input text and view the translated output in real-time.

logo-32x32 | How to Use

  1. Install the Extension: Download and install the "عربي - Franko" Chrome extension from the Chrome Web Store using the provided link.
  2. Activate the Extension: Click on the extension icon in the Chrome toolbar to activate the translation interface.
  3. Translate Text: Enter the text you want to translate in the input area. As you type, the translation will be displayed in real-time in the output area.
  4. Switch Translation Direction: Use the switch button to toggle between translating from Franko to Arabic and from Arabic to Franko.

logo-32x32 | Code Overview

The extension utilizes JavaScript to implement the translation functionality. Here's an overview of the main code components:

  • AbstractTranslate class: An abstract class that defines the structure for translation operations.
  • Franko class: Extends the AbstractTranslate class and implements the translation algorithm for Franko text.
  • Arabic class: Extends the AbstractTranslate class and handles translation from Arabic to Franko.
  • Translation Logic: The translation logic is implemented in the performTranslation methods of the Franko and Arabic classes.
  • Dataset Integration: The extension fetches dataset rows from the Hugging Face API to enhance translation accuracy. The dataset is retrieved in batches using the getDatasetRows method.
  • User Interface: The extension's user interface is created using HTML and CSS. The interface allows users to input text, view the translated output, and switch the translation direction.

logo-32x32 | Dependencies

The "عربي - Franko" Chrome extension relies on the following external dependencies:

  • axios: A JavaScript library used for making HTTP requests to retrieve dataset rows.
  • DictionaryAPI: An API used to handle English words and provide accurate translations.
  • Google Fonts: Remote CSS files are included to load the "Work Sans" font for consistent typography.

logo-32x32 | Support and Contributions

If you encounter any issues or have suggestions for improvements, please feel free to open an issue on the GitHub repository: عربي - Franko.

Contributions to the project are also welcome. Fork the repository, make your changes, and submit a pull request with a detailed explanation of your modifications.

franko-arabic-chrome-extension's People

Contributors

theonlymonster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.