Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc40cd36

Browse files
committed
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 sourcetree so I changed it.Michael Fuhr
1 parentb4a7213 commitc40cd36

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

‎contrib/fuzzystrmatch/dmetaphone.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
* especially they can be a bit different, depending on pronunciation.
77
*
88
* 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
1010
* and the original article describing it can be found at
1111
* http://www.cuj.com/documents/s=8038/cuj0006philips/
1212
*
13-
* ForPostgrSQL we provide 2 functions - one for the primary and one for
13+
* ForPostgreSQL we provide 2 functions - one for the primary and one for
1414
* the alternate. That way the functions are pure text->text mappings that
1515
* are useful in functional indexes. These are 'dmetaphone' for the
1616
* primary and 'dmetaphone_alt' for the alternate.
@@ -48,8 +48,8 @@
4848

4949

5050
/*
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 $
5353
*/
5454

5555

@@ -252,7 +252,7 @@ dmetaphone_alt(PG_FUNCTION_ARGS)
252252

253253

254254

255-
/* this typedef wasorignally in the perl module's .h file */
255+
/* this typedef wasoriginally in the perl module's .h file */
256256

257257
typedefstruct
258258
{
@@ -1188,7 +1188,7 @@ DoubleMetaphone(char *str, char **codes)
11881188
/*
11891189
* german & anglicisations, e.g. 'smith' match 'schmidt',
11901190
* 'snider' match 'schneider' also, -sz- in slavic
1191-
* languagealtho in hungarian it is pronounced 's'
1191+
* languagealthough in hungarian it is pronounced 's'
11921192
*/
11931193
if (((current==0)
11941194
&&StringAt(original, (current+1),1,

‎contrib/fuzzystrmatch/fuzzystrmatch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ levenshtein(PG_FUNCTION_ARGS)
119119
str_s0=str_s;
120120

121121
/*
122-
* Loopthrought the rows, starting at row 1. Row 0 is used for the
122+
* Loopthrough the rows, starting at row 1. Row 0 is used for the
123123
* initial "upper" row.
124124
*/
125125
for (j=1;j<rows;j++)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp