Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase «««123

Sound Matching and a Phonetic Toolkit Expand / Collapse
Author
Message
Posted Thursday, July 13, 2006 10:39 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, March 27, 2013 3:22 PM
Points: 1,276, Visits: 1,112

Oh my...  I haven't tested any of these on 64-bit Win2003 or SQL 2005.  They were only tested on SQL 2000, 32-bit.  XP's on SQL 2005 have been deprecated but are still allowed... for now.  A better bet might be to convert the routines to .NET assemblies for SQL 2K5.  The downloads contain the C++ source code for these routines.  If you were using SQL 2000, I'd recommend using the routines here:  http://www.sqlservercentral.com/columnists/mcoles/sql2000dbatoolkitpart3.asp, with more optimizations and additional routines added.

Post #294306
Posted Monday, August 14, 2006 2:59 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, July 18, 2007 12:01 PM
Points: 2, Visits: 1

Um... I checked the example given under the NYSIIS and they don't all return JANSAN

Johnson J525  JANSAN   
Johnsen J525  JANSAN   
Johanson J525  JAHANSAN 
Johannsen J525  JAHANSAN 

Post #301718
Posted Friday, September 15, 2006 2:54 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, November 16, 2006 8:55 AM
Points: 1, Visits: 1
Well, this is only a tool to help you out filtering better results than the crappy soundex function, if you make than many mistakes writing down your name, then its normal it doesnt return anything.

If I look for "De la pointe" using soundex, writing: "De la ponte",
it will return a LOT more results than it should...
basically everything starting with DE[SPACE]... will be returned!
Wow.
Will test NYSIIS and let you know how better it is or not.
Post #309096
Posted Friday, September 15, 2006 5:41 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, March 27, 2013 3:22 PM
Points: 1,276, Visits: 1,112
The code was changed to reflect the NYSIIS "standard" a little better after the article was published (see this discussion board for details).  The "H" in Johanson and Johannsen is not considered silent because it's surrounded by vowels; therefore it's not dropped.  In the original version it was dropped.
Post #309116
Posted Friday, September 15, 2006 5:51 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, March 27, 2013 3:22 PM
Points: 1,276, Visits: 1,112

Yes, unfortunately the SQL Server SOUNDEX() function stops encoding a name when it encounters a non-alphabetic character.  So "DE LA POINTE", "DE LA SOUL", etc. will all encode to "D000".  One work-around with Soundex is to eliminate all spaces from a name before encoding with the REPLACE() function:

SELECT SOUNDEX(REPLACE('DE LA POINTE',' ', ''))

Another option (that NARA recommends) is to eliminate common prefixes like 'DE', 'LA', 'VAN', 'CON', etc. from the name before Soundex-encoding it.  See http://www.archives.gov/publications/general-info-leaflets/55.html for more info.  Also note that the MS SOUNDEX() function does not follow the official NARA Soundex standard, and may return results that don't match up with external data sources that encode correctly.

This NYSIIS implementation ignores invalid characters (spaces, etc.) in the name and encodes until it runs out of alphabetic characters.  Also see http://www.sqlservercentral.com/columnists/mcoles/sql2000dbatoolkitpart3.asp for the update to this set.  The update includes NYSIIS, Double-Metaphone, Celko Soundex, Daitch-Mokotoff Soundex, Levenshtein Edit Distance and Jaro-Winkler Distance functions.

Post #309121
Posted Monday, April 13, 2009 6:25 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, November 22, 2012 1:39 PM
Points: 2, Visits: 19
Hi,
Having issues registering the nyssis.dll file on Windows server 2008.
Is there Any updated version of this file is available?
or please tell me how i can use it on windows server 2008 operating system.
Thanks in advance
ravi

Post #696253
Posted Tuesday, October 27, 2009 3:46 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 20, 2013 9:18 AM
Points: 4, Visits: 136
I have had this implemented for about 2 years on a 32-bit sql 2000 server and it's working like a champ. However, we are now implenting on a sql 2005 64-bit server, and it is blowing up on me. My event viewer shows the following error:
"Description:
Could not load the DLL xp_nysiis.dll, or one of the DLLs it references. Reason: 193(xp_nysiis.dll is not a valid Win32 application.)."

Please help.
Post #809628
Posted Tuesday, May 31, 2011 10:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, November 05, 2012 9:59 AM
Points: 6, Visits: 171
Hello All -

Does anyone have any solutions on how to get NYSIIS.DLL to run on a 64-Bit machine ??
Post #1117548
« Prev Topic | Next Topic »

Add to briefcase «««123

Permissions Expand / Collapse