Skip to content

binghaobhw/information-retrieval-experiment

Repository files navigation

Simple Search Engine Written by Python

Description

Requirements

  • Python 2.7
  • pip

Setup

  1. Clone repository

    $ git clone git@github.com:scorpio147wbh/information-retrieval-experiment.git
    
  2. Download LTP Chinese word segment model from here

  3. Install python packages

    $ cd information-retrieval-experiment
    $ pip install -r requirements.txt
    
  4. MongoDB settings

    Please rewrite MONGO_URL in config.py

  5. LTP settings

    Please rewrite CWS_MODEL_PATH in config.py

  6. Run

    $ python run-crawler.py http://nlp.stanford.edu/courses/NAACL2013/ # build a index
    $ python run-webapp.py # access to http://127.0.0.1:5000
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published