Merge pull request #4 from B0073D/master

Added more information to readme to help new users
This commit is contained in:
Mispy 2013-12-11 17:55:31 -08:00
commit 7fd72da7bd

View file

@ -84,9 +84,12 @@ Corpus consumed to model/0xabad1dea.model
Notably, this works with both json tweet archives and plaintext files (based on file extension), so you can make a model out of any kind of text.
Text files use newlines and full stops to seperate statements.
Once you have a model, the primary use is to produce statements and related responses to input, using a pseudo-Markov generator:
``` ruby
> require 'twitter_ebooks'
> model = Ebooks::Model.load("model/0xabad1dea.model")
> model.make_statement(140)
=> "My Terrible Netbook may be the kind of person who buys Starbucks, but this Rackspace vuln is pretty straight up a backdoor"