diff options
author | Bruce Momjian | 2005-09-30 22:38:44 +0000 |
---|---|---|
committer | Bruce Momjian | 2005-09-30 22:38:44 +0000 |
commit | e8907b52b0042dd28ea1ac10208a947efb66ec0c (patch) | |
tree | 1b4ad59a1937451db08698e81499d4d2e9a8a8c1 | |
parent | f2a4750bd167e48a5bf26a9966cf7e2c265c5148 (diff) |
One of the web pages mentioned in dmetaphone.c has moved. Also fix
a few typos in comments.
The dictionaries I checked list "altho" as a variant of "although,"
but I didn't find any other instances of the former in the source
tree so I changed it.
Michael Fuhr
-rw-r--r-- | contrib/fuzzystrmatch/dmetaphone.c | 10 | ||||
-rw-r--r-- | contrib/fuzzystrmatch/fuzzystrmatch.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/contrib/fuzzystrmatch/dmetaphone.c b/contrib/fuzzystrmatch/dmetaphone.c index 6db422331f..e9f3f7aed3 100644 --- a/contrib/fuzzystrmatch/dmetaphone.c +++ b/contrib/fuzzystrmatch/dmetaphone.c @@ -6,11 +6,11 @@ * especially they can be a bit different, depending on pronunciation. * * Information on using Double Metaphone can be found at - * http://www.codeproject.com/useritems/dmetaphone1.asp + * http://www.codeproject.com/string/dmetaphone1.asp * and the original article describing it can be found at * http://www.cuj.com/documents/s=8038/cuj0006philips/ * - * For PostgrSQL we provide 2 functions - one for the primary and one for + * For PostgreSQL we provide 2 functions - one for the primary and one for * the alternate. That way the functions are pure text->text mappings that * are useful in functional indexes. These are 'dmetaphone' for the * primary and 'dmetaphone_alt' for the alternate. @@ -48,7 +48,7 @@ /* - * $Revision: 1.4 $ + * $Revision: 1.5 $ * $Id$ */ @@ -252,7 +252,7 @@ dmetaphone_alt(PG_FUNCTION_ARGS) -/* this typedef was orignally in the perl module's .h file */ +/* this typedef was originally in the perl module's .h file */ typedef struct { @@ -1188,7 +1188,7 @@ DoubleMetaphone(char *str, char **codes) /* * german & anglicisations, e.g. 'smith' match 'schmidt', * 'snider' match 'schneider' also, -sz- in slavic - * language altho in hungarian it is pronounced 's' + * language although in hungarian it is pronounced 's' */ if (((current == 0) && StringAt(original, (current + 1), 1, diff --git a/contrib/fuzzystrmatch/fuzzystrmatch.c b/contrib/fuzzystrmatch/fuzzystrmatch.c index 90505a8b2c..8ffc02ffa3 100644 --- a/contrib/fuzzystrmatch/fuzzystrmatch.c +++ b/contrib/fuzzystrmatch/fuzzystrmatch.c @@ -119,7 +119,7 @@ levenshtein(PG_FUNCTION_ARGS) str_s0 = str_s; /* - * Loop throught the rows, starting at row 1. Row 0 is used for the + * Loop through the rows, starting at row 1. Row 0 is used for the * initial "upper" row. */ for (j = 1; j < rows; j++) |