Test Ar-PHP Functionality Online
Test PHP Function
Sub Class:
- Select one -
AutoSummarize
CharsetD
CompressStr
Date
Gender
Glyphs
Hiero
Identifier
KeySwap
Mktime
Normalise
Numbers
Query
Salat
Sort
Soundex
Standard
Stemmer
StrToTime
Transliteration
WordTag
Method:
- Select one -
setLen
setLang
setCode
getLen
getLang
getCode
mapCode
trimRep
soundex
word:
Result (
var_dump
output):
Ar-PHP Manual
method soundex
[line
301
]
string soundex( string $word)
Arabic soundex algorithm takes Arabic word as an input and produces a character string which identifies a set words that are (roughly) phonetically alike.
Tags:
return:
Soundex value for a given Arabic word
author:
Khaled Al-Sham'aa <
khaled@ar-php.org
>
access:
public
Parameters:
string
$word
Arabic word you want to calculate its soundex
Example
include
(
'./I18N/Arabic.php'
)
;
$obj
=
new
I18N_Arabic
(
'Soundex'
)
;
$soundex
=
$obj
->
soundex
(
$name
)
;
Popular
utf8Glyphs
(1234)
ar2en
(981)
money2str
(553)
en2ar
(401)
isFemale
(291)
Recent
utf8Glyphs
(10 days)
identify
(22 days)
stripTashkeel
(22 days)
normalise
(34 days)
en2ar
(34 days)
Links
Homepage
Download
Bug Report
Feature Request
My Blog
My Twitter
Ads!
Home
|
Twitter
|
Blog
|
Contact
Copyright © 2006 - 2016 Khaled Al-Sham'aa