声明局部变量后,子例程将遍历每个指定查询词,搜索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.
如果找到变音位匹配,只选择第一个具有适当变音位的匹配词进行打印。
If a metaphone match has been found, just the first matched word with the appropriate metaphone is selected for printing.
现有方法可能涉及根据词的词干或变音位构建正则表达式,以及其他搜索词的语言派生词。
Existing approaches might involve building a regular expression based on stems of a word, or metaphone, and other linguistic derivatives of a search term.
应用推荐