متن‌ساز

Naqqash ⁧نقّاش⁩

The string processing library for Arabic script that should have come built-in with every programming language

The Arabic script is complex

The addition of cursive, and diacritics adds two fundamental layers of complexity above the Latin script that most string processing functionality is unable to handle. Naqqash provides the understanding, methods and extensibility to deal with the Arabic script in your applications. If you are building applications that work with the Arabic script, Naqqāsh could save you hours of work.

Powered through and through by Unicode

Naqqash is built on the immense foundation of Unicode. By adding a layer of understanding over the underlying code-points from the Unicode spec, Naqqash allows you to engage fully with Unicode and build strings that will work across platforms.

Using Naqqāsh

Naqqash is a Swift package that provides essential methods to parse strings in the Arabic script. These include functions to:

  • identify the right Unicode points for letters, diacritics, and contextual forms

  • display contextual forms of letters

  • understand how letters will behave in cursive writing

  • removing diacritics

 

 

Read more technical documentation on our Github page.

 

 

What's coming?

Our current plan is to extend Naqqash's capabilities to support more languages in the Arabic script, and to provide more common functions such as sorting. If you have feature requests please get in touch. This will help us build our release plan.