Questions tagged [metaphone]

Metaphone is a phonetic algorithm published in 1990 for indexing words by their English pronunciation.

Metaphone fundamentally improves on the Soundex algorithm by using information about variations and inconsistencies in English spelling and pronunciation to produce a more accurate encoding, which does a better job of matching words and names which sound similar. As with Soundex, similar sounding words should share the same keys. Metaphone is available as a built-in operator in a number of systems, including later versions of PHP.

48 questions
0
votes
1 answer

Why is Java's Double Metaphone only giving four letter codes?

I want to use DoubleMetaphone to get a phonetic encoding of a given string. For example: import org.apache.commons.codec.language.DoubleMetaphone; String s1 = "computer"; (new DoubleMetaphone()).doubleMetaphone(s1); Result: Computer -> KMPT The…
Ian
  • 3,605
  • 4
  • 31
  • 66
0
votes
1 answer

variables equal with doublemetaphone on pyspark

I want to use the fonction **"doublemetaphone"** on my data set on **pyspark**. The expectation result is a boolean: TRUE or FALSE. But *@udf("bool")* doesn't work, is there another way? from metaphone import doublemetaphone @udf("bool") def…
Neoooar
  • 33
  • 7
0
votes
2 answers

Populate Rows in CSV with jellyfish.metaphone() value of row

I'm a super python noob. I am trying to determine the metaphone code for a list of names. These codes will later on be compared to find potential similar-sounding names. The jellyfish module suits my needs, and I am able to get the metaphone code…
asasBonny
  • 3
  • 1
0
votes
0 answers

MySQL select possible regular expression question

I'm working with a MySQL database that hold metaphone keys of a string (peoples names) in a VARCHAR field but I'm having a problem when it comes to pulling out individuals with multiple names. As an example, take the metaphone key for "Mary Ann",…
Gary
  • 107
  • 10
0
votes
2 answers

Retrieving words with 3 or less characters in MySQL

I have a table with a field that contains a bunch of neighborhood names. Some of these neighborhoods have names with 2 or more words. How can I get a list of words that are 3 or less characters and occur in the middle of name with 3 or more…
RS7
  • 2,341
  • 8
  • 34
  • 57
0
votes
1 answer

I want to use double metaphone algorithm in stored procedure does oracle have any inbuilt function for this?

i want to use double metaphone algorithm in oracle database.Does oracle have inbuilt function for this.
Abhishek
  • 11
  • 1
0
votes
1 answer

PostgreSQL: Address matching using fuzzymatch from two tables

What I want to do; I have two tables with two address columns , both stored as text I want to create a view returning the matching rows. What I've tried; I've created and index on both columns and tables as below; CREATE INDEX idx_table1_fulladdress…
mapping dom
  • 1,737
  • 4
  • 27
  • 50
0
votes
0 answers

Why is the php function "metaphone" around 20x slower on windows than linux?

Does somebody know why php function "metaphone" is around 20x slower running on windows than Linux? I tested with loop benchmark and results are: 0.123 sec for Linux php5 1.892 sec for windows php7 Math operations are almost equal. Similar problem…
Artur
  • 1
0
votes
1 answer

Is there a way to generate words that sound similar to a given dictionary word without using a corpus?

I am trying to use phonetic algorithms like Soundex and/or Metaphone to generate words that sound similar to a given dictionary word. Do I have to have a corpus of all dictionary words for doing that? Is there another way to generate words that…
0
votes
1 answer

Fuzzy autocomplete

In my application, I have a users table, with first_name and last_name. I currently have a third column full_name (automatically generated) like this : first_name + last_name + first_name (without special chars). "Etienne", "De Crécy", "Etienne De…
pierallard
  • 3,326
  • 3
  • 21
  • 48
0
votes
0 answers

Is it possible to get metaphones for those non-english characters?

In java is it possible to convert non-english characters into their english characters. For example, I want: Zdeborová --> Zdeborova Krząkała --> Krzakala Sr´amek --> Sramek so on.. When i try the methods below String t1 =…
mlee_jordan
  • 772
  • 4
  • 18
  • 50
0
votes
2 answers

Double-metaphone errors

I'm using Lawrence Philips Double-Metaphone algorithm with great success, but I have found the odd "unexpected result" for some combinations. Does anyone else have additions or changes to the algorithm for other parts of it they wouldn't mind…
gbjbaanb
  • 51,617
  • 12
  • 104
  • 148
0
votes
0 answers

Edit distance or metaphone?

I am working on online review data, that is full of "Internet lingo". I want to do some lexicon analysis on the words. Long story short I want a spell checker that can take into account the language used in internet. After some research I, I found…
0
votes
1 answer

How to integrate Metaphone to the spellchecker program in java-lucene?

While browsing i came up with a spellchecking program in lucene.I was interested in adding the phonetix add-on(specifically metaphone) from tangentum. Is there a way i can integrate metaphone into my program? How to integrate it? package…
Aaron Misquith
  • 621
  • 1
  • 7
  • 11
0
votes
2 answers

SQL for Querying MSSQL with Double Metaphone for First/Last Name Combos

I am using Double-Metaphone for fuzzy searching within my database. I have a table of names, and both the first and last names have double metaphone entries already created (and updated, via a Trigger). In my application, I am allowing the user to…
Matthew M.
  • 3,422
  • 4
  • 32
  • 36