الگوریتم صحبت به ترکی استانبولی
include('arabicWordsArray.php'); include('englishWordsArray.php'); $yourWords = "Salam"; $personFace = null; $yourWords = strreplace("a", "e", $yourWords); $yourWords = strreplace("kh", "h", $yourWords); if($personFace == "ne?") { $yourWords = convertToArabic($yourWords); return $yourWords; } elseif($personFace == "wtf") { $yourWords = convertToEnglish($yourWords); return $yourWords; } else{ return bodyLanguage($yourWords); }
شنبه، ۱۲ می ۲۰۱۸