Procedural File: ArStandard.class.php
Source Location: /sub/ArStandard.class.php
Classes:
ArStandard
This PHP class standardize Arabic text
Page Details:
----------------------------------------------------------------------
Copyright (c) 2006-2010 Khaled Al-Shamaa. http://www.ar-php.org PHP Version 5 ---------------------------------------------------------------------- LICENSE This program is open source product; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/lgpl.txt>. ---------------------------------------------------------------------- Class Name: Arabic Text ArStandard Class Filename: ArStandard.class.php Original Author(s): Khaled Al-Sham'aa <khaled.alshamaa@gmail.com> Purpose: Standardize Arabic text ---------------------------------------------------------------------- Arabic Text Standardize Class PHP class to standardize Arabic text just like rules followed in magazines and newspapers like spaces before and after punctuations, brackets and units etc ... Example: include('./Arabic.php');
$obj = new Arabic('ArStandard');
$str = $obj->standard($content);
echo $str;
Tags:
|