metaphone
計算字符串的metaphone鍵
metaphone()
函數計算字符串的metaphone 鍵。
metaphone 鍵代表字符串的英語發音。
metaphone()
函數可用於拼寫檢查程序。
註釋: metaphone()
函數為發音相似的單詞創建相同的鍵。
註釋:所生成的metaphone 鍵長度可變。
提示: metaphone() 比soundex()
函數更精確,因為metaphone()
了解英語發音的基本規則。
metaphone ( string , length )
參數 | 描述 |
---|---|
string | 必需。規定要檢查的字符串。 |
length | 可選。規定metaphone 鍵的最大長度。 |