From 707675c8cdb8bd796196c0ba1c1f2adcb07deffe Mon Sep 17 00:00:00 2001 From: B0073D Date: Thu, 12 Dec 2013 10:32:03 +1100 Subject: [PATCH] Added more information to Readme Added 'require' line to example and also information about statement separation in text files. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 677519f..0ddae61 100755 --- a/README.md +++ b/README.md @@ -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"