dev-master
9999999-dev https://github.com/dimadin/serbian-variantsSerbian_Variants
GPL
by Milan DiniÄ
Serbian_Variants
Serbian_Variants
is a PHP class used to get all variants of a string in Serbian language. For example, string "ŠŠ¾ŠŗŠ¾Š²ŠøŃ" can also be written as "ÄokoviÄ", "DjokoviÄ", "Djokovic", or some variation of those., (*1)
Call class with string you want to get variant of., (*2)
$object = new Serbian_Variants( 'djokovic' );
, (*3)
You will get all variants in an array with variants
property of object., (*4)
$object->variants;
, (*5)
There is also original string in a original_term
property., (*6)
$object->original_term;
, (*7)
Serbian_Variants
GPL