Skip to content

mannaaaz/Farasa-Arabic-Analyzer-Google-Docs-PlugIn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Farasa-Arabic-Analyzer-Google-Docs-PlugIn

Key Uses

Integrated Farasa API into the plugin, gives users an exceptional tool for precise Arabic linguistic analysis.

Enable users working with Arabic Text on Google Docs by providing them parts-of-speech (POS) highlighting.

Process

The system has two functionalities:

1- Display the linguistic information on the sidebar:

Extract the selected text (by the user) from the document. Send the selected text to Farasa API (segmentation, lemmatization, spell checker, and diacritization). Get Farasa’s response and display it on the sidebar.

2- Highlight the part of speech of the selected text:

Extract the selected text (by the user) from the document. Send the selected text to the POS Farasa API. Highlight the selected sentence (nouns in green, verbs in blue, particles in yellow).

Challanges

1- Farasa API Integration Complexity:

Technical challenges. Data formatting. Error handling.

2- Latency:

Potential delays in Farasa API responses.

3- Testing: Testing the POS highlighting feature such as, text in headers, or footers was a bit challenging.

Overview of the Plugin

An easy-to-use interface with two buttons: one button to get the linguistic information, and second button to highlight the POS of the selected text.

How to open the PlugIn:

Screen Shot 2023-09-21 at 1 52 04 PM

Google Docs SideBar:

Screen Shot 2023-09-21 at 1 51 18 PM

Arabic Sentnece with nouns/verbs/parts:

Screen Shot 2023-09-21 at 1 52 43 PM

Software Used

Google App Script - JavaScript - JQuery

Future Work

1- Additional Features:

Classify text/words based on readability levels and highlight them. Use the Named Entity Recognizer from Farasa API. Overwrite the selected text with Farasa API response. Extend the plugin to more languages.

2- User Feedback:

Gather user feedback to make continuous improvements.

3- Performance Optimization:

Increase the response time and efficiency of the plugin.

4- Updates:

Keep the plugin up-to-date with new Google Docs features.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published