README.md in twitter_ebooks-2.2.2 vs README.md in twitter_ebooks-2.2.3

- old
+ new

@@ -1,6 +1,6 @@ -# twitter\_ebooks 2.2.2 +# twitter\_ebooks 2.2.3 Rewrite of my twitter\_ebooks code. While the original was solely a tweeting Markov generator, this framework helps you build any kind of interactive twitterbot which responds to mentions/DMs. ## Installation @@ -61,11 +61,11 @@ ## Archiving accounts twitter\_ebooks comes with a syncing tool to download and then incrementally update a local json archive of a user's tweets. ``` zsh -➜ ebooks archive 0xabad1dea corpus/0xabad1dea.json +➜ ebooks archive 0xabad1dea corpus/0xabad1dea.json Currently 20209 tweets for 0xabad1dea Received 67 new tweets ``` The first time you'll run this, it'll ask for auth details to connect with. Due to API limitations, for users with high numbers of tweets it may not be possible to get their entire history in the initial download. However, so long as you run it frequently enough you can maintain a perfect copy indefinitely into the future. @@ -73,19 +73,19 @@ ## Text models In order to use the included text modeling, you'll first need to preprocess your archive into a more efficient form: ``` zsh -➜ ebooks consume corpus/0xabad1dea.json +➜ ebooks consume corpus/0xabad1dea.json Reading json corpus from corpus/0xabad1dea.json Removing commented lines and sorting mentions Segmenting text into sentences Tokenizing 7075 statements and 17947 mentions Ranking keywords 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. +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: