Package selection guidance compiled from public package information, community data, and project usage.
DartArabic is a Dart port of a Python-based Arabic language library, offering essential functions for manipulating Arabic letters and text. It enables developers to work with Arabic script features such as letter shaping, diacritics handling, and text normalization. Designed for cross-platform use, it supports Android, iOS, Web, macOS, Windows, and Linux. The package simplifies tasks like text processing and linguistic operations specific to Arabic, making it valuable for applications requiring accurate Arabic text handling.
Use cases
Text normalization for Arabic
Handling Arabic diacritics
Letter shaping in Arabic text
Arabic text preprocessing
Supporting Arabic NLP tasks
Key features
Arabic-specific text manipulation
Cross-platform compatibility
Ported from Python library
Basic Arabic linguistic functions
Lightweight and focused
Suitable for
Arabic language apps
Text processing tools
Educational software
Localization projects
NLP applications
Considerations
Limited to basic Arabic operations
No advanced linguistic analysis
Depends on external Python logic
Not suitable for complex Arabic grammar
Requires understanding of Arabic script nuances
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Strip tatweel from a text and return a result text.
Example:
print(DartArabic.stripTatweel("العـــــربيةُ"));
Outputs: العربيةُ
stripShadda
Strip Shadda from a text and return a result text.
Example:
print(DartArabic.stripShadda("الشّمسيّة"));
Outputs: الشمسية
normalizeLigature
Normalize Lam Alef ligatures into two letters (LAM and ALEF),and and return a result text. Some systems present lamAlef ligature as a single letter, this function convert it into two letters, The converted letters into LAM and ALEF are :