Skip to content

mcanaves/shakespeare-wordcounter

Repository files navigation

Shakespeare Word Counter

Build Status

Little project that tells you how many times Shakespeare use every word in three of his masterpieces. These books are:

  • King Lear
  • Othello
  • Romeo and Juliet

Prerequisites

You’ll need at least Docker 1.17.

If you don’t already have it installed, follow the instructions for your OS:

Usage

Simply run the following script:

Note: docker image must be built before try to run this script.

./scripts/run

And once the execution of the script is finished you will be able to see a file called result.csv that contains the word count.

Development

To work with this codebase you'll want to clone the repository and build the docker image:

git clone git@github.com:mcanaves/shakespeare-wordcounter
cd shakespeare-wordcounter
./scripts/setup

To lint the code and run the tests run the following scripts:

Note: docker image must be built before try to run any of these scripts

./scripts/lint
./scripts/test

About

Word counter example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published