網站首頁 練習題 成語大全 造句 名詞解釋 經典語錄 名人語錄
當前位置:國文精選館 > 造句 > 

“metaphone”簡單造句,metaphone造句子

欄目: 造句 / 發佈於: / 人氣:2.42W

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.

metaphone造句

Use the program in Listing 10 to create your own metaphone databases.

The average metaphone code is, therefore, a much more accurate representation of a given word, and provides an ideal basis for building a suggestion library.

The loadMetaPhones subroutine is straightforward code that creates two hashes of metaphone keys and values.

Insert a call to the Aspell or Ispell API for another avenue of search query suggestion, or replace the metaphone matching with the best modern soundex for your application.

In our example, a 1-frequency of metaphone match in the name field is considered more desirable than a 50-frequency match in the jobresponsibilities field.

If a metaphone match has been found, just the first matched word with the appropriate metaphone is selected for printing.

A frequency count is then created for each of these words, along with their associated metaphone keys.

The primary method for suggesting alternatives to typographical and spelling errors will be metaphone matching.

Tags:metaphone 造句