Skip to content

abramhindle/minihal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

% 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."

About

Stupid MegaHAL clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published