04-05-2022, 01:19 AM
Hi Koen, I guess that's my suggestion: h2 could be low because the script faultily records distinctions. A reader familiar with the language wouldn't have a problem restoring the correct reading from their own knowledge. A bit like English "th", which is restored to /th/ or /dh/ by recognizing the whole word.
For each [o]:
1. Generate a random integer.
2. Check the remainder of that number divided by 2.
3. If the remainder is 1, change the [o]. Otherwise leave it
A bit of searching suggests that Python can generate a random number with a bit size of 1, so effectively a random boolean.
(Unless I've misunderstood what you were asking.)
Quote:I'll try to test this tomorrow, although I'm not sure yet how to replace half of all o's randomly. Humans are bad at random so it would have to be automated somehow.
For each [o]:
1. Generate a random integer.
2. Check the remainder of that number divided by 2.
3. If the remainder is 1, change the [o]. Otherwise leave it
A bit of searching suggests that Python can generate a random number with a bit size of 1, so effectively a random boolean.
(Unless I've misunderstood what you were asking.)

