Skip to content

Jbjill2 #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
updated paths for raw datafiles to be in data folder instead of root
  • Loading branch information
Jennifer Jasperse authored and Jennifer Jasperse committed Dec 8, 2021
commit e3a1278cf1e74e4098b33ad481d262c155449c87
4 changes: 2 additions & 2 deletions search_engine/build_search_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ def make_queries(query_input_file,query_output_file):

#build corpus
if(cfg_d['duplicates'] == 'True'):
books_filename = "../goodreads_books_cleaned.json.gz"
books_filename = "../data/goodreads_books_cleaned.json.gz"
build_corpus(books_filename,include_duplicates=True)
else:
books_filename = "../goodreads_books_cleaned_no_duplicates.json.gz"
books_filename = "../data/goodreads_books_cleaned_no_duplicates.json.gz"
build_corpus(books_filename,include_duplicates=False)


Expand Down