Skip to content

alfoeternia/stemmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search engine

Use of Porter Stemmer in Javascript to implement a search engine over the Cranfield collection

Installation

$ npm install

Usage

 $ ./build.js --help

  Usage: build [options]

  Options:

    -h, --help               output usage information
    -V, --version            output the version number
    -j, --json               output JSON instead of a CLI formatted table
    -s, --sort               sort inverted index (default: no)
    -c, --collection <file>  specify a custom collection file
    -w, --stop-words <file>  specify a custom stopwords file
 $ ./search.js --help
  Usage: search [options] <queries>

  Options:

    -h, --help          output usage information
    -V, --version       output the version number
    -b, --binary        use a binary query string (currently unused)
    -i, --index <file>  specify a custom JSON-formatted inverted index file
    -v, --verbose       enables verbose output

## Resources

About

Use of Porter Stemmer in Javascript to implement a search engine over the Cranfield collection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors