lukelex / soundcord

A phonetic algorithm to make comparison by phonetically similar terms easier.
30 stars 5 forks source link

How does it compares to metaphone? #1

Closed stereobooster closed 12 years ago

stereobooster commented 12 years ago

See metaphone & double metaphone, Metaphone 3

lukelex commented 12 years ago

Actually I dont intend create "another" phonetic algorithm proposal. My purpose is to gather these algorithms and create a GEM that supports a wide range of languages.

We are using the respective algorithms for these languages:

stereobooster commented 12 years ago

Double Metaphone tries to account for myriad irregularities in English of Slavic, Germanic, Celtic, Greek, French, Italian, Spanish, Chinese, and other origin.

quote from wikipedia

There are C implementations of double metaphone. Maybe it make sense to port it to the ruby, I suppose C will be faster.

Just suggesting. Still useful gem

lukelex commented 12 years ago

I did some previous tests and it was indeed faster. But then I realized that not everyone knows C and it is easier for most people, that could contribute to the project, to just know Ruby.

The main reason behind the code is to let even the most begginer developer contribute as painless as possible. Because of that, I am focusing on making the algorithm rules customizable through YAML files.