From ee8d4003e235633d4abb8acf644119b78dd1e941 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 23 May 2003 17:19:28 +0000 Subject: [PATCH] Added new soundex rule svn: r1587 --- src/soundex.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/soundex.py b/src/soundex.py index 1b41de173..1c7eb91eb 100644 --- a/src/soundex.py +++ b/src/soundex.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000 Donald N. Allingham +# Copyright (C) 2000-2003 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,9 +30,9 @@ import string # constants # #------------------------------------------------------------------------- -IGNORE = "~!@#$%^&*()_+=-`[]\|;:'/?.,<>\" \t\f\v" -TABLE = string.maketrans('ABCDEFGHIJKLMNOPQRSTUVWXYZ', - '01230120022455012623010202') +IGNORE = "HW~!@#$%^&*()_+=-`[]\|;:'/?.,<>\" \t\f\v" +TABLE = string.maketrans('ABCDEFGIJKLMNOPQRSTUVXYZ', + '012301202245501262301202') #------------------------------------------------------------------------- #