PHP Classes

ArZipStr: Compress text using letter frequency for its idiom

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 68%Total: 1,224 All time: 3,118 This week: 673Up
Version License PHP version Categories
arzipstr 1.0GNU General Publi...4.0Text processing, Compression
Description 

Author

This package can be used to compress text based on prior knowledge of the frequency of letters of texts in the same idiom.

Currently there are class versions for the idioms: Arabic, English, French, German, Italian and Spanish.

These classes can generate a compressed version of text strings that occupy in average about 70% of the original length.

This class is part of Khaled Al-Shamaa project for PHP and Arabic language:
http://www.al-shamaa.com/php/arabic/

Innovation Award
PHP Programming Innovation award winner
June 2007
Winner


Prize: One copy of Delphi for PHP
Data compression techniques often take advantage of redundancy, i.e. sequences of data that appear repeated.

Text is usually very compressible because it uses the same set of characters in each idiom.

This package takes advantage of that fact to provide PHP classes optimized to compress different idioms, This way it achieves greater efficiency based on the knowledge of the most frequently used letters in each supported idiom.

Manuel Lemos
Picture of Khaled Al-Shamaa
  Performance   Level  
Name: Khaled Al-Shamaa <contact>
Classes: 22 packages by
Country: Egypt Egypt
Age: 49
All time rank: 481 in Egypt Egypt
Week rank: 214 Down2 in Egypt Egypt Down
Innovation award
Innovation award
Nominee: 10x

Winner: 4x

  Files folder image Files (23)  
File Role Description
Files folder imageimages (3 files)
Accessible without login HTML file about.html Doc. Documentation
Plain text file ArZipStr.class.php Class Class file - Arabic
Accessible without login Plain text file ar_example.php Example Example script
Accessible without login Plain text file ar_example.txt Data Example data
Plain text file EnZipStr.class.php Class Class file - English
Accessible without login Plain text file en_example.php Example Example script
Accessible without login Plain text file en_example.txt Data Example data
Plain text file FrZipStr.class.php Class Class file - French
Accessible without login Plain text file fr_example.php Example Example script
Accessible without login Plain text file fr_example.txt Data Example data
Plain text file GrZipStr.class.php Class Class file - German
Accessible without login Plain text file gr_example.php Example Example script
Accessible without login Plain text file gr_example.txt Data Example data
Plain text file ItZipStr.class.php Class Class file - Italian
Accessible without login Plain text file it_example.php Example Example script
Accessible without login Plain text file it_example.txt Data Example data
Plain text file SpZipStr.class.php Class Class file - Spanish
Accessible without login Plain text file sp_example.php Example Example script
Accessible without login Plain text file sp_example.txt Data Example data
Accessible without login Plain text file style.css Data CSS

  Files folder image Files (23)  /  images  
File Role Description
  Accessible without login Image file alpha.png Icon Image
  Accessible without login Image file shadow.gif Icon Image
  Accessible without login Image file thumb.jpg Icon Image

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,224
This week:0
All time:3,118
This week:673Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:79%StarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:68%StarStarStarStar
Rank:380