Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Stupid MegaHAL clone
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
.gitignore
README

README

% irb -r lib/minihal
>> brain = Minihal::Brain.new
=> #<Minihal::Brain:0x5e1e24 @network={}>
>> Minihal.string_to_sequences(IO.read("ulysses.txt")).each { |sequence| brain.learn(sequence) }; nil
=> nil
>> brain.query.to_sentence
=> "He winked in a good stock of rock, sigh the other in the path of innumerable quires and marvellous exhibition of her voice: one sees us today i oughtnt to reflect."
Something went wrong with that request. Please try again.