ИСТИНА |
Войти в систему Регистрация |
|
ИСТИНА ИНХС РАН |
||
There is disclosed a method and a system for generating a search query completion suggestion. The method comprises receiving at least a portion of a search query and determining a first query component therein. A suggested second query component related to the first query component is generated, the search query completion suggestion containing the first query component and the suggested second query component. A list of potentially banned words is accessed to determine if the first query component matches any of the potentially banned words maintained therein. It is then determined if the potentially banned word is associated with a ban marker or an unban marker. A list of ban or unban markers respectively is accessed to determine if the suggested second query component matches any of the ban or unban markers maintained therein, the search query completion suggestion being generated or not generated accordingly.