case 'replace':
                 $BILL->ReplaceUrlCategoryKeyword($word, $setcid);
                 $BILL->ResolveUrlCategoryConflict($word);
                 break;
             case 'unsense':
                 $BILL->DeleteUrlCategoryKeyword($word);
                 $BILL->AddUrlCategoryUnsenseword($word);
                 $BILL->ResolveUrlCategoryConflict($word);
                 break;
         }
     }
 }
 // Recognize content
 if (isset($_POST['btnSubmit']) || isset($_GET['manualcheck'])) {
     $uswords = $BILL->GetUrlCategoriesUnsenseWords();
     $result = Recognizer::recognizeByMyself($url, $cats, $uswords, $kwds_weights, isset($_REQUEST['debug']));
 }
 // Other (finding conflicts etc)
 if (isset($result) && isset($set)) {
     $conflict_cats = array();
     foreach ($result['cwords'] as $cword => $wcount) {
         if ($wcount < Recognizer::MINIMAL_CWORD_COEF) {
             continue;
         }
         $c_cid = $BILL->GetUrlCategoryKeyword($cword);
         if ($c_cid > 0) {
             if ($c_cid != $setcid) {
                 $conflict_cats[$c_cid][$cword] = $wcount;
                 $BILL->AddUrlCategoryConflict($cword, $setcid, $c_cid, $url);
             }
         } else {