This script requires Node.js https://nodejs.org/en/download/
Please place .txt file in the reviews folder. Make sure the file is formatted so that each review is on a new line, and ended by a comma.
An example .txt file with 3 reviews:
This restuarant is awesome!,
Food here is pretty decent.,
Don't come here.
In terminal, navigate to root folder reviews-highlighter and then enter:
- npm start
- filename in reviews folder (marlowe.txt)
- number of highlights (integer)
Your highlights will be printed to the console!