用metaphone造句子,“metaphone”造句

來源:國語幫 2.44W

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.

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.

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

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.

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.

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

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

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

熱門標籤