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.
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).
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.
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:
Google Docs SideBar:
Arabic Sentnece with nouns/verbs/parts:
Google App Script - JavaScript - JQuery
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.