示例#1
0
function decomposeDocument($doc)
{
    $decomposition = new decomposition();
    $doc->description = $decomposition->decompose($doc->description);
    return $doc;
}
示例#2
0
function decomposeQuery($query)
{
    $decomposition = new decomposition();
    $query = $decomposition->decompose($query);
    return $query;
}