$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 {
                //echo('Adding '.$cword.' to '.$cats[$cat_by_cid[$setcid]]['title'].'<br/>');
                $BILL->UrlCategoryAttachKeyword($setcid, $cword);
            }
        }
    }
}