Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 2.18 KB

README.md

File metadata and controls

30 lines (16 loc) · 2.18 KB

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 | 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 | Screenshots

screenshot-1

screenshot-2