Contributors:
Anesu Chiodze
Shuijia Zhuo
How to compile and run:
Do "javac *.java" under src folder to compile the source code.
Type java search -BM25 -q -n -l -i -m -d -t <type-of-summary(1 or 2)> [-s ] [...] to search for the result.
-BM25 specifies that the BM25 similarity function is to be used. -q is an integer that identifies the current query. -n is an integer number specifying the number of top-ranked documents that should be returned as an answer. -l and -i are the inverted index lexicon and inverted list files; and -m is the mapping table from internal document numbers to actual document identifiers. -d is the latimes documents which for getting the document text for summary. For example, latimes-100 in local dist or latimes on server which is located at /home/inforet/a1/latimes. -t is the type of summary.1 is based on query-biased information, taking the user's query into account. 2 is include evidence other than the user's current query -s is an option that apply stopword into program. is the term for searching. Can add more words after follow by " ".