Skip to content

Commit

Permalink
update solution readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shrebox committed Jul 12, 2020
1 parent 4607f2a commit 64aec5c
Showing 1 changed file with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
Author @ Shreyash Arya (2015097)
### Files:

Assignment 1: Information Retrieval (CSE508)
Code: ```'inverted_index.py', 'positional_indexing.py'```
Saved Dictionaries: ```'filename_mappings.pkl', 'file_to_index_mappings_with_stopwords_q3.pkl', 'index_to_file_mappings_with_stopwords_q3.pkl', 'inverted_index.pkl', 'phrasal_inverted_index_with_stopwords_q3.pkl'```
Text files: ```'Analysis_ShreyashArya_2015097.pdf', 'readme'```

Files:

Code: 'inverted_index.py', 'positional_indexing.py'
Saved Dictionaries: 'filename_mappings.pkl', 'file_to_index_mappings_with_stopwords_q3.pkl', 'index_to_file_mappings_with_stopwords_q3.pkl', 'inverted_index.pkl', 'phrasal_inverted_index_with_stopwords_q3.pkl'
Text files: 'Analysis_ShreyashArya_2015097.pdf', 'readme'

To run the program:
### To run the program:

* Keep all the dictionaries in the same folder as the code files.
* Command: $ python 'code_file_name.py'

For part 2, run the code file 'inverted_index.py' and options are provided to run specific queries.
For part 3, run 'positional_indexing.py' and enter the phrase query (-1 to exit).

References:
### References:

https://nlp.stanford.edu/IR-book/html/htmledition/processing-boolean-queries-1.html
https://www.geeksforgeeks.org/python-intersection-two-lists/
Expand Down

0 comments on commit 64aec5c

Please sign in to comment.