|
6 | 6 | * especially they can be a bit different, depending on pronunciation.
|
7 | 7 | *
|
8 | 8 | * Information on using Double Metaphone can be found at
|
9 |
| - * http://www.codeproject.com/useritems/dmetaphone1.asp |
| 9 | + * http://www.codeproject.com/string/dmetaphone1.asp |
10 | 10 | * and the original article describing it can be found at
|
11 | 11 | * http://www.cuj.com/documents/s=8038/cuj0006philips/
|
12 | 12 | *
|
13 |
| - * For PostgrSQL we provide 2 functions - one for the primary and one for |
| 13 | + * For PostgreSQL we provide 2 functions - one for the primary and one for |
14 | 14 | * the alternate. That way the functions are pure text->text mappings that
|
15 | 15 | * are useful in functional indexes. These are 'dmetaphone' for the
|
16 | 16 | * primary and 'dmetaphone_alt' for the alternate.
|
|
48 | 48 |
|
49 | 49 |
|
50 | 50 | /*
|
51 |
| - * $Revision: 1.4 $ |
52 |
| - * $Id: dmetaphone.c,v 1.4 2004/10/07 15:21:49 momjian Exp $ |
| 51 | + * $Revision: 1.5 $ |
| 52 | + * $Id: dmetaphone.c,v 1.5 2005/09/30 22:38:44 momjian Exp $ |
53 | 53 | */
|
54 | 54 |
|
55 | 55 |
|
@@ -252,7 +252,7 @@ dmetaphone_alt(PG_FUNCTION_ARGS)
|
252 | 252 |
|
253 | 253 |
|
254 | 254 |
|
255 |
| -/* this typedef was orignally in the perl module's .h file */ |
| 255 | +/* this typedef was originally in the perl module's .h file */ |
256 | 256 |
|
257 | 257 | typedef struct
|
258 | 258 | {
|
@@ -1188,7 +1188,7 @@ DoubleMetaphone(char *str, char **codes)
|
1188 | 1188 | /*
|
1189 | 1189 | * german & anglicisations, e.g. 'smith' match 'schmidt',
|
1190 | 1190 | * 'snider' match 'schneider' also, -sz- in slavic
|
1191 |
| - * language altho in hungarian it is pronounced 's' |
| 1191 | + * language although in hungarian it is pronounced 's' |
1192 | 1192 | */
|
1193 | 1193 | if (((current == 0)
|
1194 | 1194 | && StringAt(original, (current + 1), 1,
|
|
0 commit comments