metaphone
计算字符串的metaphone键
metaphone()
函数计算字符串的 metaphone 键。
metaphone 键代表字符串的英语发音。
metaphone()
函数可用于拼写检查程序。
注释:metaphone()
函数为发音相似的单词创建相同的键。
注释:所生成的 metaphone 键长度可变。
提示:metaphone() 比 soundex()
函数更精确,因为 metaphone()
了解英语发音的基本规则。
metaphone(string,length)
参数 | 描述 |
---|---|
string | 必需。规定要检查的字符串。 |
length | 可选。规定 metaphone 键的最大长度。 |