-- This Test is Part of the Prometheus Obfuscator by levno-710 -- -- strings.lua -- -- This Test demonstrates a deterministic text statistics for repeated words and prints the results. local passage = "lorem ipsum dolor sit amet ipsum lorem" local counts = {} for word in passage:gmatch("%w+") do counts[word] = (counts[word] or 0) + 1 end local order = {"lorem", "ipsum", "dolor", "sit", "amet"} for _, word in ipairs(order) do print(string.format("%s:%d", word, counts[word] or 0)) end