Find rank proximity for given query in each document and show top results.
Given a folder with text file containing
- The quick or the brown fox
- jumped over sally
- and the brilliant bob fox
- but not the brown peter bunny
usage: ConjunctiveGramRank.py [-h] folder mgram nresults query
positional arguments: folder get documents from folder mgram get m-gram count nresults get result count query get query
options: -h, --help show this help message and exit
Example: python .\ConjunctiveGramRank.py hw1 4 5 "the_brown"