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
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.