You can set any number of space-separated query phrases on the Hungarian or the English side, or even both sides at once.
The syntax of these query phrases is easiest to describe through a series of examples:
The simplest example of a query phrases is a word: The Hungarian side
ellopták query results in bisentences with
this Hungarian word in their Hungarian sentence. Other inflected forms (
ellopott) are also returned as results, but are ranked lower than the exactly matching version.
To prohibit results with other inflected forms, the term should be surrounded with the < > parentheses. So
will not give results with only, say,
ellopott in them. This is called an exact match query.
One can search for multi-word search terms. The three equivalent ways of doing this are:
"back to normal".
One can mix the exact match syntax with multi-word search terms, but mixing parentheses and quotation signs (
<"back to normal">) is not allowed. So the exact match versions of the previous examples would look like this:
<back to normal>
Any query phrase is allowed to have one of the following two modifiers as prefixes. Space is not allowed between the modifier and its modifyee.
-scaredreturns bisentences where there is a word in the Hungarian sentence which stems the same as "fél", but there is NO word in the English sentence which stems the same as "scared". The Prohibited modifier can be combined with exact match syntax and multi-word search terms, e.g. English:
-are valid queries.
buy intoreturn bisentences where the words
intobut the query
+buy +intoreturns only bisentences with the two words in it.
The query syntax is designed so that simple queries have straightforward syntax, but quite complex queries are manageable, too. Some users might need even more advanced queries, like nested ones, or complex filtering of document sources. For these users we plan to provide direct access to the internal query language, but the syntax for this is quite complex and nonintuitive.