Listing 10 details the steps to follow if there is more than one asterisk per-query word.
清单10详细说明了在每个查询词中有多个星号的情况下需要遵循的步骤。
While leaving the original query words array intact, we build a regular expression for each word.
虽然保留最初的查询词数组不动,但是为每个词构建了正则表达式。
Finally, if the query word has an asterisk in the middle, require the query word to match at the beginning and end.
最后,如果查询词的中间有星号,则要求严格匹配查询词的开头和结尾。
Similarly, if the asterisk appears at the end of the query word, the program will treat that as requiring the word to begin with the specified query.
同样地,如果星号出现在查询词末尾,程序将把该星号视为要求指定的查询必须以该词前面的部分为开始。
You may want to retrieve all of the results from all of the files and run a second pass of sorting, or score based on the presence of the query word in the file.
您可能需要从所有文件中检索所有结果并再次运行排序,或根据文件中出现的查询词查询分数。
The first step is to create a compatible regular expression out of each query word, although modification is only required if the word contains a wildcard character: *.
第一步是创建与每个查询词一致的正则表达式,只有在查询词包含通配符 * 时才需要修改。
The last if statement is false in this case (as the query word did not begin with an asterisk), so the built regular expression is returned to the alg_N_Word subroutine.
在本例中,最有一条if语句为false(因为查询词不以星号为开头),因此构建好的正则表达式将被返回给 alg_N_Word 子程序。
After the removal, the search query is highlighted using oneWordSearch if there is only one query word or if the twoWordSearch function if the grep -v functionality is desired.
删除后,如果只有一个查询词或者如果需要twowordsearch函数或grep -v函数,则使用onewordsearch高亮显示搜索查询。
After the local variable declaration, the subroutine will make a pass through every query word specified searching for a metaphone match in the name or jobresponsibilities hashes.
声明局部变量后,子例程将遍历每个指定查询词,搜索name或jobresponsibilities散列中的变音位匹配。
For example, if you remove the ability of a query word to match more than once, or more than once in the same field, the distribution of the scores within a record will change dramatically.
例如,如果删除多次匹配查询词或多次匹配同一字段的功能,则记录中的分数分布将发生很大变化。
The system repeats the information; when the customer confirms it, or repeats the query, the system develops a record of the different ways the target word can be spoken.
系统重复相关信息;当用户确认这条信息,或者重复查询时,系统便获得了目标词的一个不同方式的语音表达记录。
The semantics for creating a new word is a message that doesn't match any query patterns and which contains a parameter list.
创建一个新单词的语义是一个不匹配任何查询模式并且包含一个参数清单的消息。
For each word specified in the query, check for results that contain the word and results that are exact matches for the word.
对于查询中指定的每个查询词,检查包含查询词的结果和完全匹配查询词的结果。
It will allow users to create new word entries, obtain the definition of a given word, obtain synonyms of a given word, query for a word's part of speech, and remove words.
它让用户可以创建新的单词项、得到给定单词的定义、得到给定单词的同义字、查询单词的词性以及删除单词。
The next query, shown in Listing 7, says "find concepts represented by the word 'bear' and find the glossary entries for those concepts."
清单7 中显示的下个查询的意思为“查找单词'bear'表示的概念,并查找这些概念的词汇条目”。
On receiving a request from the client for the synonyms of a given word, formulate a database query using SQL to search for the synonyms of a given word.
从客户机接收到对给定单词的同义词的请求后,使用sql形成一个数据库查询来搜索给定单词的同义词。
After creating a word, I query the dictionary instance for the same word to confirm it made it into the database.
创建单词后,我查询这个单词的dictionary实例以确认它被加入了数据库。
The ResultBinding obtained from running this query contains the literal glossary entry for the word, as expected.
运行此查询获得的ResultBinding如期望的那样包含常量词汇条目。
Once the desired word has been found, the logic involves a database query, which joins the word and synonym tables.
找到所需要的单词后,逻辑就进行一个数据库查询,该查询会连接word和synonym表。
This example USES a SELECT query that defines the inner join between WordFrequency and Companies, where the word matches the name of the company.
本例使用SELECT查询,它定义了WordFrequency和Companies之间的innerjoin,其中单词与公司名匹配。
Therefore, it is not only possible to query for individual categories (noun, verb), but also category groups (word, phrase).
因此,不仅可以查询单个的类别(noun,verb),还可以查询类别组(word,phrase)。
This makes it possible to get query execution plan in the real production environment. To use this new feature, you need to use the key word AVOID_EXECUTE in SET EXPLAIN ON statement as follows
这使您可以在真正的生产环境中获取查询执行计划。
You should also notice that each value term is surrounded by single quotes, exemplified by this full-text query: word='hello'.
还应该注意,每个值由单引号包围,例如全文查询:word='hello'。
Regardless of the content of each piece of the current word query, create a regular expression that searches for that chunk followed by a word character one or more times.
无论每个当前词查询的内容为何,都需要一次或多次为字符后接的字符块创建用于搜索的正则表达式。
Listing 17 illustrates a way to retrieve the entire database using a two-word HQL query.
清单17显示了一种使用两个词的HQL查询来检索整个数据库的方法。
“Photo” and “Photography” are the same word repeated twice but in different ways because your audience might use either one when performing a search query.
“Photo”和 “Photography”是相同的意思但用不同的方法重复了两次,因为你的读者可能用它们中的一个来执行一次搜索。
Using Cognos Query Studio, the user is able to design a custom report and save it in any of the following supported format: HTML, XML, PDF, Word, Excel, and more.
通过使用CognosQueryStudio,用户能够设计定制的报告,并保存为下列格式之一:HTML、XML、PDF、Word 和Excel 等。
You can also perform more complex queries. For example, you could query for all entries whose contents contain the word rose.
也可以执行更复杂的查询。
You can also perform more complex queries. For example, you could query for all entries whose contents contain the word rose.
也可以执行更复杂的查询。
应用推荐