Changeable words: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: moved a filter to the READ loop (from the scan loop).) |
m (Minor edit to C code) |
||
Line 93: | Line 93: | ||
const string_t* str2 = &dictionary[j]; |
const string_t* str2 = &dictionary[j]; |
||
if (i != j && hamming_distance(str1, str2) == 1) |
if (i != j && hamming_distance(str1, str2) == 1) |
||
printf("%2d |
printf("%2d: %-14s -> %s\n", n++, str1->str, str2->str); |
||
} |
} |
||
} |
} |
||
Line 103: | Line 103: | ||
<pre> |
<pre> |
||
Changeable words in unixdict.txt: |
Changeable words in unixdict.txt: |
||
1 |
1: aristotelean -> aristotelian |
||
2 |
2: aristotelian -> aristotelean |
||
3 |
3: claustrophobia -> claustrophobic |
||
4 |
4: claustrophobic -> claustrophobia |
||
5 |
5: committeeman -> committeemen |
||
6 |
6: committeemen -> committeeman |
||
7 |
7: committeewoman -> committeewomen |
||
8 |
8: committeewomen -> committeewoman |
||
9 |
9: complementary -> complimentary |
||
10 |
10: complimentary -> complementary |
||
11 |
11: confirmation -> conformation |
||
12 |
12: conformation -> confirmation |
||
13 |
13: congresswoman -> congresswomen |
||
14 |
14: congresswomen -> congresswoman |
||
15 |
15: councilwoman -> councilwomen |
||
16 |
16: councilwomen -> councilwoman |
||
17 |
17: craftsperson -> draftsperson |
||
18 |
18: draftsperson -> craftsperson |
||
19 |
19: eavesdropped -> eavesdropper |
||
20 |
20: eavesdropper -> eavesdropped |
||
21 |
21: frontiersman -> frontiersmen |
||
22 |
22: frontiersmen -> frontiersman |
||
23 |
23: handicraftsman -> handicraftsmen |
||
24 |
24: handicraftsmen -> handicraftsman |
||
25 |
25: incommutable -> incomputable |
||
26 |
26: incomputable -> incommutable |
||
27 |
27: installation -> instillation |
||
28 |
28: instillation -> installation |
||
29 |
29: kaleidescope -> kaleidoscope |
||
30 |
30: kaleidoscope -> kaleidescope |
||
31 |
31: neuroanatomy -> neuroanotomy |
||
32 |
32: neuroanotomy -> neuroanatomy |
||
33 |
33: newspaperman -> newspapermen |
||
34 |
34: newspapermen -> newspaperman |
||
35 |
35: nonagenarian -> nonogenarian |
||
36 |
36: nonogenarian -> nonagenarian |
||
37 |
37: onomatopoeia -> onomatopoeic |
||
38 |
38: onomatopoeic -> onomatopoeia |
||
39 |
39: philanthrope -> philanthropy |
||
40 |
40: philanthropy -> philanthrope |
||
41 |
41: prescription -> proscription |
||
42 |
42: proscription -> prescription |
||
43 |
43: schizophrenia -> schizophrenic |
||
44 |
44: schizophrenic -> schizophrenia |
||
45 |
45: shakespearean -> shakespearian |
||
46 |
46: shakespearian -> shakespearean |
||
47 |
47: spectroscope -> spectroscopy |
||
48 |
48: spectroscopy -> spectroscope |
||
49 |
49: underclassman -> underclassmen |
||
50 |
50: underclassmen -> underclassman |
||
51 |
51: upperclassman -> upperclassmen |
||
52 |
52: upperclassmen -> upperclassman |
||
</pre> |
</pre> |
||