Skip to content
/ rasmify Public

Reduce Arabic strings to their rasm, i.e. remove vocalization and other diacritics

License

Notifications You must be signed in to change notification settings

telota/rasmify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Reduce arabic text to its rasm, i.e. remove vocalization marks, diacritics so you only are left with a basic consonant skeleton.

For example, the first verse of the Qur'an as found on corpuscoranicum.de:

Compare the following examples:

Text with diacritics etc First sura of the Qur'an with diacritics etc

Text without diacritics (rasmified) First sura of the Qur'an rasmified

Try it

Check out the demo here

Installation

Require this package using Composer. Run the following command in the terminal:

composer require "telota/rasmify":"0.1.*"

Usage

To convert an arabic string to its rasm, use the following code:

use Telota\Rasmify;

$rasmified = Rasmify::rasmify($arabicString);

About

Reduce Arabic strings to their rasm, i.e. remove vocalization and other diacritics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages