├── .gitignore ├── .rspec ├── .ruby-version ├── .travis.yml ├── Gemfile ├── Guardfile ├── History.markdown ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin └── ebooks ├── config ├── defaults.yaml └── filters.yaml ├── dictionary.mmd ├── ebooks.gemspec ├── features ├── api.feature ├── ebooks.feature ├── step_definitions │ ├── api_steps.rb │ └── twitter_steps.rb └── support │ ├── env.rb │ ├── fixtures │ ├── config │ │ └── ebooks │ └── tweets.csv │ └── hooks.rb ├── lib ├── ebooks.rb └── ebooks │ ├── cli.rb │ ├── config.rb │ ├── core_ext.rb │ ├── corpora │ └── twitter_corpus.rb │ ├── generator.rb │ ├── markov_dictionary.rb │ ├── twitter.rb │ └── version.rb ├── markov_dict.txt └── spec ├── config_spec.rb ├── corpora └── twitter_corpus_spec.rb ├── ebooks_spec.rb ├── fixtures ├── config │ └── ebooks └── ebooks │ ├── dictionary.mmd │ ├── markov_dict.txt │ └── tweets.csv ├── markov_dictionary_spec.rb ├── spec_helper.rb └── twitter_spec.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --require spec_helper 3 | --format doc 4 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.2.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/Gemfile -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/Guardfile -------------------------------------------------------------------------------- /History.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/History.markdown -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/ebooks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/bin/ebooks -------------------------------------------------------------------------------- /config/defaults.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/config/defaults.yaml -------------------------------------------------------------------------------- /config/filters.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/config/filters.yaml -------------------------------------------------------------------------------- /dictionary.mmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/dictionary.mmd -------------------------------------------------------------------------------- /ebooks.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/ebooks.gemspec -------------------------------------------------------------------------------- /features/api.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/features/api.feature -------------------------------------------------------------------------------- /features/ebooks.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/features/ebooks.feature -------------------------------------------------------------------------------- /features/step_definitions/api_steps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/features/step_definitions/api_steps.rb -------------------------------------------------------------------------------- /features/step_definitions/twitter_steps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/features/step_definitions/twitter_steps.rb -------------------------------------------------------------------------------- /features/support/env.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/features/support/env.rb -------------------------------------------------------------------------------- /features/support/fixtures/config/ebooks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/features/support/fixtures/config/ebooks -------------------------------------------------------------------------------- /features/support/fixtures/tweets.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/features/support/fixtures/tweets.csv -------------------------------------------------------------------------------- /features/support/hooks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/features/support/hooks.rb -------------------------------------------------------------------------------- /lib/ebooks.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/lib/ebooks.rb -------------------------------------------------------------------------------- /lib/ebooks/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/lib/ebooks/cli.rb -------------------------------------------------------------------------------- /lib/ebooks/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/lib/ebooks/config.rb -------------------------------------------------------------------------------- /lib/ebooks/core_ext.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/lib/ebooks/core_ext.rb -------------------------------------------------------------------------------- /lib/ebooks/corpora/twitter_corpus.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/lib/ebooks/corpora/twitter_corpus.rb -------------------------------------------------------------------------------- /lib/ebooks/generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/lib/ebooks/generator.rb -------------------------------------------------------------------------------- /lib/ebooks/markov_dictionary.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/lib/ebooks/markov_dictionary.rb -------------------------------------------------------------------------------- /lib/ebooks/twitter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/lib/ebooks/twitter.rb -------------------------------------------------------------------------------- /lib/ebooks/version.rb: -------------------------------------------------------------------------------- 1 | module Ebooks 2 | VERSION = "0.3.1" 3 | end 4 | -------------------------------------------------------------------------------- /markov_dict.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/config_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/config_spec.rb -------------------------------------------------------------------------------- /spec/corpora/twitter_corpus_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/corpora/twitter_corpus_spec.rb -------------------------------------------------------------------------------- /spec/ebooks_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/ebooks_spec.rb -------------------------------------------------------------------------------- /spec/fixtures/config/ebooks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/fixtures/config/ebooks -------------------------------------------------------------------------------- /spec/fixtures/ebooks/dictionary.mmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/fixtures/ebooks/dictionary.mmd -------------------------------------------------------------------------------- /spec/fixtures/ebooks/markov_dict.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/fixtures/ebooks/markov_dict.txt -------------------------------------------------------------------------------- /spec/fixtures/ebooks/tweets.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/fixtures/ebooks/tweets.csv -------------------------------------------------------------------------------- /spec/markov_dictionary_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/markov_dictionary_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/twitter_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parkr/ebooks/HEAD/spec/twitter_spec.rb --------------------------------------------------------------------------------