Giter Club home page Giter Club logo

search-engine's Introduction

Open Source Search engine

Compilare

Pentru a compila codul sursa, folositi comanda make. Sunt folosite biblioteci din standardul POSIX (dirent.h).

Utilizare

./search <DIRNAME> <STRING>

Unde DIRNAME este numele directorului in care se va cauta iau STRING este expresia care va fi rezolvata.

Descriere

Proiectul reprezinta o implementare a unui motor simplu de cautare. Programul va primi ca input directorul in care va cauta si o expresie ce reprezinta o schema logica pe baza unor termeni de cautare. Se va afisa numele fisierelor care indeplinesc conditia data, sortate in functie de scorul TF-IDF atribuit fiecaruia, urmate de acest scor.

Exemplu

In urmatorul exemplu, docs este directorul cu teste dat in enuntul problemei:

>./search ./docs "programming || C"
4 results found:
doc05.txt (tfidf = 0.028156)
doc08.txt (tfidf = 0.025777)
doc11.txt (tfidf = 0.019082)
doc09.txt (tfidf = 0.008301)

search-engine's People

Contributors

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