词缓存是一个数组,不是散列表,反映出事实上同一个词可以出现在水平方向上,也可以出现在垂直方向上,但细胞只能归于一个这样的词。
The word cache is an array, not a hash, to reflect the fact that the same word could appear horizontally and vertically but the cell would only get credit for one such word.
我们稍后将使用这个散列把词转换为等效的语音字母字符串。
We'll use this hash later to change words into a string of their phonetic alphabet equivalents.
因此,尽管这个词跟恶魔有关,它的意思不是“恶魔四散蔓延”,而是“恶魔汇聚一堂”。
So although Pandemonium had to do with hell, it wasn't hell breaking loose, it was hell gathering together.
在清单1 中,我使用原始的和转换后的案例创建了一个expected散列值,然后根据映射的迭代包装StringCategory,希望将每个关键词驼峰化(camelized)。
In Listing 1, I create an expected hash with the original and transformed cases, then wrap the StringCategory around the iteration over the map, expecting each of the keys to become camelized.
声明局部变量后,子例程将遍历每个指定查询词,搜索name或jobresponsibilities散列中的变音位匹配。
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.
近年来,外来词“嘉年华”在社会中频繁出现,是一个很流行的词语,但有关这个词的材料却稀少零散。
In recent years, foreign word "Carnival" appearing frequently in society is a very popular word, but the materials concerning this word scattered scarcely actually.
近年来,外来词“嘉年华”在社会中频繁出现,是一个很流行的词语,但有关这个词的材料却稀少零散。
In recent years, foreign word "Carnival" appearing frequently in society is a very popular word, but the materials concerning this word scattered scarcely actually.
应用推荐