使用前面介绍的技术,我们可以把这些单词移动到外部单词列表文本文件中,然后根据需要导入。
Using techniques covered earlier, we can move these words to an external word list text file and import them as we like.
实体提取功能其中一部分基于要屏蔽的单词列表。
One part of the entity extraction function is based on lists of words that should be redacted.
该清单中的代码最多可以接受三个单词列表作为输入。
The code shown in this listing can take up to three lists of words as input.
我们已经使用了文本文件创建名称列表及基本单词列表。
We've already used text files to create lists of names and basic word lists.
最后,一起来看看根据在文本中出现频率排列的单词列表。
Finally, we wanted to see the same results as a list sorted by number of occurrences within the text.
每个数据元素名称应该有一个取自预定义类单词列表的类单词。
Each data element name shall have one class word taken from a pre-defined class word list.
单词列表越精确,并且花在基本文本上的时间越多,结果就越好。
The more precise our word lists, and the more time we put into our base text, the better our results will be.
命令sort从指定文件中读取单词列表并按字母顺序进行排序。
The command sort reads a list of words from the named file and alphabetizes them.
要构建一个简陋的hangman游戏,我们需要从单词列表开始。
To put together a crude game of hangman, we need to start with a word list.
清单1展示了如何传输echo的输出,以对一个小的单词列表进行分类。
Listing 1 shows how to pipe the output of echo to sort a small list of words.
index视图也非常简单:它需要迭代单词列表并将它们输出到屏幕中。
The index view is also very straightforward: It needs to iterate the list of words and dump them to screen.
它使用一个单词列表作为输入,并按照适当的顺序组合它们来提供一个服务名。
It takes as input a list of words and combines them in proper order to provide a possible service name.
在得到单词列表后,需要随机选出一个单词,将每个字母显示为空,然后开始猜测。
Once we've got a list of words, we need to pick one out at random, display a blank for each letter, and start taking guesses.
拼写错误是另一种不同的问题,您需要对比两个不同的单词列表,而不是查找复杂的模式。
Spelling errors are a different kind of problem where you compare two different lists of words rather than look for complex patterns.
查看这些列举出来的技能,您会发现通过字典或单词列表可以很好地完成提取概念的任务。
Looking at these enumerated skills, you can see that this task of extracting concepts can be handled best with dictionaries or lists of words.
由于正则表达式将把句点处理为单个字符,因此我们可以轻松地遍历单词列表以查找匹配。
Since regular expressions treat a period as a single character, we can easily walk the word list, looking for matches.
根据单词列表的质量及猜测的准确度,我们应当能够得到合理的单词列表以用于可能的匹配。
Depending on the quality of our word list and the accuracy of our guess, we should be able to get a reasonable list of words to use for possible matches.
图10显示术语表,其中包含来自海岸警备队数据元素命名标准的类单词列表、基本单词示例和修饰词。
Figure 10 shows the glossary created using the class word list, and sample prime words and modifiers from the Coast Guard Data Element Naming Standards.
这一服务可以返回以某前缀开始的英语单词列表,如果您想帮助用户正确输入英文单词,这一功能将非常适合于预输入功能。
This service can return a list of English words that start with a certain prefix, which makes it perfect for type-ahead functionality if you want to help users enter English words correctly.
Dictionarylookup操作符根据包含单词列表的字典提取概念,包括文本数据库列中提到的名称、产品甚至技能。
The Dictionary Lookup operator is based on dictionaries that contain lists of words to extract concepts, including names, products, or even skills mentioned from textual database columns.
NameComposer组件不会使用一个单词列表作为输入,而是使用多个单词列表作为输入并返回所有可能的服务名的列表。
Instead of taking a single list of words as the input, the name Composer component takes as input several lists of words and returns a list of all possible service names.
一个由Susanne Diekelmann带领的研究小组给了志愿者们18份这样的单词列表,每份列表上有15个单词,然后有计划的控制这些志愿者的睡眠。
A team led by Susanne Diekelmann gave volunteers 18 such lists, each 15 words long, then systematically deprived some of them of sleep.
然后,将字符串解析为单个单词并以列表形式存储到内存中。
Then, we parse the character string into individual words and store in the computer memory as list.
需要遍历该列表,将每个单词拆分为经过排序的字母数组,然后再次合并数组。
You want to iterate through the list, breaking each word into a sorted array of letters, then joining the array again.
如果在ClassicRegistry中没有完全匹配服务输入名称的服务描述,使用NameParser组件来解析输入的服务名称,然后构造一个单词组成列表。
If there is not an exact match for the service input name in the Classic Registry, use the name Parser component to parse the input service name and construct a list of constituent words.
您还可以通过将字符串拆分成“单词”序列来生成列表。
You can also generate a list by splitting a string into a sequence of "words".
使用函数preg_grep可以非常轻松地处理列表:只需提供模式作为第一个参数,并提供要匹配的单词数组作为第二个参数。
The function, preg_grep , makes processing a list very easy: Simply provide the pattern as the first argument and an array of words to match as the second argument.
对于单词组成列表中的每个单词,使用Dictionary组件开发同义词列表。
For each word in the constituent words list, use the Dictionary component to develop a list of synonyms.
如果发现与输入单词相对应的列表,那么该列表将被返回给客户机,否则将返回null。
If a list is found that corresponds to the input word, the list is returned to the client, otherwise a null is returned.
nameparser组件使用服务名(通常由几个单词组成)作为输入,并返回一个列表,列出了组成服务名的几个单词。
The name parser component takes as input the name of service, which is usually composed of several words, and returns a list of words that constitute that name.
应用推荐