Code Monkey home page Code Monkey logo

wiki-section-rank's Introduction

Wiki-Section-Rank

This project attempts to build a retrieval system that takes advantage of the text classifier model built using appropriate topical sections from the Wikipedia articles.

Installation Instructions

Requirement

Java 1.8 or higher
Maven 3.3.8 or higher
OS:- Debian-Based (Debian, Ubuntu, Linux Mint, etc.)

Steps to reproduce

  1. git clone this repository
    git clone https://github.com/nithinsivakumar/Wiki-Section-Rank

  2. ./run.sh

    1. This will execute retrieval and classify.
    2. creates a folder named outfiles in project dir and stores all the generated runfiles files for evaluation.
    3. Run trec_eval for runfiles generated and write results to files at outfile/eval_results/
  3. ./run.sh -h will print the below usage.

    usage: ./run.sh [One of the below options]
    -r || --retrieval      execute bm25 for certain categories from outlines.cbor
    -c || --classify       execute bm25 and rerank the passages using pre-trained classifier
    -t || --train          Genrate qrels and create trainsets for given categories
    -b || --build          Train multiple classifiers for categories present in trainset folder
    -h || --help           Print usage
    no arguments           will execute retrieval and classify, write eval results at outFiles/eval_results
    

wiki-section-rank's People

Contributors

nithinsivaku 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.