Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRandomNoise ¶
func AddRandomNoise(frequency float64, maxSize int, reader *bufio.Reader, writer *bufio.Writer) error
AddRandomNoise inserts invisible Unicode characters between runes read from reader and writes the result to writer. frequency controls the per-slot probability of inserting a noise character: values in [0.0, 1.0] behave as a probability (0.0 = no noise, 1.0 = noise on every slot). Values above 1.0 guarantee insertion on every slot; values below 0.0 suppress all noise. maxSize is the number of noise-insertion slots between consecutive runes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.