Markov chain text generator: Difference between revisions

Content added Content deleted
m (syntax highlighting fixup automation)
m (→‎{{header|Wren}}: Minor tidy)
Line 1,823: Line 1,823:
<syntaxhighlight lang="ecmascript">import "io" for File
<syntaxhighlight lang="ecmascript">import "io" for File
import "random" for Random
import "random" for Random
import "/str" for Strs
import "./str" for Strs


var markov = Fn.new { |filePath, keySize, outputSize|
var markov = Fn.new { |filePath, keySize, outputSize|