Displaying 1 result from an estimated 1 matches for "souindics_preprocess".
2006 Apr 18
1
gettin erro with xapian binidngs 0.9.5
...evanagari word per line plus its postion(ie.
on which line it appears..line is defined as something that ends with Hindi
"|" ie.full stop)
$count=0;
$t1=time();
foreach($lines as $l)
{
if($count==0)
{
$count++;
continue;
}
$pieces=explode(" ",$l);
$term= rtrim(souindics(souindics_preprocess($pieces[0])));
echo $term." ".$pieces[1]."<br>";
$pos=$pieces[1];
Document_add_posting($doc, $term, $pos);
}//end for
WritableDatabase_add_document($database, $doc);
WritableDatabase_flush($database);
$database = Null;
---------------------------------------------------...