goarabic
بواسطة @01walid
117
A Go Lang package for dealing with Arabic text.
عن هذا المشروع
GoArabic A Go Lang package for dealing with Arabic text. This is an initial work on a set of Go functions developed to enhance Arabic web applications. It all started when I wanted to develop a self-hosted no-dependency and standalone Arabic Captcha in Go (for fun, as I was discovering Go 8 yrs ago), and as expected, the Arabic text wasn't rendered as it should: So I started playing with Glyphs, unicode, and the special Arabic rules for joining letters. After a bit of work, I got this: shouldn't this be a separated package, along with other functionalities? I guess it should! Current functionalities Glyph representation of the given Arabic text for images/pdf .. etc generation. Strip Tashkeel (Arabic Vowels). SmartLengh: return the length of the given Arabic String without considering Tashkeel (Arabic Vowels). Strip Tatweel rune-wise (UTF-8) reverse of the Arabic text, leaving out the Latin one. Todo Arabic text normalization (Unshaping) Add support for some special Quran text characters in Glyphs Richer SmartLengh, ignoring some special characters. Slugify: a simple Arabic slug generation. Striping Tashkeel and other special chars. Spell numbers in Arabic idiom.
من ملف README الخاص بالمشروع على GitHub
- النجوم
- 117
- التفريعات
- 29
- الرخصة
- MIT
- آخر تحديث
- 28/05/2023
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/goarabic)