Skip to content

Ar-PHP Version 7.0.0

Latest
Compare
Choose a tag to compare
@khaled-alshamaa khaled-alshamaa released this 07 Mar 22:46
· 2 commits to master since this release
  • Full integration with the open-source version of the Arabic Spell Checker (ASC https://arabicspellchecker.com/open-source.html).

  • Implement a lazy-loading mechanism that defers reading large data files until they are actually needed, improving average performance by 40% ± 5%.

  • Add the new "arDialect" method for Arabic dialect identification (i.e., Egyptian, Levantine, Maghrebi, and Peninsular) of the text (e.g., comments, reviews, etc.).

  • Add an Arabic version of the PHP similar_text() function, implemented using the Needleman-Wunsch algorithm with weighted scoring matrices and a non-linear gap penalty.

  • Add Urdu characters support to the utf8Glyphs() function.

  • Expand character glyphs support in the utf8Glyphs() function to include all single letter variants listed in the Arabic Presentation Forms-A needed for Ottoman, Persian, Urdu, Sindhi, and Central Asian languages.

  • Various minor fixes and improvements, see related pull requests and closed issues for details.