Git Product home page Git Product logo

informationretrieval's Introduction

InformationRetrieval

Problem

  • Build a search engine for Environmental News NLP archieve.

  • Built a corpus for archieve with atleast 418 documents.


Dataset


Setup instructions

Libraries used

  • nltk
  • BTrees

Set up these Libraries for your system.

File structure

├── 0226_0286_0298_1557_AIR_Report.pdf
├── bigramIndex
├── documentInfo
├── ElasticSearchUtil
│   ├── createIndex.py
│   └── jsonInputs
├── indexes
├── README.md
├── setup.py
└── src
    ├── input
        ├── SimpleSearch.json
        ├── PhraseSearch.json
        └── WildCard.json
    ├── compareES.py
    ├── genetateBigramIndex.py
    ├── indexConstruction.py
    ├── phraseQuery.py
    ├── queryDriver.py
    ├── simpleSearch.py
    ├── utils.py
    └── wildcardQuery.py

Input variations

mode :

  • 0 (Single File search)
  • 1 (All File search)

fileName : Name of file if mode 0 search : list of terms for simple search must : phrase for positional search wildcard : for wildcard query top : number of docs required

Running the IR system

  • Change the json file in the input directory
  • python3 queryDriver.py <type of query> <compare with ES flag> If compare flag is on make sure ES has started with all indexes running on port 9200. sample command python3 queryDriver.py SimpleSearch 0

informationretrieval's People

Contributors

shashankmg123 avatar rananth99 avatar prams628 avatar sparsha-p avatar

Watchers

 avatar

Forkers

prams628

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.