GithubHelp home page GithubHelp logo

minisearchengine's Introduction

Project introduction:
This project was carried out as part of Programming 2 course, under professer Jian-Yun Nie at Université de Montréal.
The project's goal is to build a simplified information retrieval system (search engine).The user selects system a set of texts (documents).The program uses the files to build the first linked list, whose nodes contain the document
name, and a sub linked list containing the words and their frequencies. Next, the program creates an inverted list,
whose nodes contain a word and its occurnces in the set of texts. The program uses these data structs to find the words corresponding to a user request.

Most notable skills in this project : The organization of classes and methods, the use of the linked list,
sorting and the graphical interface.

The course grade given to this work is 100%.
____________________________________________________________________________________________________________________
How to use:
1_ Open .txt files from open->file
2_ Create inverted data structure from open->invert
3_ Display data structures from graph->display
4_ type input in 'Word to search' zone, then click search to display occurnces and frequency

Note: If you input several words, the program will display the documents where all words exist, with the accumulated
frequency of the words
____________________________________________________________________________________________________________________

Class organization:
_Main class
_MVC model classes
_AnsComparator class: comparator to sort lists by frequency
_SubNode: sub linked list node, contains attributes text and frequency
_MainNode: main linked list node, contains attributes text and sublist (SubNode linked list) 

Project done by: Yacine Mkhinini

minisearchengine's People

Contributors

mkyacine avatar

Watchers

 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.