Instead of sampling, scoring input texts. Like echo "The quick brown fox jumps over the lazy dog" | th score.lua ... -> 0.95; echo "Mq98Mcl mdsa oaqIMQosdf" | th score.lua ... -> 0.04
Filling in esasures in input text. Like th fill.lua ... -text "The q___k br___ fox jump_ _____ the lazy d___" -> The quick brown fox jumps under the lazy duck
echo "The quick brown fox jumps over the lazy dog" | th score.lua ...
-> 0.95;echo "Mq98Mcl mdsa oaqIMQosdf" | th score.lua ...
-> 0.04th fill.lua ... -text "The q___k br___ fox jump_ _____ the lazy d___" -> The quick brown fox jumps under the lazy duck
cat input.txt | th compress.lua ... | th decompress.lua