a lossy text compression simulator