Git Product home page Git Product logo

csc_849_hw1's Introduction

Setup
---------------------------------------------------------------------------------------------------------------------

venv (skip if you already have set up)
- create directory for project to live in
- cd into project directory
- run "python3 -m virtualenv env" to set up new virtual env in project directory
- run "source ./env/bin/activate" to activate the virtual env
- run "pip3 install nltk" to get that dependency

running the program
- make sure you have all files in the project directory, there should be 4
    * SearchEngine.py
    * BooleanQueryEvaluator.py
    * InvertedIndexConstructor.py
    * documents.txt
- run "SearchEngine.py"
- there won't be any output, but you should now see two additional files
    * Inverted_Index.txt
    * Results_File.txt
- inverted index and search results should now be in their respective files
---------------------------------------------------------------------------------------------------------------------

NOTE
---------------------------------------------------------------------------------------------------------------------
iLearn only allows for 5 files to be uploaded and my project is split into 3 separate python files. I'm out of time,
so a refactor isn't in the cards. I'm going to put my Search Results into the Inverted_Index.txt file on top of
the actual inverted index. My apologies for any inconvenience, I'm happy to fix if you don't mind waiting until
tomorrow.

csc_849_hw1's People

Contributors

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