Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 609 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 609 Bytes

Cranfield-TFIDF-Ranker

A program to search through the Cranfield documents and rank them accordingly based on your search query.
Uses a Vector Space Model with TF-IDF weighting.

Usage

  1. run jar with the command java -jar cranfieldTFIDF.jar file size
    file: cran.1400.all or similarly formatted file
    size: number of documents within the file
  2. Enter your query, and then how many relevant documents you wish to see.
    Documents will be listed in descending order, with the highest score being the most relevant