Akan: #nkanee
#nkanee
View all #nkanee entries
Convert digits to words
{ if(strlen((int)$query) == strlen($query) ){//It's a number $num = $query; if((int)$num < 0){ $negative = 'negative'; $num = substr($num, 1); //Remove the negative sign } } else {//probably just another non-integer string return NULL; } $big = array( '', 'apem', 'ɔpepem', 'billion', 'trillion', 'quadrillion', 'quintillion', 'sextillion', 'septillion'); $small = array( '', 'koro', 'abien', 'abiasa', 'anan', 'anum', 'asia', 'asuon', 'awɔtwe', 'akron', 'du', 'dubiako', 'duabien', 'duabiasa', 'duanan', 'duanum', 'duasia', 'duasuon', 'duawɔtwe', 'duakron'); $other = array( '', '', 'eduonu', 'eduasa', 'eduanan', 'eduanum', 'eduasia', 'eduasuon', 'eduawɔtwe', 'eduakron'); $hun = 'ɔha'; $end = array(); $num = strrev($num); if($num == '0'){ $final[] = 'zero'; }else{ $final = array(); } for($i=0; $i 1){ $final[] = array_key_exists($end[$i], $small) ? $small[$end[$i]] : $other[$end[$i]{0}] . ' ' . $small[$end[$i]{1}]; }else{ $final[] = $small[$end[$i]{0}]; } $final[] = $temp != '000' ? $big[sizeof($end) - $i - 1] : ''; } $node->title = $query.'='.str_replace(array(' ', ' ', ' ', ' ', ' ', ' ', ' '), ' ', implode(' ',$final)); $keywords = split(" ", $node->title); if(isset($negative)){ $snippets[] = l($negative, "search/kclient/$negative link:$node->iso|"); } foreach($keywords as $keyword){ $snippets[] = l($keyword, "search/kclient/$keyword link:$node->iso|"); } $node->children_html = $node->teaser = "We do not have $query in the dictionary but we were able to decompose it to these words which you can look up individually: ".join(", ", $snippets); return $node; }
ReviewedCite
#nkanee. kasahorow concept. In Akan. Retrieved 07:08 AM July 13th, 2009, from http://www.dictionary.kasahorow.com/en/node/199313
From Kyeame on Sun, 2009-05-10 19:13
Categories

Play casinos online

Good evening. Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes... the ones who see things differently -- they're not fond of rules... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things... they push the human race forward, and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do.
I am from Egypt and also now am reading in English, tell me right I wrote the following sentence: "Digital vegas is also one of the latest bonuses to the many game of many arrangement, rushmore casino."

Thanks ;-). Innis.

From Anonymous on Fri, 2010-02-12 17:48

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3>
  • Lines and paragraphs break automatically.

More information about formatting options