20 """Returns a set of :ref:`request params <engine request online_dictionary>` or
21 ``None`` if search query does not match to :py:obj:`parser_re`.
23 params = super().
get_params(search_query, engine_category)
27 m = parser_re.match(search_query.query)
31 from_lang, to_lang, query = m.groups()
33 from_lang = is_valid_lang(from_lang)
34 to_lang = is_valid_lang(to_lang)
36 if not from_lang
or not to_lang:
39 params[
'from_lang'] = from_lang
40 params[
'to_lang'] = to_lang
41 params[
'query'] = query