GithubHelp home page GithubHelp logo

bawejakunal / generalised-vector-space-model Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 3.0 1.41 MB

Demonstration of generalised vector space model for ranking of documents for information retrieval

Python 100.00%

generalised-vector-space-model's Introduction

Generalised Vector Space Model

Information Retrieval Project for Demonstration of Generalised Vector Space Model

Note: This project was implemented as a final assignment for CSF469 Information Retrieval at BITS Pilani K.K. Birla Goa Campus.

**GVSM Paper:**http://www.aclweb.org/anthology/E09-3009

Required environment

  1. Python v3.0
  2. Scikit Learn Machine Learning Library http://scikit-learn.org/

Contributors:
Kunal Baweja 2011A7PS029G
Saransh Varshneya 2011A7PS007G
Nasrin Jaleel 2011A7PS444G
Ashu Kalra 2011A7PS150G

Guidelines/Instructions to run the demo code:

  1. test_large folder contains 3000 documents and test_small folder contains the small 5 files data set
  2. Execute python IR_small.py for checking output on a small dataset of 5-10 documents. Please enter the path to files to be ranked in the format /path/to/current_folder/test_small/* and the path to query document as /path/to/current_folder/query.txt
  3. Execute python IR_large.py for checking output on large dataset of documents. Please enter the path to files to be ranked in the format /path/to/current_folder/test_large/*. Here by default the first document read by the code is treated as the query document.

Note: The code may be tested on other datasets too provided the paths mentioned above are provided correctly by the user when prompted by the script.

generalised-vector-space-model's People

Contributors

bawejakunal avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.