Skip to content

sheyooo/inverted-index

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inverted Index

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.

Installation

  1. Download and install Node JS if not already installed.
  2. Clone the repository here or go to the project github page here and download the zip file of the project. Unzip it.
  3. Navigate to your terminal and change your directory to the inverted-index project directory.
  4. Check that you are on the master branch using git status.
  5. Run npm install -g http-server on the terminal.

Usage

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.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published