-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
30 lines (23 loc) · 1.2 KB
/
README
File metadata and controls
30 lines (23 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Parsing part
============
1-To run the proxy install python and python-twisted package. sudo apt-get install python-twisted
2-Run the following command after installing the attached proxy2.py script
python ./proxy &
3-The script will store the log in the same folder with the name log
4-Direct your firefox traffic through the proxy by configuring your network settings as the following
5-You can try getting the results by running
python ./parse PathToProxyLog/log PathToTMNLog/tmn_log.txt >> results.csv
The logic behind the merging method should be improved, but we can start with this version.
QueryDistance using DISCO
=========================
Pre-conditions:
1. A folder "inputs" with a file "queryFile.csv" in it. The "inputs" folder should be in the same folder as QueryRunnable.jar
2. "queryFile.csv" should be a comma separated file with no Header, in the format [QUERY,TYPE,TIME] where TYPE can take values 'U' or 'T'
Post-Conditions:
1. A "matrix.csv" is created in the same folder as "QueryRunnable.jar"
2. Any existing "matrix.csv" will be overwritten
Command-line arguments:
1. Location of the repository
2. -s or -s2
Example:
$java -jar QueryRunnable.jar /home/nikhil/cse509/en_wikipedia-20080101 -s