Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Stupid MegaHAL clone

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib Brain#query's returned Sequence should include the initial value April 12, 2009
Octocat-spinner-32 .gitignore
Octocat-spinner-32 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.