Creates an Index Object that generates an inverted index given the path of a json file. The inverted index maps the words given under the text key of the json file to their occurence in the respective json objects of the file.
- Download and install Node JS if not already installed.
- Clone the repository here or go to the project github page here and download the zip file of the project. Unzip it.
- Navigate to your terminal and change your directory to the inverted-index project directory.
- Check that you are on the master branch using
git status
. - Run
npm install -g http-server
on the terminal.
Run http-server -c-1
on your terminal while within the project root directory.
Navigate to http://localhost:8080/jasmine/SpecRunner.html
on your browser ro run jasmine tests.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D