Giter VIP home page Giter VIP logo

csci572-information_retrieval_and_web_search_engines's Introduction

CSCI572 Information Retrieval And Web Search Engines

Contains assignments done for the CSCI572 course at University of Southern California.

1. Comparing Google and Bing Search Results

Languages : Python 3.7
I/P : Set of Queries and their corresponding top 10 Google Results
O/P : Spearman Coefficient for each query comparing Google and Bing Results

2. Crawler

Languages : Java 11
Libraries : crawler4j
I/P : Website domain name to Crawl
O/P : List of URLs fetched along with their statistics

3. Inverted Index

Languages : Java 11
Libraries : Apache Hadoop
Sytems : Google Cloud, Microsoft Azure I/P : List of URLs to be indexed
O/P : Index files for Unigrams and Bigrams for the URLs

4. Search Engine

Languages : Java 11, Python 3.7, HTML, CSS, PHP, JavaScript, JQuery
Libraries : Apache Lucene, Apache Solr, Apache Tika, NetworkX, jsoup, PeterNorvig's SpellCorrector
Functionalities :

1. Page rank Calculation :
Used jsoup in Java to parse all the links from the Crawled webpages to create EdgeList file.
Utilized NetworkX in Python to create a Directed Graph from the EdgeList and calculate Page Rank values for all the URLs.

2. Lucene and Solr setup :
Created a Solr core to Crawl html files and produce Inverted index efficiently.
Select Command in Solr retrieves webpages for the query given. It internally uses Lucene's Vector space and Boolean Model representation and sorts the results with TF-IDF.
Provided additional functionality for sorting the webpage results with the Page rank values computed previously.

3. Iditom Search Engine Webpage :
Developed a PHP code to act as the Client for getting the Query from the users. User can choose to use Lucene's default Ranking algorithm or Page Rank algorithm for Sorting the fetched results. Using Client API to Solr, webpage results are retrived for the Query.
Google like web interface is provided.

4. Spell Check and Autocomplete :
Created a vocabulary text file after parsing and preprocessing words from the Crawled webpages using Apache Tika.
Utilizied Peter-Norvig's SpellCorrector algorithm and fed this vocabulary to compute the probabilities for Edit Distance 1 and 2.
Added the Spell Check functionality to the Iditom Search Engine, imitating Google (Showing Results for __ , Search Instead for __ ).
Used Solr's default Autocomplete results which uses Fuzzy Factory lookup for the word suggestions.

View the Search Engine Video here - https://youtu.be/lYZ_SdsIX3A

csci572-information_retrieval_and_web_search_engines's People

Contributors

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