Giter Club home page Giter Club logo

uic-search-engine's Introduction

UIC Search Engine

UIC Search Engine

Final project for CS 582 Information Retrieval course at University of Illinois at Chicago.

Results

Dependencies Required

  • Scrapy
  • BeautifulSoup
  • networkx
  • nltk
  • PyQt5
  • pyspellchecker

All the above dependencies can be installed through pip

Running the program

To run the program from terminal just use the command from the home directory of the project:

> cd user_interface
> python run_uic_search.py 

If you wish to crawl and run the program from scratch, delete the file "corpus.json" under "crawler/crawler/" directory. It currently crawls for around 7000 pages. To change the number of pages you want to crawl, change the value of "CLOSESPIDER_PAGECOUNT" to your desired number in "crawler/crawler/crawler/settings.py". Then follow the following instructions from the home directory of the project:

> cd crawler/crawler
> scrapy crawl uic_spider -o corpus.json

Delete the existing pickle files in the "pickles/" directory. From the home directory, run the following commands.

> cd ir_system
> python vector_space_model.py
> python pagerank.py
> cd ..
> cd user_interface
> python run_uic_search.py

Overview

The search engine takes in the user query, auto-corrects misspelled words in the query and returns a ranked list of most relevant pages to the query within the UIC domain (www.uic.edu).

Description

The search engine has the following components:

Web Crawler

Crawls the UIC domain, indexes and generates graph for the crawled pages.

Processor

Loads individual documents, preprocesses and vectorizes the documents.

Information Retrieval System

Runs PageRank on the graph, ranks the documents based on the cosine similarity and the PageRank node scores.

User Interface

A graphical user interface of the search engine for the user, which accepts user queries, auto-corrects misspelled words in the query and retrieves the most relevant pages to the query.

uic-search-engine's People

Contributors

anaghadudihalli avatar

Stargazers

Samujjwaal Dey avatar Vidur Satija 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.