Pan-African Living Dictionary Online
Home
English
English
#wordsplitter
( kasahorow concept )
{ $snippets = array(); $keywords = split(" ", $query); if(count($keywords) <= 1){ return NULL; //Couldn't split } foreach($keywords as $keyword){ $node->children_html.= l($keyword, "search/kclient/$keyword link:$node->iso|").", "; } //Now do it 2 by 2 and skip unneeded characters $stop_words = array('.', ',', '?'); for($i = 0; $i < count($keywords); $i = $i+2){ if(!in_array($keywords[$i], $stop_words)){ $term = $keywords[$i].' '.$keywords[$i+1]; $node->children_html.= l($term, "search/kclient/$keyword link:$node->iso|").", "; } } $node->children_html = "We recommend you try these shorter searches ". $node->children_html. " ?"; $node->title = ' The exact phrase you searched for is not in our dictionary: '.$query; return $node; }
kasahorow concept
Advanced
English
.
(1)
1 comment
Read more
Save
#integer
( kasahorow concept )
{ 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( '', 'thousand', 'million', 'billion', 'trillion', 'quadrillion', 'quintillion', 'sextillion', 'septillion'); $small = array( '', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen'); $other = array( '', '', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety'); $hun = 'hundred'; $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 = 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 = "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; }
kasahorow concept
Advanced
English
.
Add new comment
Read more
Save
Google
( noun )
a widely used search engine that uses text-matching techniques to find web pages that are important and relevant to a user's search
noun
singular
Basic
English
.
Add new comment
Save
fixed
( verb )
Kinyarwanda
Translations
igihamye
to be repaired
English example
The radio was broken but it is now
fixed
.
verb
Basic
English
.
Add new comment
Save
drink
( noun )
Kinyarwanda
Translations
icyokunywa
noun
singular
Basic
English
.
Add new comment
Save
anchor (with two flukes)
Swahili
Translations
baura
Basic
English
.
Save
to swindle
English
Translations
to type
Akan
Translations
taepe
,
tintim
Basic
Negative
General
English
.
Save
him
Swahili
Translations
-m-
,
huyu
,
m
,
mw
English
Translations
you
,
you (2.pers.pl)
Akan
Translations
mo
Basic
Neutral
General
English
.
Save
raise
Swahili
Translations
-fuga
,
-inua
,
-kulia
,
-kweza
,
-ng'oa
,
-nyanyua
,
-paaza
,
-pandisha
,
-twika
,
-panda
Basic
Neutral
General
English
.
Save
CET
( abbreviation )
Afrikaans
Translations
CET
Central European Time
abbreviation
Basic
English
.
Save
1
2
3
4
5
6
7
8
9
…
next ›
last »
Languages
Akan
English
French
Kiswahili
Syndicate
Lookup a word
From Afrikaans
From Akan
From العربية
From Bambara
From Ewegbe
From English
From French
From Ga-Dangme
From Hausa
From Igbo
From Lingala
From Dholuo
From Zulu
From Kinyarwanda
From Swahili
From Vai
From Wolof
From Yoruba
From 汉语词典
Powered by
kasahorow
About PALDO
All Dictionaries
Book Store
Feedback
Navigation
Word of the day
For members
Shop
add new entry
Popular content
Last viewed:
teksi
to benefit
-amua
pigo
-anguka
My list
Review tools
Login
2416.13
Get Museke lyrics transcription
,
USD 5.29
only.
REGISTER
|
Log in
|
Help