Sha256: db20307faf9b9b9e33f444582fc287093ad1c9e41d37096ff10a06e00864f374
Contents?: true
Size: 212 Bytes
Versions: 1
Compression:
Stored size: 212 Bytes
Contents
class Markov::Token < Struct.new(:word, :kind) # used as an internal structure to hold words etc # # word => string # kind => :start, :word, :special, :stop def to_s "#{kind}(#{word})" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
markov-generator-0.10.0 | lib/markov/token.rb |