Talk:Changeable words: Difference between revisions

Content added Content deleted
(Regarding "committeeperson" <-> "committeepeople")
(→‎Committeeperson and committeepeople: Output not matching sample code ?)
Line 77: Line 77:
==Committeeperson and committeepeople==
==Committeeperson and committeepeople==
Regarding the suggested use of the Hamming distance and making the task be find the words whose Hamming distance is 1, if I read the Wikipedia article (and its Python sample code) correctly, the Hamming distance between "committeeperson" and "committeepeople" isn't 1, yet a number of samples show this pair? --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 15:14, 12 November 2023 (UTC)
Regarding the suggested use of the Hamming distance and making the task be find the words whose Hamming distance is 1, if I read the Wikipedia article (and its Python sample code) correctly, the Hamming distance between "committeeperson" and "committeepeople" isn't 1, yet a number of samples show this pair? --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 15:14, 12 November 2023 (UTC)

:The unixdict.txt I have, doesn't contain "committeepeople", however, using a fiie that does, the AWK and C samples don't find "committeeperson" and "committeepeople", yet show it in theirt output. I also can't see how the Ada sample code would find that match either, though the output claims it does. I haven't looked at other samples that show this pair. --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 15:33, 12 November 2023 (UTC)